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 20:41
yongjiezheng is currently offline yongjiezhengFriend
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: Mon Nov 24 16:45:13 GMT 2014

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

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