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 07:00 Go to next message
Felix Dorner is currently offline Felix Dorner
Messages: 675
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 07:10 Go to previous message
Felix Dorner is currently offline Felix Dorner
Messages: 675
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: Sat Aug 23 15:51:20 EDT 2014

Powered by FUDForum. Page generated in 0.01713 seconds