dependencies

m2eclipse : Maven dependencies as JAR's not projects

I'm having maven project on Eclipse with m2eclipse plugin. This project has some dependencies. Some of them are libraries as slf4j, apache-commons etc. But there are also mine libraries, that I'm developing simultaneously in eclipse. Unfortunately m2eclipse creates build path in such a way that my libraries are added to the classpath not...

VS2005 rebuilds .NET/CLI projects on implementation detail changes in .cpp files

My solution consists of several native, C++/CLI wrapper and managed libraries/assemblies. The wrapper projects are referencing different native DLL-projects. Every time i change an implementation detail in a .cpp file of a native dependency, all CLI/.NET projects are rebuilt (not just linked, but recompiled). This also happens in the Deb...

How to filter resource in Maven, replacing with a dependencies artifactId?

I'm trying to build a jar that has an xml file as a resource. I'd like to apply a filter to that xml to insert the name of a dependency into the xml. The filtering is working, because I was able to drop in ${project.build.finalName} and get it replaced. I found one hint that the property I'm looking for might be ${project.dependenci...

How do I shut up make when it doesn't need to do anything?

How I stop make from saying make: Nothing to be done for 'all'. or make: 'file' is up to date? I'd like my build to be silent when it's not doing anything - there are other places where echo is called to track build progress, so this message is just cluttering things up. I am currently silencing it like this: all: dependency1 dependen...

How do I drop a column with object dependencies in SQL Server 2008?

The error message I'm obtaining when trying to drop a column: The object 'defEmptyString' is dependent on column 'fkKeywordRolleKontakt'. Msg 5074, Level 16, State 1, Line 43 ALTER TABLE DROP COLUMN fkKeywordRolleKontakt failed because one or more objects access this column. I have already tried to find the default constr...

Why Spring 3 needs explicit cglib dependency declaration when using Maven ?

Hello, I'm using spring 3 and maven. I've defined all spring modules in my pom.xml. When I use <aop:scoped-proxy /> annotation, I've got an error saying that cglib is missing. Well... I add cglib dependency in my pom and all runs... I'm a little confuse... Maven is a dependency manager... Why it does not download the cglib when I us...

Create JAR file without including external dependencies

Is it possible to create a JAR file that requires external dependencies without including those dependencies in the JAR file? My google-fu has failed to give me an answer; everything that I have found shows how to include them in the JAR file, but not what to put in the manifest file to say "I haven't got them, look in the user's class...

How can I get a visual representation of my solution's dependency chain and member hooks?

I've been tasked with researching some .NET code that isn't mine. It's a little hard to figure out because there are so many hooks in different areas. In other words, everything seems to be very highly coupled. I'd like to be able to do the following: Very easily see a hierarchical (tree) view of projects and their direct dependencies...

Can I unpack Perl dependencies to the local tree (like Ruby on Rails)?

I'm integrating with some existing, "legacy" Perl code for my current project. I'm downloading some libraries via CPAN to use in a Perl script, but I would like to avoid having all the other developers/users install these libraries manually. Taking a page from my Ruby/Rails background, I thought it might be possible to "unpack" the dep...

How can I add source code to my dependency libraries in Maven?

For instance, I have included into my dependencies junit-addons : junit-addons. But in the maven repository there isn't any source code. And I know it exists (I have downloaded it). How can I modify the dependencies in order to use libraries from my local project instead from the maven repository (I would omit the junit-addons from the r...

Spring 3.0.0 dependencies download with Maven

I'm just transitioning from .NET to JAVA and have to start JAVA project with Spring 3.0.0. and Hibernate. Can someone please explain to me step_by_step how to download spring dependencies with Maven. I just spent whole day with absolutely no success. PS. I have Java 1.5.06 and have already downloaded spring (with no dependencies) and i...

How to select the version of the VC 2008 DLLs the application should be linked to?

I'm using Visual Studio 2008 SP1 for C++. When compiling, Visual Studio needs to choose against which version of the CRT and MFC DLLs the application should be linked, version 9.0.21022.8 (= RTM), 9.0.30729.17 (= SP1) or 9.0.30729.4148 (= SP1 with security update). I'd like to know how you can choose which of both versions will be linked...

GNU autotools include file dependency tracking (.deps directories) for CUDA

I am using GNU autotools to build cuda project. CUDA files are regular C++ files as far as preprocessor is concerned, however they use .cu extension and must use nvcc compiler which is g++ based NVIDIA compiler. This breaks regular dependency tracking, .deps directories are not populated. This means that if .cu file includes another f...

ASP.NET CacheDependency out of ThreadPool

In an async http handler, we add items to the ASP.NET cache, with dependencies on some files. If the async method executes on a thread from the ThreadPool, all is fine: AsyncResult result = new AsyncResult(context, cb, extraData); ThreadPool.QueueUserWorkItem(new WaitCallBack(DoProcessRequest), result); But as soon as we try to execut...

Maven and db4o dependency

I'm intrigued to test new frameworks in the Java world, and decided to create a new project that takes advantage of Maven and db4o. I'm starting to get a hang of Maven, but I have a hard time adding db4o as a dependency to the project. First problem is that db4o doesn't exist in the official Maven repositories. Next up comes the problem ...

How to select against which version of the Visual C++ libraries the application is compiled?

I'm using Visual Studio 2008 for C++. When compiling, Visual Studio compiles against the header files of the VC 9.0 libraries. However, there are different versions of this library available: v9.0.21022.8 (= RTM) v9.0.30729.17 (= SP1) v9.0.30729.4148 (= SP1 with security update) I'd like to know whether it is possible to tell Visual...

Remove dependancy constants from enum definition

I am trying to safely remove a dependency from my project by using opaque structures and forward declarations but like most I am still stuck on my enums. The header file dependency I am trying to remove from my header files has defined constants that I want to set my enumeration's values to. Something like this // depends header #defi...

Unity performance considerations with container controlled lifetime - Is there any reflection lag with multiple Resolve<T>() calls?

Is there any reflection performance considerations when repeatedly calling container.Resolve<T>() when a resolution has already been established? I'm using it in an MVC controller to resolve my data service, so it will be called on every HTTP request. I'm storing the container instance in Application state, and I'm using container contr...

[Dependency walker] Some terminologies to clarify

Hi guys: What delay-load dependencies\functions are meant for in the following document? http://www.dependencywalker.com/faq.html Thanks ...

[.NET] Assemblies or files cannot be loaded when launching a exec

Hi folks: I meet following exception when I copy the whole program directoy to another machine. Which tools can I employ to debug it? Thank you. Unhandled Exception: System.TypeInitializationException: The type initializer fo r 'SomeClass' threw an exceptio n. ---> System.IO.FileLoadException: Could not load file or assembly 'SomeAssem...