Skip to main content



      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 16:09 Go to next message
Eclipse UserFriend
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 10:18 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 14:12:51 EDT 2025

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

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

Back to the top