Skip to main content

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

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.

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

Current Time: Sat Oct 01 04:47:32 GMT 2022

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

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

Back to the top