Browse Source

Should make Gump happy:

# Start Time: Tue, 19 Sep 2006 00:26:54 (PDT)
    # End Time: Tue, 19 Sep 2006 00:27:10 (PDT)

    BUILD FAILED
    /x1/gump/public/workspace/ant/build.xml:1072: The following error occurred while executing this line:
    /x1/gump/public/workspace/ant/build.xml:500: resourcecount doesn't support the nested "intersect" element.

<intersect> is a Resource and Resources were not part of the thin-layer of Ant's bootstrap.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447800 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 19 years ago
parent
commit
4260131ac7
2 changed files with 10 additions and 10 deletions
  1. +5
    -6
      bootstrap.bat
  2. +5
    -4
      bootstrap.sh

+ 5
- 6
bootstrap.bat View File

@@ -8,9 +8,9 @@ REM this work for additional information regarding copyright ownership.
REM The ASF licenses this file to You under the Apache License, Version 2.0 REM The ASF licenses this file to You under the Apache License, Version 2.0
REM (the "License"); you may not use this file except in compliance with REM (the "License"); you may not use this file except in compliance with
REM the License. You may obtain a copy of the License at REM the License. You may obtain a copy of the License at
REM
REM
REM http://www.apache.org/licenses/LICENSE-2.0 REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM
REM Unless required by applicable law or agreed to in writing, software REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS, REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -62,7 +62,7 @@ if not exist build\classes\nul mkdir build\classes
echo. echo.
echo ... Compiling Ant Classes echo ... Compiling Ant Classes


"%JAVAC%" %BOOTJAVAC_OPTS% -d %CLASSDIR% %TOOLS%\bzip2\*.java %TOOLS%\tar\*.java %TOOLS%\zip\*.java %TOOLS%\ant\*.java %TOOLS%\ant\types\*.java %TOOLS%\ant\taskdefs\*.java %TOOLS%\ant\util\regexp\RegexpMatcher.java %TOOLS%\ant\util\regexp\RegexpMatcherFactory.java %TOOLS%\ant\taskdefs\condition\*.java %TOOLS%\ant\taskdefs\compilers\*.java
"%JAVAC%" %BOOTJAVAC_OPTS% -d %CLASSDIR% %TOOLS%\bzip2\*.java %TOOLS%\tar\*.java %TOOLS%\zip\*.java %TOOLS%\ant\*.java %TOOLS%\ant\types\*.java %TOOLS%\ant\taskdefs\*.java %TOOLS%\ant\util\regexp\RegexpMatcher.java %TOOLS%\ant\util\regexp\RegexpMatcherFactory.java %TOOLS%\ant\taskdefs\condition\*.java %TOOLS%\ant\taskdefs\compilers\*.java %TOOLS%\ant\types\resources\*.java


if ERRORLEVEL 1 goto mainend if ERRORLEVEL 1 goto mainend


@@ -92,7 +92,7 @@ set ANT_CMD_LINE_ARGS=%$
goto doneStart goto doneStart


:win9xStart :win9xStart
rem Slurp the command line arguments. This loop allows for an unlimited number of
rem Slurp the command line arguments. This loop allows for an unlimited number of
rem agruments (up to the command line limit, anyway). rem agruments (up to the command line limit, anyway).


set ANT_CMD_LINE_ARGS= set ANT_CMD_LINE_ARGS=
@@ -104,7 +104,7 @@ shift
goto setupArgs goto setupArgs


:doneStart :doneStart
rem This label provides a place for the argument list loop to break out
rem This label provides a place for the argument list loop to break out
rem and for NT handling to skip to. rem and for NT handling to skip to.


"%JAVA%" %ANT_OPTS% org.apache.tools.ant.Main -emacs %ANT_CMD_LINE_ARGS% bootstrap "%JAVA%" %ANT_OPTS% org.apache.tools.ant.Main -emacs %ANT_CMD_LINE_ARGS% bootstrap
@@ -135,4 +135,3 @@ set BOOTOLDCLASSPATH=
set LOCALCLASSPATH= set LOCALCLASSPATH=
set OLDANTHOME= set OLDANTHOME=
set TOOLS= set TOOLS=


+ 5
- 4
bootstrap.sh View File

@@ -22,7 +22,7 @@ case "`uname`" in
CYGWIN*) cygwin=true ;; CYGWIN*) cygwin=true ;;
Darwin*) darwin=true Darwin*) darwin=true
if [ -z "$JAVA_HOME" ] ; then if [ -z "$JAVA_HOME" ] ; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
fi fi
;; ;;
esac esac
@@ -131,11 +131,12 @@ echo ... Compiling Ant Classes
${TOOLS}/ant/util/regexp/RegexpMatcher.java \ ${TOOLS}/ant/util/regexp/RegexpMatcher.java \
${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \ ${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \
${TOOLS}/ant/types/*.java \ ${TOOLS}/ant/types/*.java \
${TOOLS}/ant/types/resources/*.java \
${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java \ ${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java \
${TOOLS}/ant/taskdefs/compilers/*.java \ ${TOOLS}/ant/taskdefs/compilers/*.java \
${TOOLS}/ant/taskdefs/condition/*.java ${TOOLS}/ant/taskdefs/condition/*.java
ret=$? ret=$?
if [ $ret != 0 ]; then
if [ $ret != 0 ]; then
echo ... Failed compiling Ant classes ! echo ... Failed compiling Ant classes !
exit $ret exit $ret
fi fi
@@ -153,7 +154,7 @@ echo ... Building Ant Distribution


"${JAVACMD}" -classpath "${CLASSPATH}" -Dant.home=. $ANT_OPTS org.apache.tools.ant.Main -emacs "$@" bootstrap "${JAVACMD}" -classpath "${CLASSPATH}" -Dant.home=. $ANT_OPTS org.apache.tools.ant.Main -emacs "$@" bootstrap
ret=$? ret=$?
if [ $ret != 0 ]; then
if [ $ret != 0 ]; then
echo ... Failed Building Ant Distribution ! echo ... Failed Building Ant Distribution !
exit $ret exit $ret
fi fi
@@ -164,4 +165,4 @@ echo ... Cleaning Up Build Directories
rm -rf ${CLASSDIR} rm -rf ${CLASSDIR}
rm -rf bin rm -rf bin


echo ... Done Bootstrapping Ant Distribution
echo ... Done Bootstrapping Ant Distribution

Loading…
Cancel
Save