dependencies

QT Dependency Visualizer

I have a lot of classes which interact with other classes through signal&slot mechanism, composition, inheratance etc. I wonder, is there any tool which visualizes(such as:UML-like diagrams) dependencies between classes in source code especially for QT based codes? Thanks. ...

What are "High-level modules" and "low-level modules" (in the context of Dependency inversion principle)?

I was reading Wikipedia's definition of Dependency inversion principle, and it uses those two terms, which I wasn't able to figure out.. What are they and what does Dependency inversion principle have to do with them? Thanks. ...

multiple optional Android packages, an AccountManager implemented somewhere among them

I spend most of my time in an environment where I can package code with dependencies that are resolved at install time automatically. That's nice. I can install any item and the library needed to support it is automatically added if it doesn't already exist. In Android, this isn't yet possible, so I need another way to share some reso...

strange error with maven dependency copy

I'm trying to setup my maven build to copy all the build artifacts and other generated files to a central directory for distribution. After reading docs, the assembly plugin and the dependency plugin seem to be the ones to use. but I cant get them to play well together. first - If I follow the directions here and add this to my top le...

How to deny maven to use open projects in Eclipse instead of jar from repository

Currently if i have dependency project opened, then maven use it instead of specified jar from repo. Is there Eclipse setting (or conf for pom), so maven will always use specified dependencies non-regarding if corresponding project opened or not in eclipse? ...

Maintaining encapsulation when wrapping native libraries

I'm writing a C# library to wrap a Win32 API (the waveOut... family of functions), and have reached a point where I'm unsure how to manage the interaction between different parts of my code without breaking encapsulation. So far, I have a setup like this: public class AudioDevice { ... private WaveOutSafeHandle hWaveOut; ......

Is there a better way to setup/run this Java program?

My file structure looks liked this: cse408 - lib - pics - App.java - ImageUtil.java - Menu.java And to compile/run I use the following commands: ***To Compile*** LD_LIBRARY_PATH=/home/soldiermoth/Downloads/6.4.0/lib javac -classpath lib/jmagick.jar:. App.java **************** ****To Run****** ...

cache dependency on file asp.net - not firing the event

I configured cache dependency on a file on the server, the cache dependency event stops responding to file changes once in 2 or 3 days. After I perform IISReset on the server, it works fine. How to debug this type of issues? Thanks in advance! ...

Artifacts with classifiers not copying to local repository

I am using Maven version 2.0.7 and I am using the javadoc and source plugins to create additional artifacts for deploy. All of the generated artifacts are deploying correctly but it seems that when someone else builds they are only getting the specific artifact they specify. I don't want to have to add the source and javadoc artifacts as...

Sort maven dependencies in Eclipse

Hello, Just wanted to know if it is possible in Eclipse to sort Maven dependencies by alphabetical order? It's bothering me to have a list of 200 jars not ordered... :( ...

Minimizing jar dependency sizes

Hello, an application I have written uses several third party jars. Sometimes only a small portion of the entire 50kB to 1.7mB jar is used - one or two function calls or classes. What is the best way to reduce the jar sizes. Should I download the sources and build a jar with just the classes I need? What existing tools can help automa...

Is there a visualization tool that can inspect a Java code base and report inter-package dependencies?

We have a Java code base that has grown to be too big for a single monolithic JAR (more than 5000 classes). One of the tasks that we are investigating is how much effort would it be to break this single JAR into smaller components with controlled dependencies between them. However, it's somewhat hard to look at a big bag of code and be...

What's the best way to manage dependencies with CounterClockwise/Eclipse?

I have a dependency on clj-record in my CounterClockwise project. What's the best way to manage this? Copy the source code or compile to a JAR and add it as a referenced library? ...

Runtime Exception: "CoCreateInstanceEx: The specified service does not exist as an installed service."

I just checked the latest source out of our repository after the installer (NSIS if it really matters) was created and a bug was discovered. I started receiving the runtime exception CoCreateInstanceEx: The specified service does not exist as an installed service. on the following code: Opc.IDiscovery discovery = new OpcCom.ServerEnume...

Maven: How to remove dependencies if they are already transitive?

For example, if there are dependencies: a -> b a -> c b -> c I want to remove the dependency a -> c, because there is a -> b -> c. I know there may be some strong dependencies which should not be reduced, but it's not relevant to this question. Example: In a.pom: <dependencies> <dependency>b</dependency> <dependency>c<...

Removing external dependencies to MFC DLL project

Im developing a MFC DLL project in VS2008. The dll compiles OK and I can call it fine from an GUI exe that a contractor has developed for me. Visual C++ Redistributables are required to be installed for my dll (and maybe the exe which is developed in C++ too) Another company wants to licence my dll to use with their C++ exe. They have ...

Is there an easy way to detect .NET 1.1 dependencies in a solution?

Hi, I'm maintaining some older .NET applications, and twice this week there have been problems when customers tried to move their apps over to new hardware (two different apps). In both cases the problem was solved by installing .NET 1.1 The question is, is there an easy way to find these dependencies in the source code, so that future...

DLL references when using TFS 2010

I am new to using TFS 2010 and was wondering the best way to add references (.e.g. AjaxControlToolKit, etc) to projects that I have added to TFS source control. Would having the references be pointed to a shared folder on the network and being pulled from there be good solution? or is there a better way to achieve such things. I have o...

Do I need to import the AppDelegate_Phone.h file?

Do I need to import the AppDelegate_Phone.h file (which in turn imports AppDelegate_Shared.h)? I am trying to use Core Data. The AppDelegate_Shared.h already has it set up. If I want to read information into a UITableView from Core Data, must I import my delegate file explicitly? ...

Unit tests: finding class dependencies

Are there any automated tools to find class dependencies when writing unit tests. An example to show what I mean: We want to write unit tests for class ToBeTested. So I will write some tests to verify the expected behaviour of the class. Now I still dont know if there are class depencies as in ToBeTested probably uses lots of other cla...