dependencies

In enterprise Java/.Net projects, does every developer have all dependencies in their classpath?

On large-scale Java/.Net Enterprise projects, does every developer need to have all the components/libraries/dependencies in their classpath/local development environment, in order to make it build? Or are they divided up into smaller sections can be built in isolation (so that they don't need to reference all the dependencies)? In o...

Reproducible custom distribution build system for Linux

The Problem I have a big infrastructure consisting of several kinds of servers running Linux. For instance, database servers, load balancers, application-specific servers. There are many instances of every kind of server, and all of them need to be reproducible. Every kind of server is basically a custom distribution. Customisations in...

How to avoid .dll dependencies under .NET

Hello: I am writing a C++/CLI which have access/"dependencies" to many DLL COM and DLL .NET libraries. Is this possible to link/join all these libraries into my C++/CLI program and generate only one executable object in such a way that I never again have to consider these dependencies every time I have to move my object to another comp...

Target-specific Variables as Prerequisites in a Makefile

I'm trying to write a GNU make Makefile which has a load of similar targets, where the build commands vary slightly between them. I'm trying to use target-specific variables to represent these variations. Some of these variable values refer to files I want to use as prerequisites. For example: target_1:special_filename=target1_prereq ta...

How do I list dependent files not currently on the MATLAB path?

I'm trying to find a function (or make one) that lists all the dependent functions, including ones that are not on the MATLAB path. I already tried using depfun(fun) along with all of its flags but it does not list the dependent functions that are not on my paths. Any help would be greatly appreciated. ...

Silverlight: Conditional Formatting based on Multiple Fields

Okay, still on my silverlight app here, what I need to do is to somehow perform conditional formatting on the cells of a datagrid, but the "conditional" part needs to be based upon the values of several different fields/properties in the datasource. I thought i could use the typical IValueConverter method of conditional formatting and ...

ASP.NET MVC (Domain Model, Repository, Fluent, Services - Structure for my Project)

Hello, In my ASP.NET MVC web application, I have: Domain Model, created by LINQ to SQL Repositories such as UserRepository and OrderRepository IQueryable Fluents as IQueryable Extension Methods such as public IQueryable<Order> GetNewOrders(this IQueryable<Order>) Services such as UserService and OrderService Utility Classes and Ex...

Cache Dependancy Off causing exception..

Im getting an exception in my data tier when I try to disable cache dependancy in SQL server.. System.Exception: TblSettings::Insert::Error occured. ---> System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.AspNet_SqlCacheUpdateChangeIdStoredProcedure'. The statement has been terminated. Enabling cache dependan...

Maven: Including jar not found in public repository

If I was to use a 3rd party library that was not in the maven public repository, what is the best way to include it as dependency for my project so that when someone else checks out my code it will still be able to build? i.e. My Application "A" depends on jar "B" which does not exist in the public repository. I, however, wish to add ...

Are circular class dependencies bad from a coding style point of view?

Are circular class dependencies bad from a coding style point of view? Example: In a database application we have two classes, one encapsulating information about a single database (DBInfo) and one class which can create a database connection. (ConnFactory) DBInfo has a getConnection method which uses ConnFactoryto create a connection...

Abusing the word "library"

I see a lot of questions, both here on SO and elsewhere, about "maintaining common libraries in a VCS". That is, projects foo and bar both depend on libbaz, and the questioner is wondering how they should import the source for libbaz into the VCS for each project. My question is: WTF? If libbaz is a library, then foo doesn't need its ...

Python packages depending on libxml2 and libxslt

Apart from lxml, is anyone aware of Python packages that depend on libxml2 and libxslt? ...

Change the dll dependency on windows.

I have to rename some dlls which are used by some xyz.dll. For xyz.dll I don't have the source code is there a way to change xyz.dll to point to renamed dlls, For DYlibs on Mac I used Install_name_tool. For windows still looking for something, Please suggest. ...

How to fix Java JNI DLL dependencies

Hi, I have a Java Application which has to load an DLL with a few dependencies. I copied all required DLLs in the same folder. The DLL I was set up uses the SeeingMachine FaceApi libraries. Now when I'm starting the Java application I will get an error the my DLL can't find the dependencies: Exception in thread "main" java.lang.Unsatis...

How to determine which classes are referenced in a compiled .Net or Java application?

I wonder if there's an easy way to determine which classes from a library are "used" by a compiled .NET or Java application, and I need to write a simple utility to do that (so using any of the available decompilers won't do the job). I don't need to analyze different inputs to figure out if a class is actually created for this or that ...

WPF Custom Control and exposing properties thru DependencyProperty

Ok - I'm pulling my hair out over what I thought was a simple scenario: create a custom Label for bilingual use that contained two additional properties (EnglishText, FrenchText). Currently its structured like this: Public Class myCustomLabel Inherits System.Windows.Controls.Label Public myEnglishTextProperty As DependencyProp...

find pom dependencies by classname

How can I found the dependency by classname? In particular, I want to include this class org.mortbay.jetty.testing.ServletTester in my project, how do I do that? And how did you find the answer? ...

Does building a Delphi project with MSBuild create .Net dependencies?

This may be a stupid question, as I'm not sure how MSBuild works with Delphi under the hood, but we have a Delphi app that needs to run with no .Net dependencies, and since we have updated our build process (now using team build with msbuild) the app won't run without .Net. I am just trying to narrow things down, so I'd appreciate any he...

Depedency injection: injecting partially-initialized objects

Hi! This question is about Unity Container but I guess it is applicable to any dependency container. I have two classes with circular dependencies: class FirstClass { [Dependency] public SecondClass Second { get; set; } } class SecondClass { public readonly FirstClass First; public SecondClass(FirstClass first) {...

How to force the build to be out of date, when a text file is modified?

The Scenario My project has a post-build phase set up to run a batch file, which reads a text file "version.txt". The batch file uses the information in version.txt to inject the DLL with a version block using this tool. The version.txt is included in my project to make it easy to modify. It looks a bit like this: @set #Description="Ta...