dependencies

maven-camel build problem

I have a simple application using netbeans for developing and maven for building et all. My application uses camel , spring XML configured. I wanted to build an executable jar with dependencies so i am using the maven-assembly plugin with 'jar-with-deps' descriptor. The jar is built ok but I think that since all the dependencies get unw...

Tool to determine symbol origin in C

I'm looking for a tool that, given a bit of C, will tell you what symbols (types, precompiler definitions, functions, etc) are used from a given header file. I'm doing a port of a large driver from Solaris to Windows and figuring out where things are coming from is getting to be difficult, so this would be a huge help. Any ideas? Edit...

maven for .net

what do people use instead of maven for C# winforms projects. We have developers all over the world and are trying to come up with some dependency management system that is clean simple and fast ...

Sql cache dependency using EntLib caching block

how to implement sql cache dependency using Enterprise library application block? ...

Circular Dependencies in Ruby

Let's say we have two classes, Foo and Foo Sub, each in a different file, foo.rb and foo_sub.rb respectively. foo.rb: require "foo_sub" class Foo def foo FooSub.SOME_CONSTANT end end foo_sub.rb: require "foo" class FooSub < Foo SOME_CONSTANT = 1 end This isn't going to work due to the circular dependency - we c...

Add a dependency in Maven

How do I take a jar file that I have and add it to the dependency system in maven 2? I will be the maintainer of this dependency and my code needs this jar in the class path so that it will compile. ...

What is the best way to check that external applications are available?

I have an application which had optional extras depending on if the user has the software installed. On Linux what is the best way to determine if something like python and PyUsb is installed? I am developing a C++ Qt application if that helps. ...

Can you create a "superset" target in Xcode ?

For the purposes of unit testing I'd like to create an iPhone project target in Xcode that includes all of the release application files, plus some additional files containing code useful for UI unit testing. I can do this by duplicating the original application target; however, the problem with this is that every time I add a new sourc...

Including a VB project within a VC++ project

I'm looking for some help with a dependency issue. In a nutshell, I've included a makefile project within a larger VC++ workspace, but the sub-project always rebuilds, even when it's not necessary. The Details I've inherited a large project that consists of several different modules, including a (primary) Visual C++ 6.0 executable and...

Why is Visual Studios Installer not picking up dependencies

I'm using Visual Studio 2005. I have a program written in C#. When I create the installer and then add the primary output, it's not picking up any dependencies. Not even .Net. Anybody have any ideas? ...

How do you track down dependencies for ASP.NET Web Site?

The dynamic compile-on-the fly approach seems to fall outside the capacity for the typical tools which would extract this kind of information. I know I may be better off converting to a Web Application, BUT I would like to ask how it could be done in the case of a Web Site Project. ...

Framework + Client Code references

Hi, We are simultaniously working on a base-framework and on a implementation (little test tool) on top of it. There are several things I'd like, and I am wondering if they are all possible: (.NET 3.5, VS2008) Have a .sln with only the implementation (tool) - project Have a .sln with tool + framework projects Have a .sln with only f...

How to programmatically get DLL dependencies

How can I get the list of all DLL dependencies of a given DLL or EXE file? In other words, I'd like to do the same as the "Dependency walker" tool, but programmatically. What is the Windows (ideally .NET) API for that? ...

What's the best way to cache data in a C# dll?

I've written a DLL that may be used in a number of ways (referenced by ASP.NET web sites, WinForms, etc.). It needs to load its data from several delimited files that will be automatically updated on a semi-regular basis. For performance reasons, I'm loading the data into a static object (a generic List), and only want to go back to th...

Create Instance from assembly and its dependencies in C#

I have an app (let's just call it MyApp) that dynamically creates source code for a class and then compiles it. When it compiles the source code I also reference another DLL (that is the base class for this newly created class) that already exists in another folder. I do the following to compile and output the DLL: //Create a C# code pr...

How to determine which classes are used by a Java program?

Is there any tool that lists which and when some classes are effectively used by an app or, even-better, automatically trims JAR libraries to only provide classes that are both referenced and used? ...

Solution with mulitple projects dependant on the same binary reference

I have a solution with 10 projects. Many of the project depend on a third party dll call foo.dll. The issue is that when i upgrade foo, somehow in Visual studio when i go to object browser it shows me 2 versions of foo.dll how can i find out which project is referencing the old version of foo.dll so i can upgrade it so there is only on...

How do you figure out with Eclipse which JARs depend on which one?

I've trying to use Eclipse JDT AST parsing classes. After including the initial JAR, and sorting out a couple more dependencies, it is with 7+ JARs and I still having NoClassDefFoundError exceptions. This situation arises whenever I'm trying to test libraries with little or no documentation. Trial and error seems a very dumb (and annoyin...

Ivy: how do I remove transitive dependencies ?

I'm using Ivy to manage the dependencies on my project. So far, I've specified a dependency on Hibernate and servlet-api. However, the hibernate jar itself has a lot of dependencies that aren't really needed, such as jaas and jacc. This becomes a show-stopper because jaas and jaac are Sun libraries and therefore their licenses forbid t...

Discovering Interface Dependencies

I have taken over maintenance of a very large (>2M SLOC) software project, all written in C#. There is very little documentation. I am now wanting to make a change to a module that has public interfaces (about 400), but I don't know what all other modules (there are about 50 total) in the solution may be using this public interface. H...