ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laconia Data Systems" <webmas...@laconiadatasystems.com>
Subject Re: Bat to Ant
Date Sun, 24 Oct 2004 13:24:56 GMT
You can incorporate a Java task within sample build.xml
Take a look at
http://ant.apache.org/manual/CoreTasks/java.html
Martin-
----- Original Message ----- 
From: "André Dantas Rocha" <ad-rocha@uol.com.br>
To: <user@ant.apache.org>
Sent: Sunday, October 24, 2004 8:55 AM
Subject: Bat to Ant


Hi,

I have a MS-DOS bat file like this:

"%JAVA_HOME%\bin\java" -cp
"%JAVA_HOME%\lib\tools.jar;%ASPECTWERKZ_HOME%\lib\javassist-3.0RC1.jar;%ASPE
CTWERKZ_HOME%\lib\aspectwerkz-core-1.0.RC3.jar"
org.codehaus.aspectwerkz.hook.ProcessStarter
-Xbootclasspath/p:"\"%ASPECTWERKZ_HOME%\lib\javassist-3.0RC1.jar;%ASPECTWERK
Z_HOME%\lib\aspectwerkz-core-%ASPECTWERKZ_VERSION%.jar\"" -cp "\"%CP%\"" -cp
"\"%ASPECTWERKZ_HOME%\lib\aspectwerkz-%ASPECTWERKZ_VERSION%.jar;%ASPECTWERKZ
_LIBS%\"" -Daspectwerkz.home="\"%ASPECTWERKZ_HOME%\"" %*

I call the batch in this way:

ASPECTWERKZ_HOME/bin/aspectwerkz -Daspectwerkz.definition.file=aop.xml -cp
target testAOP.HelloWorld


I would like to convert to a Ant project. Is it possible? how?

Thanks,

André


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


Mime
View raw message