dependencies

Specifying Android project dependencies (in Eclipse)

I have two Android projects, a 'library project' containing a custom layout, and an 'application project' containing an application which uses the layout. Everything seems to build and execute fine, except that the visual layout editor throws a ClassNotFoundException (which I assume is a bug in the plug-in), but when I try to start to m...

"Missing artifact" errors with company repository

I setup a company maven repository using artifactory. I deployed a project of us into the repository. If I now specify a dependency to that artifact, it doesn't get retrieved. Which it should, because I declared this in my settings.xml: <mirrors> <mirror> <id>company-internal</id> <name>company repository</name> <url>http:...

Dependency problem with gnu make

Hi all, I am facing a rather strange problem with make. My make file contains: all: item1 item2 item1: dep1 dep2 dep1: @echo cd $(HOME)/apps; /bin/rm -f $(D_ALL_OBJECTS) cd $(SRCHOME)/fusionapps; make -k -f $(SOMEMAKEFILE) $(D_ALL_OBJECTS) @echo dep2: @echo cd $(HOME)/apps; /bin/rm -f $(D2_ALL_OBJECTS) cd...

MATLAB: determine dependencies from 'command line' excluding built in dependencies

Is there a way to determine all the dependencies of an .m file and any of the dependencies of the files it calls using a command in a script (command-line)? There was a question like this before and it was really good because it suggested using the depfun function. BUT the issue with this was that it is outputting the MATLAB related fi...

How to determine a windows executables DLL dependencies programatically?

Anybody know how to determine what DLL's a binary depends on using programmatic methods? To be clear, I am not trying to determine the DLL dependencies of the running exec, but of any arbitrary exec (that may be missing a required DLL). I'm looking for a solution to implement in a C/C++ application. This is something that needs to be ...

Dependency graph of Visual Studio projects

I'm currently migrating a big solution (~70 projects) from VS 2005 + .NET 2.0 to VS 2008 + .NET 3.5. Currently I have VS 2008 + .NET 2.0. The problem is that I need to move projects one by one to new .NET framework ensuring that no .NET 2.0 project references .NET 3.5 project. Is there any tool that would give me a nice graph of project...

When is it (not) appropriate to bundle dependencies with an application?

Summary I recently had a conversation with the creator of a framework that one of my applications depends on. During that conversation he mentioned as a sort of aside that it would make my life simpler if I just bundled his framework with my application and delivered to the end user a version that I knew was consistent with my code. I...

How do I implement maven source dependency among sibling projects?

I have a java project that is composed of 3 sub projects that generate a .jar artifact each (and have sub-dependencies among them). In addition there is a web projects that depends on the first 3 projects and generate a war file. The war file is my final artifact, i.e. what I ship my customers. Additionally I have a parent module that e...

CentOS install mod_dav_svn

I am trying to install subversion on a centos 5 VPS. I managed to install subversion but when I try to do yum install mod_dav_svn I get this error: Error: Missing Dependency: httpd-mmn = 20051115 is needed by package mod_dav_svn After a lot of googling I read that you need Apache 2.2 (I previously had 2.0) so I recompiled the s...

C/C++: Detecting superfluous #includes?

I often find that the headers section of a file get larger and larger all the time but it never gets smaller. Throughout the life of a source file classes may have moved and been refactored and it's very possible that there are quite a few #includes that don't need to be there and anymore. Leaving them there only prolong the compile time...

What Situations Cause Oracle Packages to Become Invalid?

The scenario that created this question: We have a package that is a dependency of another package, sometimes making changes to the "parent" package causes the dependent package to become invalid, but sometimes it doesn't. It has caught us by surprise before. It would be very useful to simply understand what causes invalidation so...

Tracking header dependencies in Ada?

Is there a tool that will track/graph header dependencies from Ada source code? ...

Best way to organize dependant projects?

I have a set of projects that depend on other projects (you can say utilities), the problem is every time I change the code of any one of these utilities my colleagues need to take the latest code and build on their machines to use the latest assemblies. Is there a good standard solution? or simply centralized the dlls on a shared folder...

Elegantly reducing the number of dependencies in ASP.NET MVC controllers

We are developing what is becoming a sizable ASP.NET MVC project and a code smell is starting to raise its head. Every controller has 5 or more dependencies, some of these dependencies are only used for 1 of the action methods on the controller but obviously are created for every instance of the controller. I'm struggling to think of a...

How to locate dependency of .NET Framework 3.5

Hi all, I'm struggling with a deployment issue which leaves me completely lost. It goes like this: I have a Visual Studio Deployment project which installs an app - some assemblies each compiled to target .NET Framework 2.0. I have recently strong named them all (because one of the assemblies is a "Shared Add-In" for MS Word and MS Outl...

Overriding yum dependency checks when newer versions of the dependent software exist

I'm using yum on CentOS 5.1 - I hand-compiled PHP 5.2.8 from source, but have other packages installed using yum. I need to install a PHP extension via pecl, and it requires phpize to be installed as well. However, doing the following yields a dependency error: sudo yum install php-devel Error: Missing Dependency: php = 5.1.6-20.el...

What's the best way to define dependencies between multiple ant build files?

I have a bunch of modules which I'd like to all have their own ant build files. However, modules have dependencies on other modules. What's the best way to define dependencies between build files? I've looked at the <import>, <ant>, and <antcall> tasks, but it seems like maybe there's a better way to do this. ...

Project Dependencies in Visual Studio

I have a three projects in the solution WinSync. I have WinSyncGui, WinSyncLib and Setup. WinSyncGui requires files from WinSyncLib. How can I get it to include WinSyncLib in WinSyncGui? VS complains The type or namespace name 'WinSyncLib' could not be found (are you missing a using directive or an assembly reference?) I've set the dep...

How to organize packages (and prevent dependency cycles)?

I've been running some metrics on my Java project and apparently there are a lot of dependency cycles between packages. I didn't really know how to organize stuff into packages, so I just did what made sense to me, which is apparently wrong. My project is a neural network framework. Neural networks have Neurons, which are connected to e...

C# WPF custom control not responding to XAML properties at design-time?

I've created a UserControl which is essentially a button. It's got an Image and a Label on it and I've created two properties to set the Image's source and the Label's text like so: public ImageSource Icon { get { return (ImageSource)this.GetValue(IconProperty); } set { this.SetValue(IconProperty, value); icon.Source = value; ...