db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <kristian.waa...@oracle.com>
Subject Re: svn commit: r1169998 - /db/derby/code/branches/10.8/build.xml
Date Tue, 13 Sep 2011 09:06:40 GMT
On 13.09.11 03:21, myrnavl@apache.org wrote:
> Author: myrnavl
> Date: Tue Sep 13 01:21:14 2011
> New Revision: 1169998
>
> URL: http://svn.apache.org/viewvc?rev=1169998&view=rev
> Log:
> DERBY-5287; adjusting executable to ant.bat for my environment

Would it be an idea to script this, such that 'ant' or 'ant.bat' is 
chosen based on the operating system?

It can be done with some code duplication at least, I'm not sure if it 
can be done in a more elegant way as well.


-- 
Kristian

>
> Modified:
>      db/derby/code/branches/10.8/build.xml
>
> Modified: db/derby/code/branches/10.8/build.xml
> URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.8/build.xml?rev=1169998&r1=1169997&r2=1169998&view=diff
> ==============================================================================
> --- db/derby/code/branches/10.8/build.xml (original)
> +++ db/derby/code/branches/10.8/build.xml Tue Sep 13 01:21:14 2011
> @@ -2049,7 +2049,7 @@
>
>        <ant dir="${docs.root}" target="clobber"/>
>
> -<exec executable="ant" dir="${docs.root}">
> +<exec executable="ant.bat" dir="${docs.root}">
>          <env key="ANT_OPTS" value="-Xmx512m"/>
>          <env key="CLASSPATH" path="${docs.root}/lib/fop.jar"/>
>          <arg value="-Drelease.id.short=${eversion}"/>
>
>


Mime
View raw message