dependencies

Why would a DLL fail to load from one part of the dependency graph but not others?

Consider the following DLL dependency graph (snipped from within Dependency Walker): How is it that MSVCR80 can be found at the top level but not from within MSVCP80? I realize that in theory MSVCP80 could have a broken manifest, but since it's built by Microsoft, I haven't touched it, and it works fine in other projects, let's assum...

SqlDependencies - When using a Stored Procedure as command, how do I specify input parameters

When using the folllwing to create the command: _command = new SqlCommand(statementOrProcedure, _connection) { CommandType = CommandType.StoredProcedure }; and the stored procedure requires no input parameters, it works fine. As soon as the stored proc needs input parameters, I do the following: private void AddStoredProcedureParame...

What is the best practice for including third party jar files in a Java program?

I have a program that needs several third-party libraries, and at the moment it is packaged like so: zerobot.jar (my file) libs/pircbot.jar libs/mysql-connector-java-5.1.10-bin.jar libs/c3p0-0.9.1.2.jar As far as I know the "best" way to handle third-party libs is to put them on the classpath in the manifest of my jar file, which wil...

How to detect unused maven dependencies

Hi, I have a maven project that was generated by Spring Roo. Now I am not sure whether I need all of its dependencies. Is there a tool to automate the process of detecting stale dependencies? ...

WPF C# how to create THIS binding in code?

I wonder, how to create this binding, since Line.X2 IS NOT dependency property! :( <Line Y1="0" X1="0" Y2="0" Stroke="Blue" StrokeThickness="3" Margin="0 -2 0 -2" X2="{Binding Path=RenderSize.Width, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type StackPanel}}}"/> ...

C# Putting the required DLLs somewhere other than the root of the output

I am using EmguCV for a project and when our program runs it needs some dlls like "cxcore.dll" etc. (or it throws runtime exceptions). At the moment, I put the files in the root of the output folder (selected "Copy Always" in the file's properties in Visual Studio). However it looks a bit messy, to have about 10 different dlls just ther...

gem2rpm includes all dependencies instead of including only runtime dependencies

Version 0.6.0 of gem2rpm includes all (development and runtime) dependencies for a given Gem. Example: Rack Gem (http://rubygems.org/gems/rack) Version 1.1.0 has no runtime dependencies, but six development dependencies. Console output of gem2rpm --dependencies rack-1.0.1.gem is: rubygem(test-spec) >= 0 rubygem(camping) >= 0 rubygem(...

Custom Grails plugin dependency

I have a custom grails plugin I m trying to develop and set this def dependsOn = [dataSource: "1.0"] in the Plugin script. Now, my custom plugin loads just fine but I dont see tomcat installed in my application. How does one install a dependency plugin (prompt the user to say yes/no)? Is this even possible? ...

Dependency propery Binding Problem

Main WINDOW <Window x:Class="dep2.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:dep2" Title="Window1" Height="300" Width="381"> <Grid> <local:UserControl1></local:UserControl1> <Button He...

Jar dependencies to use jetty httpclient

Hi all, I want to use the jetty httpclient(in netbeans) but have the least number of jar dependencies. I know I can import all jars from the jetty lib folder to my project but I would like to know what the minimum number of dependencies are and how you did find this out? Our there tools to find jar dependencies? ...

read property file from a dependent project with maven

Hi, I have an issue when reading properties from a dependent project. I have a core project, and my application has a dependency on it. under classpath of core, it has file core.properties. and my application need to read this property file, but it couldn't. It requires the core.properties in my classpath of my application, instead ...

Create UserControl DependencyProperty of which value can be chosen in dropdown list (as combo box)

Hello everybody, I'm a starter at WPF, now i would like to make a WPF userControl library which include a Rating bar userControl. All the steps of creating the rating Bar has been done, however i would like to add a property RatingValue: public static readonly DependencyProperty RatingValueProperty = DependencyProperty.Regi...

How do I change the file extension for dependencies

I'm building a program that uses Delphi Packages (BPLs) as plugins, but I'd like to use a custom extension to show that the files have a specific purpose instead of just being BPLs. That works well enough until I end up with one package having a dependency on another. Then the compiler automatically creates the binary with the extensio...

Makefile automatic link dependency ?

It's easy to let program figure out the dependency at compile time, (with gcc -MM). Nevertheless, link dependency (deciding which libraries should be linked to) seems to be difficult to figure out. This issue become emergent when multiple targets with individual libraries to link to are needed. For instance, three dynamic library target...

Eliminating false dependencies

Hi all, I have a quite general question regarding false dependencies. As the name implies, these are not real dependencies and can be eliminated. I am aware of the technique called register renaming that eliminates such dependencies at a hardware level. Of course I could eliminate these beforehand at a "higher" level when writing assemb...

How to export all dependency external libraries into a folder in eclipse automatically

I want to copy all external dependency libraries to a directory, but I don't want to do this job manually, since there are quite lot of libraries. I wonder if there is a way to let the eclipse do it for me automatically. ...

Windows Services dependencies on shutdown?

Hello everyone I have a Windows Server 2003 and I have a windows service A which depends on a second service B. Service A is created by me, and service B is SQL Server 2008, so my service needs to save data into the database using SQL Server when Windows is shutting down. The problem is that sometimes, SQL Server is killed before my ser...

Integrating a C project in the iPhone SDK

Hello, This is my first time doing this sort of project so apologies if the question is silly. I've got a question about using a C project with a project in the iPhone SDK. I've dragged and dropped the C project into the iPhone project in Xcode (so it appears in the screenshot below). sjeng.h is a file inside GameEngine.xcodeproj, but...

How to find unneccesary dependencies in a maven multi-project?

If you are developing a large evolving multi module maven project it seems inevitable that there are some dependencies given in the poms that are unneccesary, since they are transitively included by other dependencies. For example this happens if you have a module A that originally includes C. Later you refactor and have A depend on a mo...

Ant: project dependencies in a flat project layout with ivy

Hello, I have two (Eclipse-) projects. Project A depends on project B, but the projects aren't nested i.e. project A is not a subproject of project B. Apache Ivy is responsible for the dependency management. When I run the compile task in Project A, is there any way to trigger the compile task (in project B) automatically (for example ...