Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » file goes erroneously to default package
file goes erroneously to default package [message #46959] Sat, 07 June 2008 11:00 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 676
Registered: July 2009
Senior Member
Hi,

I am generating class/interface combos with this code:

<c:iterate select="//Class" var="_c">
<java:class name="{concat(className($_c/@__qname),'Impl')}"
package="{packageName($_c/@__qname)}"
srcFolder="{$genpath}" template="templates/class.jet"/>

<java:class name="{className($_c/@__qname)}"
package="{packageName($_c/@q__name)}"
srcFolder="{$genpath}"
template="templates/classInterface.jet"/>
</c:iterate>

Strangely, the generated interfaces are not going to their assigned
package, (which should be just the same as their implementation), but to
the default "no named" package. I am also sure I do not change the
variable _c, as I reuse it in classInterface.jet, where it gives the
expected value.

Dont know whats wrong.
Thanks for your hints.

Felix
Re: file goes erroneously to default package [message #46990 is a reply to message #46959] Sat, 07 June 2008 11:10 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 676
Registered: July 2009
Senior Member
Is fixed. Though unexplainable.
Previous Topic:JET beginner question
Next Topic:How to Profile a JET transform?
Goto Forum:
  


Current Time: Fri Apr 19 12:16:53 GMT 2024

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

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

Back to the top