dependency-management

Does something like Sprocket exist for Java

Sprocket is a Ruby library for managing JavaScript dependencies. It makes it possible to declare dependencies in specially formatted comments in the JavaScript files, and have all the required files concatenated server side. (Read more here: http://getsprockets.org/) Where I work, we have a real need for such a framework, but it has to...

How to handle major framework/dependency upgrades?

Looking for some best practices on handling a major dependency upgrades within a project, assuming the use of a dependency management tool(e.g., Maven 2). Specifically, I'm interested in: How to get an inherited application up-to-date(e.g., Spring 1.2.x to 2.5.x) What practices can be put into place to after such an overhaul to keep a...

Javascript Buildmanagement - "Must have" tools?

Are there any must have tools for Java Script (RIA) development like maven, jUnit, Emma, link4j etc. for Javascript? What is the best way to set up a continous integration system for a bigger application or framework? How do projects like jQuery test their code? How to manage dependencies and different project configurations? tools i kn...

What are the CS fundamentals behind package/dependency management?

Often I hear about situations where companies are developing extensable in house software (the dreaded enterprise 'framework') which is supposed to support multiple 'plugins' from diffirent teams. Usually this ends up being a half baked solution that does not really work due to compatibility prolems between addins, or between addins and ...

Two objects with dependencies for each other. Is that bad?

Hi SO. I am learning a lot about design patterns when I am building my own system for my projects. And I want to ask you about a design question that I can't find an answer to. Currently I am building a little Chat-server using sockets, with multiple Clients. Right now I have three classes: Person-class which holds information like n...

Using Maven to build JAR from source in Subversion trunk

There's a Java library that I would like to use in my project. My project uses Maven to pull in dependencies and it works great for everything except this one library. The problem is, this library never has releases. The author maintains the source in a Subversion repository and only makes changes in trunk. Is there a way I can tell ...

Managing Java dependencies in a Grails application?

I'm trying to adopt my development from Spring/Maven2/Tomcat -> Grails, and I'm wondering if there's an easy way to manage dependencies in grails separate from maven. Maven does a lot of the magic that grails is doing automatically (unit testing/building/etc.), so I wonder if there's a need for maven at all in grails projects. So, then,...

Grails - attempting to include HTPPBuilder - Linkage error

When I run grails install-dependency, I get this. java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/xml/sax/SAXParseException" What's wrong? I've not used grails dependency management before, and this is rather cryptic. reposi...

hunting maven dependencies

I want to start using maven in code I distribute but I can't find an efficient way to work with dependencies. Every new dependency takes me far too long to add. As a simple example, I need to add Tomcat for compilation. Do I really have to manually trawl the repo in my browser to find the group-id, artifact-id and version number? In ev...

Timing related crash when unloading a DLL?

I know I'm reaching for straws here, but this one is a mystery... any pointers or help would be most welcome, so I'm appealing to those more intelligent than I: We have a crash exhibited in our release binaries only. The crash takes place as the binary is bringing itself down and terminating sub-libraries upon which it depends. Its abil...

Checking that all libs and dlls are from the same build?

I am developing a program in VS C++ 2008. Right now, I have a huge list of dll and lib dependencies and I am adding some more. I worry that when I need to update a dependency by building from source (where I have to manually replace built dlls and libs in the correct place), if I accidently forgot to replace something or vice versa, I m...

Declarative dependency handling for multi-module source projects in version-control.

We have a number of products that consist of a large number of modules, some of which are shared between some of the products. They are spread out over a few version control repositories. Products are built by master Ant scripts that are responsible for checking out all modules and building them in the correct order. The modules don't h...

Get ivy:retrieve to not copy a jar into two configurations?

I'm trying to set up my ant build so that the targets which run Ivy functions are completely separated from the ones that the continuous build and most developers run. I want one target to download updated dependencies, which I'll check in. Other targets will set up their classpath by including *.jar from the relevant directory. I hav...

Could not load type '<typename>' from assembly '<assemblyname>'.

I decided to modify some code today, and encountered an error that doesn't make any sense to me. I have an interface called IDatabase and a class that inherits from it, called Database. I originally just put IDatabase in the same assembly as Database, but I didn't like this because it would prevent another person from creating a new ty...

How to use Grails Dependency cache in IDE?

Is there a way to use the ivy cache grails dependency DSL creates within an IDE like eclipse or netbeans? Or must I manually add all dependencies to the IDE lib folder? I've looked into plugins like ivybeans and ivyde, but they seem to require ivy.xml and ivysettings.xml files, which grails does not produce. ...

JavaScript dependency management

Hi all I am currently maintaining a large number of JS files and the dependency issue is growing over my head. Right now I have each function in a separate file and I manually maintain a database to work out the dependencies between functions. This I would like to automate. For instance if I have the function f Array.prototype.f = fun...

Managing internal 3rd Party Dependencies

We have a lot of different solutions/projects which are managed by different teams. Our solution needs to reference several projects that another team owns. We don't want to add these dependencies as project references because we do not intend on modifying that code, we just want to use it. Also we already have quite a bit of projects in...

Maven2 sharing dependencies across parent and children (without redeclaring dependencies in children).

With maven1 I was using the extend tag to tell my children project to use their parent configuration. All dependencies declared in the parent were available in extending (children) projects. Now with maven2 I'm using the inheritance/composition feature and I have to redeclare my dependencies (minus the version number) in every child pr...

In Gradle, How do ignore the cache for a local ivy repository?

In my Gradle script (version 0.8), I have a local ivy repository which I use to publish a library, and I can't seem to get Gradle to ignore its cache. I'm accessing the local ivy repo. based on the recommendation in the Gradle manual. Here's there relevant code (with some variables renamed). dependencies{ // [several remote dependen...

How do I get Ivy to copy the dependencies to the lib directory when using it from the command line?

I have the following command: java -jar ...\ivy-2.2.0-rc1.jar -ivy ...\ivy.xml Which I am expecting to resolve the dependencies and copy them to the lib folder of my project. Ivy seems to resolve the dependencies but does not do the copy. If I run the ant task the copy happens correctly. Does anyone know why the copy to lib does no...