incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Nalley <da...@gnsa.us>
Subject Re: [DISCUSS] Binaries (jars) in our source tree/source releases.
Date Fri, 27 Jul 2012 22:22:18 GMT
On Fri, Jul 27, 2012 at 6:14 PM, Wido den Hollander <wido@widodh.nl> wrote:
>
>
> On 07/27/2012 06:51 PM, David Nalley wrote:
>>
>> On Fri, Jul 20, 2012 at 3:13 PM, David Nalley <david@gnsa.us> wrote:
>>>
>>> In one of the OSCON discussions, I noted the recent polite discussion
>>> re binary jars in source releases on general@incubator. While this is
>>> apparently tolerated (if you don't mind wearing Nomex), it's
>>> considered a Bad Thing (TM) generally speaking. Folks suggested that
>>> we look at how subversion handles this. In short, Subversion has a
>>> script that downloads all of their dependencies in binary form - and
>>> they also provide a download for the deps as a tarball.
>>>
>>> This made me think that perhaps we should add a .gitignore entry for
>>> .jars in deps/ (and tools/), and write a script that downloads the
>>> specific versions of the dependencies that we need and depending on
>>> argument, either places them in the deps/ directory or creates a
>>> tarball. (hopefully verifying {md5|sha1}sum for each binary along the
>>> way)
>>>
>>> Thoughts? comments? flames?
>>>
>>> --David
>>
>>
>> As a followup to this, I am proposing that at least for the time being
>> [1] that we just make this an optional ant target, something along the
>> lines of:
>>
>>
>> <project name="CloudStack Deps Resolver" default="help" basedir=".">
>>    <description> This downloads binary copies of dependencies for
>> building CloudStack</description>
>>    <target name="resolveDependencies">
>>     <mkdir dir="deps" />
>>     <get
>> src="http://search.maven.org/remotecontent?filepath=log4j/log4j/1.2.9/log4j-1.2.9.jar"
>> dest="deps/log4j-1.2.9.jar" usetimestamp="true" />
>>     <get
>> src="http://www.libvirt.org/maven2/org/libvirt/libvirt/0.4.7/libvirt-0.4.7.jar"
>> dest="deps/libvirt-0.4.7.jar" usetimestamp="true" />
>>    </target>
>> </project>
>>
>
> libvirt-java 0.4.8 is the latest release which contains everything we need
> for CS 4.0
>
> I'll send a request to Daniel from RedHat to update the maven2 JAR files so
> it contains a 0.4.8 JAR.


I was going to reach out to you to ping them push their jar up, but
haven't gotten around to it - and this was really just example code -
sadly there are scores of dependencies.

Mime
View raw message