ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Ruby" <ru...@us.ibm.com>
Subject Re: [GUMP] Bootstrap Failure - Ant
Date Sun, 27 Jan 2002 18:55:31 GMT
Stephane Bailliez wrote:
>
> Don't worry I looked at it. This is 1000% my fault. I have to reorganize
> things here because I keep having several modules and jump from one to
> another and it happens too many times that I modify in one and check changes
> in another.

It happens.  ;-)

See http://jakarta.apache.org/gump/nagged.html .

In this case, it was very promply responded to.  ;-)  ;-)  ;-)

> One thing I did not get is the error reporting.
> - it says that the bootstrap went well which is not true.
> - it says that it only depends on jaxp. That's fine but the bootstrap
> compiles junit tasks...how come junit tasks are compiled in the boostrap ?
> there's something I don't quite get here.

The best way to answer these questions is to show the actual generated scripts that are executed.

Windows:

   SET OUT=^>^>D:\jakarta\log\bootstrap-ant.html
   chdir /d D:\jakarta\jakarta-ant %OUT% 2>&1
   SET CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
   SET CLASSPATH=%CLASSPATH%;C:\opt\jaxp-1.1\jaxp.jar
   SET CLASSPATH=%CLASSPATH%;C:\opt\jaxp-1.1\crimson.jar
   SET STATUS=SUCCESS
   call .\bootstrap.bat %OUT% 2>&1
   if errorlevel 1 SET STATUS=FAILED

Unix (bash):

   export OUT=\>\>/home/rubys/jakarta/log/bootstrap-ant.html
   export STATUS=SUCCESS
   eval "cd /home/rubys/jakarta/jakarta-ant $OUT 2>&1"
   export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar
   export CLASSPATH=$CLASSPATH:/opt/jaxp-1.1/jaxp.jar
   export CLASSPATH=$CLASSPATH:/opt/jaxp-1.1/crimson.jar
   eval "./bootstrap.sh $OUT 2>&1"
   test $? -ge 1 && export STATUS="FAILED"

- Sam Ruby


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message