Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » <jet.compile> generates files under wrong directory
<jet.compile> generates files under wrong directory [message #490001] Tue, 06 October 2009 20:09 Go to next message
No real name is currently offline No real nameFriend
Messages: 14
Registered: September 2009
Junior Member
I am using <jet.compile> in my build.xml to generate from jet2 templates. My build.xml looks as follows:

<target name="jetc_multiple_templates" depends="jet-init">
<jet.compile project="com.accenture.tools.tabbed" destdir="src">
<srcdir dir="." includes="templates/*.*"/>
</jet.compile>
</target>

The generated files should go under com.accenture.tools.tabbed\src\com\accenture\tools\tabbed\je tcompiled. But when I execute this, one of them goes correctly under com.accenture.tools.tabbed\src\com\accenture\tools\tabbed\je tcompiled and the other two go under com.accenture.tools.tabbed\src\org\eclipse\jet\compiled.

Do I need to modify my build.xml. I tried different paths under destdir. But regardless of what I put in there, the generated files go under two different dir paths - one under the correct path and the pther tweo under src\org\jet\compiled.

Any help or suggestions will be appreciated!
Re: <jet.compile> generates files under wrong directory [message #490146 is a reply to message #490001] Wed, 07 October 2009 14:18 Go to previous message
Paul Elder is currently offline Paul ElderFriend
Messages: 849
Registered: July 2009
Senior Member
Unfortuntately, this is a bug. I have created

https://bugs.eclipse.org/bugs/show_bug.cgi?id=291608

<jet.compile> is ignoring all project-specific compile settings.

I will work to get this fixed in Galileo SR2 (JET 1.0.2).
Previous Topic:[Xtend]Executing Xtend templates contributed by other plugins through extension point
Next Topic:Building JET2 files using ANT
Goto Forum:
  


Current Time: Fri Nov 15 05:09:13 GMT 2024

Powered by FUDForum. Page generated in 0.03055 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top