|[Acceleo] creating something similar to a JET custom tag with acceleo [message #677399]
||Wed, 08 June 2011 07:57
| Maxime Jeanmart
Registered: November 2010
I relay here a question from one of my team members.
Here is the context. We are planning to switch from Jet templates to acceleo. The developer wants to reproduce some features he was using with Jet. In particular, he had a custom tag that was automatically resolving and adding the imports for java classes (don't ask me the difference with the standard jet import tag). How should he implement that function with Acceleo?
Here is the original question:
> When generate a *.java file, It is difficult to computes all the imports to add in
> this .java file at begin.
> is there a way that automatically computes the imports to add according to the
> classes you use?
> for example :
> In JET, the user can make a custom tag, it like a pool, the user can add the
> imports string dynamically, then it flush its buffer to a file.
thanks & regards,
Powered by FUDForum
. Page generated in 0.06411 seconds