This script is just a common way to call Ant. The bash script has a few
improvements, as getting a good classpath, and retrieve the correct path.
Not tested, but a simple build.bat should likes :
set JAVACMD=C:\jdk1.3\bin/java
set JONAS_CVS_ROOT=C:\foo
set ANT_CLASSPATH=%CLASSPATH%
set ANT_CLASSPATH=%ANT_CLASSPATH;%JONAS_CVS_ROOT%\objectweb\lib\ant.jar
set ANT_CLASSPATH=%ANT_CLASSPATH;%JONAS_CVS_ROOT%\objectweb\lib\parser.jar
set ANT_CLASSPATH=%ANT_CLASSPATH;%JONAS_CVS_ROOT%\objectweb\lib\jaxp.jar
%JAVACMD% -classpath %ANT_CLASSPATH% org.apache.tools.ant.Main -buildfile
%JONAS_CVS_ROOT% %1
I prefer to use suchj scripts in order to be sure that you will use the
correct librairies of Ant, which are in %JONAS_CVS_ROOT\objectweb\lib.
Indeed, when you develop special ant tasks you are sure to get the good
archive.
Le Lundi 20 Ao�t 2001 10:07, vous avez �crit :
> Hi Laurent,
>
> I looked at http://mapage.noos.fr/vixxes/jonas and tried it out, but
> without success, since I am using windows and so I have to rewrite that
> bash script. What I wonder is, for what this script is needed. I also used
> ant before (but not with JOnAS), but always just startet it with ant and
> not with such a complex script. Can you, in short terms, explain what this
> script does, for I am not a bash guru?
>
> Thank you
> Marku
>
>
> To: [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".