dependencies

Create a subset of a Java Eclipse project based on dependencies of one source file

I have a library Eclipse project/workspace containing functionality that is occasionally delivered to a customer. We're all researchers so this is done very informally; I make a JAR and a Word file with documentation, and send it to them. I prefer to send them a JAR file that only contains what they actually need, to simplify things. ...

How to express inter project dependencies in Eclipse PDE

I am looking for the best practice of handling inter project dependencies between mixed project types where some of the projects are eclipse plug-in/OSGI bundle projects (an RCP application) and others are just plain old java projects (web services modules). Few of the eclipse plug-ins have dependencies on Java projects. My problem is t...

Java Minimize Dependencies

I have a situation where there is a small piece of Java code that has a large number of jars that it depends on. However, the dependencies inside these jars are very shallow. In most cases it only depends on a jar for a single interface. Instead of distributing all of the jars with the application, I would like to just distribute the sp...

How to stop Visual Studio adding assemblies to my web.config?

Every time i build, or publish, a web-site, Visual Studio attempts to check out the web.config file so that it can add numerous assemblies that are not required. In other words: web.config before: <configuration> <system.web> <compilation> <assemblies> </assemblies> </compilation> </system.web> </co...

C: Inclusions within Headers

If I have the following: /* * example.h */ #ifndef EXAMPLE #define EXAMPLE #include <stdio.h> extern int parse_string(FILE *, char const*, const unsigned int); #endif Will this mean that code that uses ... #include example.h ... won't have to ... #include example.h's ... dependencies ? ( ie: #include <stdio.h> ) ...

Is there a tool for .Net that creates a programme / dependency flow chart from IL / source?

I am trying to see how a bunch of .Net functions are used throughout a very large project and I would like to visually chart them so I can see the flow from / to each function. There are only a few functions I want to track so it is not an exhaustive view. Thanks Ryan ...

Dealing with optional dependencies (C#)

We have an app which optionally integrates with TFS, however as the integration is optional I obviously dont want to have all machine need the TFS assemblies as a requirement. What should I do? Is it ok for me to reference the TFS libraries in my main assemblies and just make sure that I only reference TFS related objects when I'm usi...

both project dependencies and link-against-binary available in same VS2008 solution?

Hi, In Visual Studio 2008, I have a c# app, that depends on multiple other projects. I want to deploy to customers: 1) binaries only - I use an installer project for that 2) binaries only, but the top level app as source code (for customer's integration purposes) For 1) I need the app project to have dependencies on the other projects ...

How to make MSBuild to automatically copy all indirect references to output (bin) folder

Subj. "Automatically" is essential here. References from GAC must not be copied. I've seen e.g. VS2008.NET: Getting a referenced project’s dependencies to copy to main project’s bin folder, and this isn't interesting for me. I'd like all the dependencies get copied automatically. ...

Getting JSON from Jersey with circular dependencies

Hi I am writing a service that uses Jersey and JAXB. My classes are annotated with @XMLRootElement, @XMLElement, etc. I have a circular dependency between two classes, so I have annotated the circular dependent property with @XMLTransient. So when I call my service I get xml as the default, which works perfectly. However, when I try usi...

spring ioc and JSR168 Portlets

Is it possible to do dependency injection using spring into a jsr168 Portlet? ...

Creating/Accessing Maven repository in SVN through NetBeans 6.7 *Revised*

EDIT: Ok... so I've gathered that SVN shouldn't really be used for this... which makes sense, I suppose (why version individual files when the version should be a separate jar?). So we should use an internal server to host a repository management tool like Nexus (etc), and access that over http to pull down and put out dependencies. We ...

Large Java System Dependency Management

We have a large (>500,000 LOC) Java system that depends on 40-50 OSS packages. The system is built with Ant, and dependency management is handled manually at present. I'm investigating Ivy and/or Maven to automate dependencies. We looked at Maven as a build automation system last year and rejected it because it would require totally r...

Xcode dependencies across different build directories?

I am trying to set up Xcode for a project which contains multiple executables and static libraries. I have created multiple targets and set up the linking and dependencies, and initially everything works great. The catch... This is an existing project which already has Visual Studio and Makefile builds. Those builds put the libraries in...

minimal build dependency tree

Hello, I'm currently using an IDE which builds c++ projects for several platforms (win32, windows mobile, symbian etc). This IDE doesn't keep a build dependency list and simply rebuilds the entire project every time. This wastes a lot of our time, which made us consider implementing a smarter build process: cpp files will be recompiled o...

Tint2 Compilation

I'm on a network where I don't have root access, so everything I install is under a prefix ~/bin (actually referenced by its full path). So I have openbox working fine, which is what I'm using to send this from. Imlib2 I do ./configure --prefix=~/bin; make; make install. Then I run from the tint2 source directory IMLIB2_CFLAGS=-i~/bin/i...

Collect Windows service dependencies

Hey folks I've recently written a Windows service and installed it on the production system. After some applied Windows updates, the server had to be rebooted and my service did not load correctly, although it was set to start automatically. The service started fine manually after we were noticed of the failure by customers. After some ...

Use Ivy to manage directories instead of jar files?

Is it possible to use Ivy, or some other dependency-management tool, if your dependencies are directories instead of files? I'm creating a PHP web site, so my shared "libraries" aren't jar files or any other archive format. I'm aware of .phar files in PHP 5.3, but I really would prefer these to be directories, so the web server can serv...

java: implementation of topological sort, from a reputable source

I'm looking for a reputable Java implementation of a topological sort, given a directed graph of dependencies (node #7 depends on node #2, node #2 depends on note #4, etc.), that will detect the presence of a cycle so I can report an error if a cycle occurs. I assume Apache ant has to do this so I'm hoping I could just make use of it, b...

How do I install Perl script dependencies?

I have several scripts that I supply to users as tools for their engineering projects. These scripts contain a lot of duplicated code. I want to extract this code and maintain it in a set of modules. However, in order for this to work, the users would have to install these modules. I don't want to have to tell my users to "make install",...