dependencies

Strongly name three assemblies that reference each other

This is probably really easy, but I'm stumped (and I'm a noob with c#). I have 3 assemblies that reference each other (for example, registering for notification of a delegate method, or calling a public method), all of which compile fine until I try to sign them with a strong name. Then I can't compile any of them, since the other two ...

Designing a GPL library with weak dependencies on proprietary libs, best approaches?

Hello, I'm planning to write a C library which will act as an umbrella "wrapper" around several other libs. Some of the libraries will be GPL and some will be proprietary. Moreover, some of the libraries may not be available at compile time, so I plan to have autotools detect them during configure. I'm also wondering if I should buil...

WPF RadioButton selected in UI, but seen by code as IsChecked == false

I have some radio buttons in a group box. I select the buttons randomly, and all works perfectly from a visual standpoint and also the event handler is called each time a new button is selected. Now I have a dependency property with a callback when the value changes. When in this callback procedure I read the IsChecked value of any butt...

Specify DLLs for an exe launched with Process.Start?

I'm trying to launch an executable with Process.Start(). When the exe has no DLL dependencies, it works fine. However, when I need to include 2 DLLs, it doesn't work. I've tried setting the WorkingDirectory, and have verified that the 2 required DLLs are present there. Any ideas? ProcessStartInfo startInfo = new ProcessStartInfo(); ...

How to store dependency tree in a database?

I am trying to store a dependency tree in a PostgreSQL database. There are about 20,000 software items, each item can depend on several other items. There are several types of dependencies (some are run-time dependencies, some are build-time dependencies and some are test-dependencies). The dependency is recursive and each item only kn...

cyclic dependency between header files

I'm trying to implement a tree-like structure with two classes: Tree and Node. The problem is that from each class I want to call a function of the other class, so simple forward declarations are not enough. Let's see an example: Tree.h: #ifndef TREE_20100118 #define TREE_20100118 #include <vector> #include "Node.h" class Tree { ...

The container 'Maven Dependencies' references non existing library

Hi, I use SpringSource Tool Suite 2.3.0. Recently I added the commons-compress dependency to pom.xml as required by jackrabbit 2.0 dependency. Updating maven dependencies console shows: "Missing artifact org.apache.commons:commons-compress:jar:1.0:compile" I checked the Problems view and it shows the following error: The container 'Mav...

eclipse web project dependency

Hi everybody! i have one eclipse project(A) with a small spring application and another one with a web application using GWT (B). project A exports its ressources via build path / order and export. project B imports the ressources via build path / projects. eclipse adds the files to the build path and to the system class path of the r...

How to run the same testmethods while only changing the dependencies?

I have 5 testmethods that test the functionality of a PasswordManager object.I use the built in test engine of visual studio 2008. This manager can make use of two Dependencies: an XMLStorageManager or a DbStorageManager. The Dependency is set in the Passwordmanager's constructor. How can I run the tests twice with the only difference th...

Qt dependencies between projects

Hi All, I have several projects that are load together in QtCreator and they're not grouped under a unique project. I need to create dependencies between these modules and not only considering TARGETDEPS that checks only if the library is present in a directory. The dependency I request, practically it must emulate the user action in q...

How can ecl include asdf dependencies in an executable? (take 2)

This question was asked and answered by ayrnieu at http://stackoverflow.com/questions/580083/how-can-ecl-include-asdf-dependencies-in-an-executable But the example code he linked to does not actually involve any dependencies. I've tried copying the model in the stumpwm code he refers to but I can't get it to work. He are my files. -...

How to get version of python dependencies/modules, including external applications called via subprocess.Popen?

I have a set of python scripts that I run frequently on different machines that depend on a few external libraries as well as some other applications spawned via subprocess.Popen. As expected depending on the version of the installed modules and applications the output varies. To address this I would like to keep track of which versions...

Flash Dependency Checking?

So I've been working on some Flash stuff for a client, and we're recently moving everything into a svn repo, so I need to get all of the class files to be included in the repo. The issue I'm having is that I usually am the only one working on flash stuff, and this project is a little old, so I'm not absolutely sure which class files are...

How do I stop Maven 2.x from trying to retrieve non-existent pom.xml files for dependencies every build?

In my project, there are a number of dependencies that are transitively included from other dependencies that do not have pom.xml files available in any of our corporate repositories. These are internal jar-only libraries supported by various teams which have been uploaded into repositories for convenience from non-Maven teams, however t...

How can I make an RPM depend on package a OR package b?

This seems like a simple question, but the docs don't seem to have anything to say on the subject. I would like to do something like Requires: vim or emacs but when I do that, I in fact depend on vim, or and emacs. What is the syntax for depending on one or another of two packages? ...

Bundling different java classes in a single jar files in a single jar

basically what I have is an application server running liferay portal. and we also have custom portlets that have shared custom libraries as well as third party ones. for instance dwr-3.0, several drools jar files, spring-webmvc, spring, etc. the problem is that is a nightmare for server administration, because when there is a deploy so...

Dependent MySQL SELECT

My problem is the following: My tables are MESSAGE and MESSAGE_COMMENT, MESSAGE (id,content) MESSAGE_COMMENT (id, message_id, content) I need to select all messages and max 3 comments for each message, like in this example: type | id | content M 15 "this is a message with no comments" M 16 "this is another message wit...

maven snapshot updates

I have a maven project with a snapshot dependency. How does maven know if the snapshot needs to be updated? Does it always update? Is it time based? A checksum based update? I know I can force an update but otherwise, how does it check? thanks, Jeff ...

Java dependency

Hi All, I am looking for a small package in java that can extract all the class hierarchy and dependencies. I think I have to dig AST for this purpose but I am looking for a package that i can use for my application. ( don't want to re-invent the wheel ) Thanks ! ...

Add new resource to existing ResourceCollection (path) in ANT build script

I've got a build script that builds multiple components and jars them up. I currently build a path like so: <path id="project.class.basepath"> <fileset dir="${lib.dir}"> <include name="**/*.jar" /> </fileset> <fileset dir="${path.to.base}/components"> <include name="*/build/lib/*.jar" /> </fileset> </path> ...