How to implement <jet.compile2> using customBuildCallbacks.xml [message #490492] |
Thu, 08 October 2009 15:59  |
Eclipse User |
|
|
|
I am trying to generate code from my JET2 templates. I found a patch to <jet.compile> from https://bugs.eclipse.org/bugs/show_bug.cgi?id=210447#c1.
I updated my build.properties as follows:
customBuildCallbacks=true
customBuildCallbacks.failonerror=true
customBuildCallbacks.inheritall=true
I updated customBuildCallbacks.xml as follows:
<target name="pre.@dot">
<jet.compile2 projectDir="${basedir}" destdir="src">
<src dir="." includes="/templates/*.*"/>
</jet.compile2>
</target>
Then I regenerated my build.xml (using File->Export->Ant build files) from within eclipse IDE. But I do not see any subant tasks to reflect the changes that I made to build.properties and customBuildCallbacks.xml.
Is this the way to do it? Do I need to do anything differently?
Any help/suggestions will be appreciated. I am pretty new to this and am struggling with this right now.
Thanks!
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05555 seconds