Correct version string call bootstrap.bat Introduce an install-lite target Move building of distributions files out of dist target git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268514 13f79535-47bb-0310-9956-ffa450edef68master
@@ -16,7 +16,7 @@ Changes that could break older environments: | |||||
Other changes: | Other changes: | ||||
-------------- | -------------- | ||||
* A GUI Frontend: Antidote | |||||
* A GUI Frontend: Antidote. This is currently in development. | |||||
* New tasks: stylebook, propertyfile, depend, antlr, telnet, csc, | * New tasks: stylebook, propertyfile, depend, antlr, telnet, csc, | ||||
ilasm, transform, javah, several clearcase tasks | ilasm, transform, javah, several clearcase tasks | ||||
@@ -77,6 +77,7 @@ Fixed bugs: | |||||
CMP files are included by parsing the weblogic deployment descriptor rather | CMP files are included by parsing the weblogic deployment descriptor rather | ||||
than relying on the naming convention used in ant 1.2 | than relying on the naming convention used in ant 1.2 | ||||
Include super classes and super interfaces into the generated ejb jar files | Include super classes and super interfaces into the generated ejb jar files | ||||
<support> nested element allows support classes to be included in the EJB jar | |||||
* <vssget> now correctly deals with spaces in arguments | * <vssget> now correctly deals with spaces in arguments | ||||
@@ -97,6 +98,8 @@ Fixed bugs: | |||||
* <property> and <available> will search for the resource "foo" instead | * <property> and <available> will search for the resource "foo" instead | ||||
of "/org/apache/tools/ant/taskdefs/foo" when given a relative resource | of "/org/apache/tools/ant/taskdefs/foo" when given a relative resource | ||||
name foo. | name foo. | ||||
* Handle build files in directories whose name contained a "#" character | |||||
Changes from Ant 1.1 to Ant 1.2 | Changes from Ant 1.1 to Ant 1.2 | ||||
=============================== | =============================== | ||||
@@ -1,8 +1,10 @@ | |||||
@echo off | @echo off | ||||
set _CP=CLASSPATH | |||||
if exist build\classes\org\apache\tools\ant\Main.class goto doBuild | if exist build\classes\org\apache\tools\ant\Main.class goto doBuild | ||||
bootstrap.bat %1 %2 %3 %4 %5 %6 %7 %8 | |||||
call bootstrap.bat %1 %2 %3 %4 %5 %6 %7 %8 | |||||
:doBuild | :doBuild | ||||
@@ -33,11 +35,11 @@ echo. | |||||
:runAnt | :runAnt | ||||
set NEW_ANT_HOME=%ANT_HOME% | set NEW_ANT_HOME=%ANT_HOME% | ||||
if "x%ANT_HOME%" == "x" set NEW_ANT_HOME=dist | |||||
if "%ANT_HOME%" == "" set NEW_ANT_HOME=dist | |||||
set CLASSPATH=%LOCALCLASSPATH% | set CLASSPATH=%LOCALCLASSPATH% | ||||
set LOCALCLASSPATH= | set LOCALCLASSPATH= | ||||
%_JAVACMD% -classpath %CLASSPATH% %ANT_OPTS% org.apache.tools.ant.Main "-Dant.home=%NEW_ANT_HOME%" -logger org.apache.tools.ant.NoBannerLogger -emacs %1 %2 %3 %4 %5 %6 %7 %8 | %_JAVACMD% -classpath %CLASSPATH% %ANT_OPTS% org.apache.tools.ant.Main "-Dant.home=%NEW_ANT_HOME%" -logger org.apache.tools.ant.NoBannerLogger -emacs %1 %2 %3 %4 %5 %6 %7 %8 | ||||
set CLASSPATH= | |||||
set CLASSPATH=%_CP% | |||||
set NEW_ANT_HOME= | set NEW_ANT_HOME= | ||||
set _JAVACMD= | set _JAVACMD= |
@@ -357,6 +357,9 @@ | |||||
<chmod dir="${dist.dir}" perm="go-rwx" /> | <chmod dir="${dist.dir}" perm="go-rwx" /> | ||||
</target> | |||||
<target name="bin-dist" depends="dist"> | |||||
<zip zipfile="${dist.base}/${dist.name}-bin.zip" | <zip zipfile="${dist.base}/${dist.name}-bin.zip" | ||||
basedir="${dist.dir}/.." | basedir="${dist.dir}/.." | ||||
includes="${dist.dir}/**"/> | includes="${dist.dir}/**"/> | ||||
@@ -443,18 +446,23 @@ | |||||
<param name="src.dist.dir" value="${dist.name}" /> | <param name="src.dist.dir" value="${dist.name}" /> | ||||
</antcall> | </antcall> | ||||
<antcall target="dist"> | |||||
<antcall target="bin-dist"> | |||||
<param name="dist.dir" value="${dist.name}" /> | <param name="dist.dir" value="${dist.name}" /> | ||||
</antcall> | </antcall> | ||||
<delete dir="${dist.name}" /> | <delete dir="${dist.name}" /> | ||||
</target> | </target> | ||||
<target name="install"> | <target name="install"> | ||||
<antcall target="dist-lite"> | |||||
<antcall target="dist"> | |||||
<param name="dist.dir" value="${ant.home}" /> | <param name="dist.dir" value="${ant.home}" /> | ||||
</antcall> | </antcall> | ||||
</target> | </target> | ||||
<target name="install-lite"> | |||||
<antcall target="dist-lite"> | |||||
<param name="dist.dir" value="${ant.home}" /> | |||||
</antcall> | |||||
</target> | |||||
<!-- | <!-- | ||||
=================================================================== | =================================================================== | ||||
Cleans up build and distribution directories | Cleans up build and distribution directories | ||||
@@ -75,7 +75,7 @@ public class Main { | |||||
public final static String VERSION = "@VERSION@"; | public final static String VERSION = "@VERSION@"; | ||||
public final static String DATE = "@DATE@"; | public final static String DATE = "@DATE@"; | ||||
public final static String BANNER = | public final static String BANNER = | ||||
"Ant version " + DATE + " compiled on " + DATE; | |||||
"Ant version " + VERSION + " compiled on " + DATE; | |||||
/** The default build file name */ | /** The default build file name */ | ||||
public static final String DEFAULT_BUILD_FILENAME = "build.xml"; | public static final String DEFAULT_BUILD_FILENAME = "build.xml"; | ||||