Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » JETEmitter ant task template question
JETEmitter ant task template question [message #392546] Tue, 26 April 2005 18:01 Go to next message
Srimanth  is currently offline Srimanth Friend
Messages: 225
Registered: July 2009
Senior Member
Hello,
I am trying to use the JET Emitter ant task in a build.xml. I specify in
the ant task
<emf.JETEmitter
templatefile="templates/some/path/someTemplate.javajet"
newfile="Output.java"
/>

When i run the build.xml as an ant task it finds the template, but is
unable to locate the skeleton file mentioned in the .javajet file. It
says "org.eclipse.emf.codegen.jet.JETException: <skeleton file> (The
system cannot find the path specified)".

Is it acceptable to have skeletons in the javajet files compiled with
the ant task? Is there some missing attribute that needs to be mentioned
here?
Regards,
Sri.
Re: JETEmitter ant task template question [message #392550 is a reply to message #392546] Tue, 26 April 2005 21:57 Go to previous messageGo to next message
Marcelo Paternostro is currently offline Marcelo PaternostroFriend
Messages: 602
Registered: July 2009
Senior Member
Hi Sri,

There is a problem in the way the JETEmitter task is handling the
templatePath, which ends up compromising the skeleton path resolution.

Can you please open a bugzilla against the EMF tool component?

Regards,
Marcelo.

Sri Gunturi wrote:
> Hello,
> I am trying to use the JET Emitter ant task in a build.xml. I specify in
> the ant task
> <emf.JETEmitter
> templatefile="templates/some/path/someTemplate.javajet"
> newfile="Output.java"
> />
>
> When i run the build.xml as an ant task it finds the template, but is
> unable to locate the skeleton file mentioned in the .javajet file. It
> says "org.eclipse.emf.codegen.jet.JETException: <skeleton file> (The
> system cannot find the path specified)".
>
> Is it acceptable to have skeletons in the javajet files compiled with
> the ant task? Is there some missing attribute that needs to be mentioned
> here?
> Regards,
> Sri.
Re: JETEmitter ant task template question [message #392558 is a reply to message #392550] Wed, 27 April 2005 00:38 Go to previous message
Srimanth  is currently offline Srimanth Friend
Messages: 225
Registered: July 2009
Senior Member
Hi Marcelo,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=92860
Regards,
Sri.


Marcelo Paternostro wrote:
> Hi Sri,
>
> There is a problem in the way the JETEmitter task is handling the
> templatePath, which ends up compromising the skeleton path resolution.
>
> Can you please open a bugzilla against the EMF tool component?
>
> Regards,
> Marcelo.
>
> Sri Gunturi wrote:
>
>> Hello,
>> I am trying to use the JET Emitter ant task in a build.xml. I specify
>> in the ant task
>> <emf.JETEmitter
>> templatefile="templates/some/path/someTemplate.javajet"
>> newfile="Output.java"
>> />
>>
>> When i run the build.xml as an ant task it finds the template, but is
>> unable to locate the skeleton file mentioned in the .javajet file. It
>> says "org.eclipse.emf.codegen.jet.JETException: <skeleton file> (The
>> system cannot find the path specified)".
>>
>> Is it acceptable to have skeletons in the javajet files compiled with
>> the ant task? Is there some missing attribute that needs to be
>> mentioned here?
>> Regards,
>> Sri.
Previous Topic:loading XML files
Next Topic:Mapping Hibernate objects into SDO
Goto Forum:
  


Current Time: Wed Apr 24 13:56:32 GMT 2024

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

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

Back to the top