dependencies

Multi-webapp Maven 2 project -- how to build a single webapp?

I have the following source layout: . ├── pom.xml ├── modules (has pom) │ ├── module1 (has pom) │ └── module2 (has pom) │ └── moduleN (has pom) └── webapp1 (has pom) └── webapp2 (has pom) webapp1 and webapp2 depends on all of the modules (the modules being DAO, services, etc). At the moment, I build everything from the root and...

Two Classes Dependent On Each Other

I have Camera class, which handles camera behavior. Among it's fields is a reference to the target's Cube class (Cube is just one of the object, but I won't mention others to keep it simple). In order to calculate the View matrix, I need the camera's position and target's position, so I can explain to my program that: "the camera is plac...

The application has failed to start because its side-by-side configuration is incorrect

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl y 'TheLibrary, Version=1.2.3905.36284, Culture=neutral, PublicKeyToken=14 04827c3a8f2601' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detai...

ListPreference dependency

I have a ListPreference which look something like this: <ListPreference android:title="Choose item" android:summary="..." android:key="itemList" android:defaultValue="item1" android:entries="@array/items" android:entryValues="@array/itemValues" /> Then, I have another preference which should only be enabled if "item3" is selected in t...

how to add gem dependency with :path and :branch

I am working on a rails gem that has dependency on the following gem 'authlogic', :git => 'git://github.com/odorcicd/authlogic.git', :branch => 'rails3' How can I add this in the gem spec as a dependency? Specifically I need to specifiy the path and branch in the dependency. ...

What when assembly.GetReferencedAssemblies returns ".exe" dependency ?

Hi all, there is a lot of examples how to load all dependencies from some assembly like: var assembly = Assembly.ReflectionOnlyLoadFrom(assemblyPath); foreach (var assemblyName in assembly.GetReferencedAssemblies()) { try { Assembly.ReflectionOnlyLoad(assemblyName.FullName); } catch { Assembly.ReflectionOnlyLoadFrom(Path.Co...

Remove DLL dependency for an Application

Hey! In my application, I need to Zip and Unzip some files. For that I have used DotNet Zip Library (Ionic.Zip.dll-- DotNet Zip Lib ) Everything works fine but when I take EXE of my file and try to run it from different folder, it fails to run. I have to keep Ionic.Zip.dll in the folder where my application resides. Is there any way o...

How to manage dependencies between solutions using TFS2010

Hi there, I thinking about switching to TFS2010 for my team. Right now we're using NANT scripts, and I'd like to know how the following issue could be solved with TFS2010. The team is working on a framework which is made of several solutions (.sln). In each solution, we have a "References" folder where we put the assemblies used by the...

Checking a maven project's repository portability.

Is there any way to check all dependencies are downloadable from at least one listed repository? I was once omitted a required repository from my pom.xml. But maven didn't complain because those dependencies already had been installed in my local repository (~/.m2/repository). That could be a problem for CI or on another fresh machine....

Bash Script for MythTV which requires Python Dependencies

I wrote a bash script which renames MythTV files based upon data it receives. I wrote it in bash because bash has the strong points of textual data manipulation and ease of use. You can see the script itself here: http://code.google.com/p/mythicallibrarian/source/browse/trunk/mythicalLibrarian I have several users which are first time ...

Visual Studio clean solution doesn't delete all dlls / project reference getting moved

I have a VS 2008 C# web app with a bunch of project references to custom dlls. These are all at a relative path from the web project. Recently I've noticed that Clean Solution removes some, but not all, of the dlls from the web app's bin\debug folder. For example: <Reference Include="TowerCo.Utilities, Version=1.0.0.0, Culture=neutr...

Enforcing type visibility between namespaces in C#

I have the idea that it might be useful to enforce type visibility between namespaces rather than assemblies (internal) in C#. It would seem that such a concept would assist developers working with a codebase, ensuring the correct types are used in places where another internal type supplying similar functionality is available, but woul...

How do I make one nsi section depend on another?

In NSI, how can I make one section depend on another? Our installer has four visible sections (components): * Client * Database * Server * Interface All components depend on Client, so it is mandatory. In addition, Server depends on Database and will fail to install if Database is not present. ...