dependencies

Dependency map more Java classes and methods

I have a Java project that I've been working on for a while. The design started out pretty good but slowly degraded as changes were made. I'm looking for some sort of tool that will analyze the project. It'd be really nice to have a map of the dependencies of different classes/methods. I feel like certain methods are only in there to...

Maven jetty download dependencies

Hi, Why does every time I do "mvn jetty:run", maven tries to download some dependencies (apache poi and ojdbc jars) ? How can I disable this? [INFO] Scanning for projects.. [INFO] Searching repository for plugin with prefix: 'jetty'. [INFO] ------------------------------------------------------------------------ [INFO] Building inf...

Makefile Build Directory and dependencies list

Hello, In a makefile, I build all my .o files in a build directory: program: class1.o class2.o class3.o g++ $(BUILDDIR)class1.o $(BUILDDIR)class2.o $(BUILDDIR)class3.o -o $@ It would be cool to generate $(BUILDDIR)class1.o $(BUILDDIR)class2.o $(BUILDDIR)class3.o from the dependencies list... I know that $^ would give me the list...

Measuring Class Dependencies

I want to measure dependencies between classes - what's the best approach and tools to use? I'm working in MS .Net Text based information / reports are OK, but I'd prefer something visual. Open source tool would be ideal. ...

Creating a directed acyclic graph out of recursive nmake makefile?

Hello, As an exercise and in an effort to (better understand|help other people better understand) the build process at my company, I am hoping to create a directed acyclic graph of the build process. The current build process at my work is, as I understand, is essentially running nmake on a makefil at the root build directory. This m...

maven prevent denpendency compile

I have a custom jar which including java sources; Maven tries to compile when it builds. How do I skip source compile in the jar file? I have tried such as exclude with some pattern in the compiler-plug in and source directory define but I have not get any luck. Thanks! C05 ...

Which PHP files are used and which are not

Hello, I got a large PHP website which Im now about to take care of. It contains hundreds of separate PHP files, but I suspect only less than a half is really being used. Most of them probably can be deleted. But the last thing I really want to do is going through the code of each file and check whether its linked, included, required.....

Makefile, header dependencies

Let's say I have a makefile with the rule %.o: %.c gcc -Wall -Iinclude ... I want *.o to be rebuilt whenever a header file changes. Rather than work out a list of dependencies, whenever any header file in /include changes, then all objects in the dir must be rebuilt. I can't think of a nice way to change the rule to accomodate this...

Javascript object dependencies

In complex client side projects, the number of Javascript files can get very large. However, for performance reasons it's good to concatenate these files, and compress the resulting file for sending over the wire. I am having problems in concatenating these as the dependencies are included after they are needed in some cases. For instan...

How to prevent double inclusion of a .lib when inheriting dependencies?

Hello, I'm working to a Visual C++ 2008 project which needs two libraries (A and B), both of them are compiled using a a particular .lib (C). When I compile my project I'm asked for C again, and thus I specify it in the additional libraries. Then everything goes ok until the linking phase, where I get errors for external symbols which ar...

How to extend an 'unloadable' Rails plugin?

I'm trying to write a plugin that will extend InheritedResources. Specifically I want to rewrite some default helpers. And I'd like it to "just work" once installed, w/o any changes to application code. The functionality is provided in a module which needs to be included in a right place. The question is where? :) The first attempt w...

Best Practices for Source Control Dependencies

How do you handle source control setup of a non-compiled project that has dependency on a separate framework or library? For example, Project A uses Framework B. Should Project A also include the code from Framework B in its repository? Is there a way for it to be included automatically from a different repository or would I have to upda...

Solving the multiple CRT problem

I know there are a few similar questions, but I don't think they really have the same requirements as mine. Our DLL is compiled with Visual Studio 2005 and must link with a specific version of the CRT, due to installation constraints. This is absolute, recompiling it with the latest version is not a solution. We recently updated our Bo...

How to only pay the dependency penalty for the implementation you use in Python?

I have a fairly simple set of functionality for which I have multiple implementations, e.g., a datastore that could be backed by Redis, MongoDB, or PostgreSQL. How should I structure/write my code so that code that wants to use one of these implementations only needs the dependencies for that implementation, e.g., they don't need to have...

Problem identifying moss features from GUIDS

We are using a site definition and it has 3 feature dependencies that we are struggling to identify: <ActivationDependency FeatureId="7EDD3C9C-8AC6-4ab5-A209-30B5DC422464" /> <ActivationDependency FeatureId="63FDC6AC-DBB4-4247-B46E-A091AEFC866F" /> <ActivationDependency FeatureId="22A9EF51-737B-4ff2-9346-694633FE4416" /> Can anyone id...

How do I specify a dependency rule in Maven between files of certain suffixes?

I have a Java program that generates Java classes for my application. Basically it takes in a simple spec for a class and generates a specialized form of Java bean. I want to integrate this into my Maven pom.xml so that if the input file is changed, Maven automatically generates the new .java file before the compile phase of Maven. I kn...

Is there a C++ dependency index somewhere?

When trying new software and compiling with the classic ./configure, make, make install process, I frequently see something like: error: ____.h: No such file or directory Sometimes, I get really lucky and apt-get install ____ installs the missing piece and all is well. However, that doesn't always happen and I end up googling to fin...

wpf - how can I create a dependency between expander inside datagrid and one of datagridrow properties

This is a general question. And may not be specific to datagrids. How can i related 2 properties or 2 different UI Elements/controls Like Each datagridRow has an Expander and i want the IsExpanded property to be dependent on datagridrow selected event . Thank you ...

Stop Rails from unloading a module in development mode

I have a module in my Rails app that lives in /lib module MyModule mattr_accessor :the_variable class << self def setup yield this end end end From my environments/#{RAILS_ENV}.rb file I can then set an environment-specific value for the_variable: MyModule.setup do |my_module_config| my_module_config.the_variab...

Dependency parsing

Hi I particularly like the transduce feature offered by agfl in their EP4IR http://www.agfl.cs.ru.nl/EP4IR/english.html The download page is here: http://www.agfl.cs.ru.nl/download.html Is there any way i can make use of this in a c# program? Do I need to convert classes to c#? Thanks :) ...