dependencies

What release management solutions are worth investigating?

In organisations where you have large numbers of applications, written in a myriad of languages running on innumerable platforms and databases how do folks manage the release of builds and patches, particularly when some of the releases are 3rd party? I know there a whole bunch of "Release Management" applications out there, but I'd be i...

Should I distribute log4net with my releases?

I am wondering what is best practice when it comes to dependencies and how releases should be done. In my case I have a library that relies on log4net and I am wondering if I should distribute log4net.dll (set the log4net reference to copy local) along with the release? Could I simply state that log4net should be installed in the GAC? ...

Best practices for referencing 3rd party assemblies

I have been wondering what are best practices when it comes to referencing 3rd party assemblies. A while ago I asked a question "Dependencies and references: what exactly should I reference" and received something to think about but I am not completely convinced. I have a 3rd party assembly needed for building my project and according to...

Detecting dependencies between namespaces in .NET

Are there any utilities that can examine a set of managed assemblies and tell you whether any of the types in one namespace depend on any in another? For example, say I have a MyApp.BusinessRules namespace and don't want it to access directly anything in MyApp.GUI, but both namespaces are in the same assembly. My goal is to be able to w...

What is the easiest way to determine the dependencies of a .NET assembly.

Considering a large system with hundreds of assemblies, what is the easiest way to determine which other projects in the large system depend on a specific assembly when there isn't any way to create a single visual studio solution that contains all the projects? ...

Why can't maven find a plugin?

If I type the command: mvn dependency:list The docs suggest that I'll get a list of my project's dependencies. Instead though, I get this: [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] ----------------------------------------------------------- [ERROR] BUILD FAILURE [INFO] ----------------------------------...

Best way to list a Merb::Slices dependencies?

Hi, I'm creating a list of the Slices in my Merb app, like this: Merb::Slices.each_slice do |slice| I'd like to get the list of dependencies for each of this slice, any idea how to access it? I'm still reading merb code, solution might come soon ;) ...

generate dependencies for a makefile for a project in C/C++

I have a project that has a makefile with broken dependencies. Is there any best known way to generate a list of dependencies for the project that I can use in the makefile, other than examining each source file by hand or with a hand written perl script? ...

Maven or Ivy for Managing Dependencies from Ant?

Hi, I was wondering about the best way to manage projects dependencies from ant. What are the pros and cons of the Maven Ant task and of Ivy? ...

How does Copy-local work?

I am wondering what copy-local=true for references exactly does. Does it copy the referenced assembly along with all of its dependencies to the output directory? My scenario is the following: I have a custom log wrapper that utilizes log4net. I build a release assembly of MyLogWrapper.dll with log4net.dll reference set to copy-local tru...

How do I troubleshoot "Unable to load DLL..."?

I deployed an update to my ASP.NET application and started seeing this error on my page that used foo.dll: Unable to load foo.dll. The specified module could not be found. (Exception from HRESULT: 0x8007007E) foo.dll is in my system32 and application bin directory (which are in the path environment variable). What gives? ...

Managing shared binary dependencies for multiple solutions

Ok we have a number of solutions all with a lot of shared binaries: what we do is the following. In a shared drive we have this following layout where there is a directory for every binary dependency and a sub directory for every version BinaryDep1 -----------Volatile -----------1.0 -----------1.1 -----------1.2 BinaryDep3 --------...

How do I find the module dependencies of my Perl script?

I want another developer to run a Perl script I have written. The script uses many CPAN modules that have to be installed before the script can be run. Is it possible to make the script (or the perl binary) to dump a list of all the missing modules? Perl prints out the missing modules’ names when I attempt to run the script, but this is ...

circular dependencies between dlls with visual studio

I have a circular dependency between two functions. I would like each of these functions to reside in its own dll. Is it possible to build this with visual studio? foo(int i) { if (i > 0) bar(i -i); } -> should compile into foo.dll bar(int i) { if (i > 0) foo(i - i); } -> should compile into bar.dll I have created tw...

Using mock objects outside of testing, bad practice?

I'm working on a project where there is a lot of external service messaging. A good way to describe it in only a slightly "hyperbolas" way would be an application where the system has to send messages to the Flicker API, the Facebook API, and the Netflix API. To support disconnected scenarios, logging concerns, developer usability, conf...

Is loading a dependency assembly from the internet a good practice?

I know there are several ways to deploy a .net windows client application: There's Windows Installer, Click Once, a simple download & run, and loading the windows forms / WCF application in Internet Explorer (no to confuse the latter with WCF/E - Silverlight RIA applications) So... thinking about the true windows client applications --...

Dependencies of references not copied to output directory

I have a CommonUtils lib I have built into a dll which I file reference from several of my projects. CommonUtils depends on log4net.dll which was set as a file reference and copy-local=true when CommonUtils.dll was built. log4net.dll and CommonUtils.dll are not in GAC. Everything works fine in MyWorkingProject where I only have a file r...

Maven : OSGI, bundles and multi-modules projects

Hi all, I'm currently developing an OSGi based application (using Equinox) by trying to mavenize a web tutorial I've found on OSGi+Equinox. In this project, there are bundles depending on other bundles (quote-service depends on quote). The compile phase does succeed, but the package phase does not. Maven complains the following : [INFO...

Best practices for file system dependencies in unit/integration tests

I just started writing tests for a lot of code. There's a bunch of classes with dependencies to the file system, that is they read CSV files, read/write configuration files and so on. Currently the test files are stored in the test directory of the project (it's a Maven2 project) but for several reasons this directory doesn't always exi...

Sharepoint Web Part Management

I have a rather large project developed on Sharepoint and Project Server, designed as a multi-tier application. I programmatically manage web parts on certain web part pages. According to the choices of the user in one of the web pages, appropriate web parts are added to the web part collection of another web part page. My problem is tha...