ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils Heimfeld" <n.heimf...@hupc.de>
Subject AW: ant 1.5.1 exection in thread main after installation
Date Thu, 27 Mar 2003 01:44:05 GMT
solution found - thank you very much:

in the ant.bat file I deleted the took out the "" from "%LOCALCLASSPATH%" to
%LOCALCLASSPATH% - so that the runant-row looks now like

:runAnt
"%_JAVACMD%" -classpath %LOCALCLASSPATH% "-Dant.home=%ANT_HOME%"
"-Djwsdp.home=%ANT_HOME%\.." %ANT_OPTS% org.apache.tools.ant.Main
%ANT_CMD_LINE_ARGS%
goto end


Now it worked

Thank you again




-----Ursprungliche Nachricht-----
Von: Sebastien Blanc [mailto:Sebastien.Blanc@alcatel.com]
Gesendet: Donnerstag, 27. Marz 2003 02:25
An: Ant Users List
Betreff: Re: ant 1.5.1 exection in thread main after installation


don't remember either but u can first try to comment the '@echo off' with a
'#' at the beginning of the ANT_HOME/bin/ant.bat file and then check what is
the command line launched for the ':runAnt' label when u type 'ant' (see why
ur CLASSPATH is no good).
seb.

"Bodin, Derek Allen" wrote:

> I believe there was a message about this maybe a month ago.  Try searching
the archives.  I believe the problem has to do with the ant bat file.  I am
away from my home computer right now so I can't tell you the exact line to
change, I am sure someone else in the group remembers though.
>
>
> -Derek Bodin
>
>         -----Original Message-----
>         From: Nils Heimfeld [mailto:n.heimfeld@hupc.de]
>         Sent: Wed 3/26/2003 7:16 PM
>         To: user@ant.apache.org
>         Cc:
>         Subject: ant 1.5.1 exection in thread main after installation
>
>
>
>         Hello,
>
>         after trying and trying I can't manage to get my ant to build the
sun sample
>         applications.
>
>         If I now just type "ant" to check if it works find at the prompt
it displays
>
>         Exception in thread "main" java.lang.NoclassdefFoundError:
>         Files\s1studio_jdk\j2sdk1/4/1_02\lib\tools/jar; d:\develop...and
so on (a
>         list of paths...)
>
>         I have installed the latest version of J2SE and after this the
>         jwsdp-package.
>
>         I have a w2k environment and set the paths as follows:
>         ANT_HOME=D:\develop\jakarta-ant-1.5.1
>         JAVA_HOME=D:\Program Files\s1studio_jdk\j2sdk1.4.1_02
>         Path=D:\develop\jakarta-ant-1.5.1\bin;D:\Program
>         Files\s1studio_jdk\j2sdk1.4.1_02\bin;D:\Program
>         Files\s1studio_jdk\j2sdk1.4.1_02\bin;D:\develop\jwsdp-shared\bin
>
>         Does anybody have a clue what I have done wrong?
>
>         Thank you
>
>         Nils
>
>
>         ------------------------------------------------------------------
---
>         To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>         For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message