On 9 August 2010 07:08,  <[email protected]> wrote:
> Author: guixl
> Date: Mon Aug  9 06:08:05 2010
> New Revision: 983529
>
> URL: http://svn.apache.org/viewvc?rev=983529&view=rev
> Log:
> add get 4 more dependency jar files content in getDept.xml
>
> Modified:
>    commons/sandbox/gsoc/2010/scxml-eclipse/trunk/getDeps.xml
>
> Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/getDeps.xml
> URL: 
> http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/getDeps.xml?rev=983529&r1=983528&r2=983529&view=diff
> ==============================================================================
> --- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/getDeps.xml (original)
> +++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/getDeps.xml Mon Aug  9 
> 06:08:05 2010
> @@ -37,6 +37,26 @@
>                <get dest="${tmp-dir}/commons-scxml-0.9-bin.zip" 
> usetimestamp="true" ignoreerrors="true" 
> src="http://labs.renren.com/apache-mirror/commons/scxml/binaries/commons-scxml-0.9-bin.zip";
>  />
>                <unzip src="${tmp-dir}/commons-scxml-0.9-bin.zip" 
> dest="${tmp-dir}"/>
>                <copy 
> file="${tmp-dir}/commons-scxml-0.9/commons-scxml-0.9.jar" 
> todir="${lib-debuglib}"/>
> +
> +               <!--Get Apache Commons Beanutils jar -->
> +               <get dest="${tmp-dir}/commons-beanutils-1.8.3-bin.zip" 
> usetimestamp="true" ignoreerrors="true" 
> src="http://apache.freelamp.com/commons/beanutils/binaries/commons-beanutils-1.8.3-bin.zip";
>  />
> +               <unzip src="${tmp-dir}/commons-beanutils-1.8.3-bin.zip" 
> dest="${tmp-dir}"/>
> +               <copy 
> file="${tmp-dir}/commons-beanutils-1.8.3/commons-beanutils-1.8.3.jar" 
> todir="${lib-debuglib}"/>

Rather than getting the zip files and unpacking them to extract the
jars, it would be simpler to fetch the jars directly from the Maven
repository.

For example, commons logging can be found at:

http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/

If there are any files that are not available from Maven, by all means
use the Apache mirror system, but I suggest the mirror location is
defined as a property so it can easily be overriden if required.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to