dependencies

CMake and CTest: How to make target "Nightly" actually build the tests

It's a well known problem that executing make "test" doesn't build the tests as discussed here. As suggested, the problem can be partly solved with the artificial target "check". I want to know how I can force building of tests when i call "make Nightly". What I've done so far: add_custom_target(buildtests) add_custom_target(check ...

Is there a RPM Spec section executed before file dependency check?

I'm trying to build an RPM that will install file dependencies if they don't exist. Is there an RPM Spec Section that will be executed before the RPM checks for dependencies. (I'm refering to file dependencies not package dependencies listed in the "Requires" header). Example: If I have a perl file and the execution permissions bit is s...

Is there a way to have JAR dependencies of a Netbeans project provided to another (dependent) project automatically?

Hi everybody, Assume the following project setup in Netbeans Project A depending on Project B depending on lib/projectBLib.jar In my current setup, I have to tell Project A that it depends on projectBLib.jar, otherwise it is not loaded. I would have expected Netbeans to handle dependency chains for me (as other IDEs do). So am I doing...

Describe the .NET assembly circular dependency problem in layman's terms

Please describe the .NET assembly compilation circular dependency problem in layman's terms, and whether other technologes have similar limitations. Note: This seems like a simple question, I know, but I have seen a number of real, significant projects that have totally broken dependency graphs. ...

What does Maven mean by: "Could not retrieve the target file name of dependency"

I have been Googling for the following warning when building a WAR, but can't find an explanation: [WARNING] Could not retrieve the target file name of dependency [Dependency {groupId=org.company.xml.jaxbtypes, artifactId=iJaxbtypes, version=1.0.2-SNAPSHOT, type=jar}] The dependency is resolved and everything works as expected, but W...

How to avoid recursive dependency properties

Hi friends: I have a class LineG inherited from a shape which will draw a simple line between two points.. I did that simply by adding two dependency properties StartPointProperty and EndPointProperty... Lastly I want to add another functionality which is MidPoint, so when I draw the line there will be a midPoint in the middle of the li...

How do I add external dependencies to an Eclipse Plugin Product definition?

I'm attempting to define an eclipse plugin product that includes bundles from Spring's Enterprise Bundle Repository and Eclipse's Zodiac repository. I've used Maven to download these repositories, but I can't figure out how to make the product editor aware of them. Ideally, I'd like to make the product editor aware of a list of maven ...

make deleting dependency files

I'm not sure if it's gmake or gcc that I don't understand here. I'm using the -MM and -MD options to generate dependency rules for the Unit Testing framework I'm using. Specifically: $(TEST_OBJ_DIR)/%.d: $(TEST_SRC_DIR)/%.cpp @$(CPPC) -MM -MD $< -o $@ @sed -i -e 's|\(.*\)\.o:|$(OBJ_DIR)/\1.o $(TEST_OBJ_DIR)/\1.d $(TEST_OBJ_DIR)/\1...

Building dependencies in Xcode 4

I have a project that has a dependency on a static library. In Xcode 3.2.3 the project that builds the library is setup as a direct dependency in the target settings so that the library is built whenever the main project is built. I can't for the life of me figure out how this is supposed to work in Xcode 4. I haven't changed any projec...

requiring msvcr80.dll and msvcr80d.dll in the same dll?

how can it be that a dll that i build here (in debug mode) tries to load msvcr80.dll and msvcr80d.dll ... i assume this leads then to a conflict as it can resolve the same symbols twice ... i have no idea why the dependency to msvcr80.dll comes in. according to dependency walker ouput the dependency comes directly from my dll and not vi...

Visual Studio 2008: How do I include project output as an embedded resource in another project?

I have two projects in one Visual Studio 2008 solution. I'd like to use the primary output from one of the projects as an embedded resource in the other, but for the life of me I can't find any way to accomplish this. If I simply add the output file as a resource, then it doesn't seem to change when its source project is rebuilt. I even...

how to get a dependency tree for an artifact?

dependency:tree can be used to see the dependency tree for a given project. But what I need is to see the dependency tree for a 3rd party artifact. I guess I can create an empty project, but I'm looking for something easier (I need to do this for several artifacts). ...

Maven: Aggregation vs. Dependency

I'm very new to Maven and am just now trying to set up my first project tree. I'm struggling to understand the difference between two alternatives: I have jar and war projects (two each) that i want to bundle. Traditionally I'd just create an ear project that has all four of them as dependencies. Now I read about the aggregation of pom...

Automatically choosing object files for compilation

I have recently begun writing unit tests (using GoogleTest) for a C++ project. Building the main project is fairly simple: I use GCC's -MM and -MD flags to automatically generate dependencies for my object files, then I link all of the object files together for the output executable. No surpirses. But as I'm writing unit tests, is the...

Satisfying Child View Model Dependencies

Hello, I'm building a master-detail form. The master view model constructs instances of the details view model. These details view models have several dependencies which need to be satisfied with new class instances. (This is because they need service layers that operate in a separate data context from the master vm.) What would be the...

How can i detect maven 2 jar dependencies ?

I added some jars as dependencies in pom.xml, but it seems that some of them are useless because those jars were already downloaded using dependencies mechanism... Is there a way to see those "built-in" dependencies, so that I could add only the needed dependencies in my pom.xml? For example if I add a hibernate dependency in pom.xml o...

C# Main project and child project references

Using Visual Studio 2008: Within the Solution there is a main project (Project1), within the same solution there are other projects (these projects are Excel 2007 Workbook templates). These other projects need to reference classes and objects within Project1, and Project1 needs to be able to access the Workbook projects. What I current...

SQL script to get ALL SQL dependencies on a SQL object

Hello, I have a HUMONGOUS legacy databases with thousands of objects. I really want to delete 113 tables, but I need to get a comprehensive list of the dependencies that would need to either modified or removed as well. Is there any way to do this? The "view dependencies" UI in SSMS is going to take way too long. What I am thinking ...

Maven confused about JRE been used.

First off, I'm new to Maven, hence my problem might have a simple solution. I've created a project in eclipse and added maven dependencies. In Eclipse, it says that I am using JRE 1.5. Everything works fine in Eclipse, for instance, I can run my tests. When I try to run mvn clean install from the terminal, it gives me the following er...

Makefile target depend on file from environment variable

hi, if I run make like this: make VAR=dir is there a way to add the location pointed by the VAR variable as a target dependency? actually, I need to define a file inside that directory as a dependency. I'd go with: target: $(VAR)/file.txt echo yes but if the variable was not defined, the target will understand /file.txt, which ...