I have a Rails application that uses Bundler for dependency management. I've got the following in my Gemfile:
# default group:
gem 'json'
group 'development' do
gem 'my_profiler'
end
group 'test' do
gem 'mocha'
end
group 'deployment' do
gem 'foo'
end
I call Bundler.setup(:default, RAILS_ENV.to_sym) and Bundler.require(:defaul...
I implemented Custom Action DLL that needs to run when the product is being unistalled or reinstalled. Custom Action DLL (C++) references third party library which is a COM object that needs to be also registered.
I have 2 questions:
1. How do I include third party library into installer package? I'd prefer if the file were not visibl...
I want to enhance Android app and I've cloned its source from android.git.kernel.org. During compile I find dependencies on platform components external to the tree, for example
com.google.android.collect.*
It turns out that most of these are resolved in platform/frameworks/base.git.
Which raises several questions:
is grabbing a pi...
I'm new to unit testing. I want to code unit tests in Qt, but my functions(login, request etc...) heavily depend on other resources such as a server.
How can I supply a block box in this situation?
Do you know any open source project which I can examine unit test classes for similar situations?
...
I would like to start using DSM, but not sure how to get started.
What does a good dependency matrix look like and why? How does it work?
...
I have been hearing a lot about the death of the repository pattern. People using listen when such influential people such as ayende: http://ayende.com/Blog/archive/2009/04/17/repository-is-the-new-singleton.aspx speak.
This is a direction which i really don't understand and hence my post. Maybe i don't get the point because of my li...
hi,
I have a list of RPM file names (like "package-1.0") that will be the dependencies of a make target, but some of them have the architecture x86_64 and others have i386. what do I do to match them? I need something like:
target: $(addsuffix .[i386|x86_64].rpm,$(shell cat packages_file))
but that won't work. I could use:
target: $...
Separate Jars
When creating JAR files, I've always kept the source separate and offered it as an optional extra.
eg:
Foo.jar
Foo-source.jar
It seems to be the obvious way to do things and is very common. Advantages being:
Keeps binary jar small
Source may not be open / public
Faster for classloader? (I've no idea, just guessing)
...
I've like Maven to package a project with run-time dependencies. I expect it to create a JAR file with the following manifest:
.....
Main-Class : com.acme.MainClass
Class-Path : lib/dependency1.jar lib/dependency2.jar
.....
and create the following directory structure:
target
|-- ....
|-- my-project.jar
|-- lib
|-- dependency1.ja...
I have a fairly complex application which has been broken up into multiple components. Each component has a solution file which contains a bunch of projects. So I like to think of this as a component has multiple projects/dlls in it. There is also a "common" component. All the other components depend on "common". So a compile goes like t...
Why it is common practice to keep compile-time dependencies and runtime dependencies different? Why not to use same dependencies all the time? Even if you don't need some libraries when you compile your code - they'll just be ignored.
The obvious answer is to avoid collisions, if so how can they happen?
...
Hi, I'm trying to create a package which depends exactly on sun-java6-jre (other variants don't work in this case) and build-depends on sun-java6-jdk. Unfortunately pbuilder doesn't want to work this way:
it installs openjdk-6-jre as a dependency
it returns pbuilder-satisfydepends-dummy: Depends: sun-java6-jdk which is a virtual packag...
Hi there.
I'm looking for something, like MICROSOFT PROJECT, for tracking projects comprised of complex series of events, most of which occur within a single day. I was thinking "project management software" because I still need to track dependencies, predecessors, etc. All of the apps I've tried recently have no capacity for dealing...
Is there XML attribute that does the exact opposite of android:dependency?
What I would like the dependent preference to be enabled when the other is NOT checked and disabled when it IS checked.
edit: maybe the issue isn't with android:dependency maybe there is an xml attribute that I can add to make the default for that preference di...
Is there some kind of an application that analyzes source code and graphically shows all the connections between function?
I need it for a legacy code I'm working on - It's huge , functional and badly written... :(
...
I've seen that VS 2010 Ultimate can generate model graph from existing code. But VS 2010 Ultimate version costs 11K US$, way too much for my budget. Is there any good alternative to do graph visualization of .NET code?
...
Consider a website build using python and django. In many cases it uses 3rd party modules beside standard python library - such as pytz, South, timezones or debug toolbar.
What is standard or just convenient way to deploy such application to production hosting with all the prerequisites (timezones, etc) installed automatically?
I'm new...
Hi,
I've added a subdirectory app/renderers after Railscast #101. The classes in that directory are not getting reloaded by my development server. It's driving me a little bonkers.
I've read everything I could find on forcing it to reload lib and/or plugins but this seems to be a different case since "everything under app should be rel...
I am trying to create custom resolver in my ivysettings.xml file:
<ivysettings>
<settings defaultResolver="default"/>
<resolvers>
<chain name="default">
<url name="scala-tools">
<ivy pattern="http://scala-tools.org/repo-releases/[organisation]/[module]/[revision]/ivy-[revision].xml" />
...
I'm using Intellij IDEA IDE. Instead of using it's internal build and dependency management tools I prefer external tools (ant+ivy if it matters). I want IDEA be able somehow catch on the flylibraries that were retrieved by dependency manager, index them and obviously provide ide sugar (code suggesting and so on).
Is there plugin or any...