dependencies

How to deal with recursive dependencies between static libraries using the binutils linker?

I'm porting an existing system from Windows to Linux. The build is structured with multiple static libraries. I ran into a linking error where a symbol (defined in libA) could not be found in an object from libB. The linker line looked like g++ test_obj.o -lA -lB -o test The problem of course being that by the time the linker finds it ...

Binary dependency Graph Drawing...

Hi I Need a tool to have the dependency graph of some binary codes, not for open codes... Can you suggest me any thing? ...

Requiring library consumers reference additional assembly when using certain types

I have library code that uses ICSharpCode.SharpZipLib under the hood to make it easy to use ZIP files as data sources when running integration tests. As it stands, if I reference my library from another project, the other project will compile just fine, but when it accesses the code that uses SharpZipLib, I get an exception for it not f...

Query Notification Loop event OnChange when use view or join Table

hi when I use a join table (inner join or etc) in my command,OnChange Event in SQL dependency Object fire in loop. but when use a simple select statement It works fine. any body know why? ...

StructureMap problems with bidirectional/circular dependencies

I am currently integrating StructureMap within our business layer but have problems because of bidirectional dependencies. The layer contains multiple manager where each manager can call methods on each other, there are no restrictions or rules for communication. This also includes possible circular dependencies like in the example belo...

How to maintain long-lived python projects w.r.t. dependencies and python versions ?

short version: how can I get rid of the multiple-versions-of-python nightmare ? long version: over the years, I've used several versions of python, and what is worse, several extensions to python (e.g. pygame, pylab, wxPython...). Each time it was on a different setup, with different OSes, sometimes different architectures (like my old ...

Setting CPU target to x86 on .NET 2.0 project adds .NET 3.5 dependencies.

I have a project in VS2008 that targets .NET 2.0 framework. It was original set to build for AnyCPU. I changed it to x86 and for whatever reason, VS adds the following lines to .csproj: <ItemGroup> <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> <Visible>False</Visible> <ProductName>.NET Framework Client Profi...

View osgi bundles' dependencies?

Hello all, I am looking for a tool in Eclipse that I can view graphically all osgi bundles' dependencies. Anyone has any ideas, please? Thanks ...

Ant calling child project parent project ivy.xml overriding child project ivy.xml

We've got a parent project and a child project java builds using ant and ivy. The child project needs to be able to build independently. When the parent project calls the child project the antfile command - the parent project's ivy.xml overrides the child project's ivy.xml Does anyone know how to keep the child project using its own i...

Is there a posix-way to ensure two files are flushed in sequence without blocking?

In my program, I hold two files open for writing, a content-file, containing chunks of data, and an index-file, containing a map over which chunks of data has been written so far. I would like to flush them both to disc, as performant as possible, with the only constraint that the blocks in the data-file must be written before the corre...

Skip makefile dependency generation for certain targets (e.g. `clean`)

I have several C and C++ projects that all follow a basic structure I've been using for a while now. My source files go in src/*.c, intermediate files in obj/*.[do], and the actual executable in the top level directory. My makefiles follow roughly this template: # The final executable TARGET := something # Source files (without src/) I...

VS2008 project with Entity Framework model results in "always dirty" compile

In VS 2008, I have a simple .csproj that contains an Entity Framework .edmx (V1) file. Every time I build the project, the output DLL is updated, even though nothing has changed. I have reproduced this in the simplest-possible project (containing one ordinary .cs file and one edmx model). If I remove the edmx model and build repeatedl...

How to design app to be modular / support plugins

I'm currently in the process of refactoring my webplayer so that we'll be more easily able to run it on our other internet radio stations. Much of the setup between these players will be very similar, however, some will need to have different UI plugins / other plugins. Currently in the webplayer I do something like this in it's init():...

Can we create unit test target for dependent projects.

Hi all, I have an project which is dependent on the another project. But now i want to create an unit test target for the main project. Is it possible? because it will be referring the files of its dependent project. ...

Software to Mind Map Dependencies

I'm putting together something I'll soon release as OSS and I wanted to make a map of dependencies to get a clearer idea of the big picture. I ended up making the mind map myself using pen and paper: This is something I wish I could do more often, but mapping bigger projects manually is too troublesome (and virtually impossible due to...

Use EdmFunctionAttribute without exposing Entity Framework dependency/implementation details?

Is there a good way to leverage EdmFunctionAttribute without introducing a dependency on The Entity Framework/System.Data.Entity.dll? I thought I could have an interface with a method and a concrete implementation that implements the method using EdmFunctionAttribute to map it to a database function. I have a context interface IMyConte...

Module dependencies in IntelliJ while importing an Eclipse-project

I'm working in a project where the main IDE is Eclipse. The Eclipse workspace is made up of several projects that depend on each other in a chain like so: lib-project with all external dep endencies jar-files and stuff ProjectA depends on lib-project ProjectB depends on project A ProjectC depends on project B etc I think (someone cor...

Breaking dependencies when you can't make changes to other files?

I'm doing some stealth agile development on a project. The lead programmer sees unit testing, refactoring, etc as a waste of resources and there is no way to convince him otherwise. His philosophy is "If it ain't broke don't fix it" and I understand his point of view. He's been working on the project for over a decade and knows the code ...

Maven/Spring/Java: ClassNotFoundException - but I know class is there...

I have 2 maven projects set up like this: -com.wuntee.rsaAuthenticationManager (jar) -com.wuntee.taac (pom) --taac-backend-gui (jar) --taac-web (war) And 'com.wuntee.rsaAuthenticationManager' is a dep in 'taac-backend-gui'. When running a test case in taac-backend-gui, everything executes fine, but when trying to start the taac-we...

Powerbuilder "runtime"

I've copied (not installed) a system developed with Powerbuilder, from a salvaged hard drive. I want to run the application, but of course, it asks for several DLLs and stuff like that, which are not registered in my current system. My question: is there a procedure to install a "powerbuilder runtime", so to say, in order to run the app...