On 13.09.11 03:21, [email protected] 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}"/>