Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [JET] Can JET accept variables of the array type?
[JET] Can JET accept variables of the array type? [message #703695] Wed, 27 July 2011 16:41
yongjiezheng is currently offline yongjiezheng
Messages: 10
Registered: March 2011
Location: California
Junior Member
Hi,

What I'm trying to do is to pass a variable of the array or collection type (containing a list of interface names that the generated class needs to implement) to the method JET2Platform.runTransformOnResource(). I know that JET can accept a map that contains variable names and their values. The problem is, a map cannot contain duplicate keys (e.g. "interface").

This collection of interface names is dynamically generated, and is not specified in the XML file that JET parses.

Any help would be highly appreciated.

William
Previous Topic:acceleo : support for variable increment in for loops?
Next Topic:[Acceleo] Unable to run transformation
Goto Forum:
  


Current Time: Fri Aug 29 08:10:37 EDT 2014

Powered by FUDForum. Page generated in 0.01567 seconds