Hi Hyunik,
I usually use a java task (
http://ant.apache.org/manual/Tasks/java.html)
and run JastAddJ similar to how it would be run on the command line:
<java classname="org.jastadd.jastaddj.JavaCompiler">
<classpath>
<pathelement path="${jastaddj.path}"/>
</classpath>
</java>
Of course it would be possible to create an Ant task for JastAddJ. It's
possible someone else has already done this.
/Jesper
On 11/29/2012 09:45 AM, Na, Hyunik wrote:
>
> Hello JastAddJ users,
>
> I need to build several benchmark programs using JastAddJ (actually,
> using my extension of JastAddJ).
>
> As a first attempt, I'm trying to build jfreechart
> (http://www.jfree.org/jfreechart/).
>
> As usual for java programs, jfreechart's build script is an ant
> script, and I need to modify the build.xml
>
> so that the build procedure use JastAddJ instead of javac.
>
> Perhaps, I have to replace javac tasks with something else like java
> or exec tasks.
>
> (Yes, I'm not so familiar with ant.)
>
> What is your usual way of using JastAddJ in ant scripts? Using a
> custom task for JastAddJ ? (if any)
>
> or just using built-in tasks such as java or exec ?
>
> Cheers,
>
> - Hyunik
>
>
>
> _______________________________________________
> JastAdd mailing list
> JastAdd_at_cs.lth.se
> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd
Received on Thu Nov 29 2012 - 15:56:53 CET