Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Need help in fetching the XPAND files execution results(need help in fetching the XPAND files execution results)
Need help in fetching the XPAND files execution results [message #1269991] Wed, 12 March 2014 11:33
Shwetha B is currently offline Shwetha BFriend
Messages: 1
Registered: March 2014
Junior Member
Hello ,

In many of the XPAND examples, the executed contents are written to the one or other files.

I have a case , where i want to fetch back the XPAND executed contents and store in the JAVA object.

Eg:

«DEFINE A2L_MEASUREMENT_XCP_IF_DATA FOR Collection-»
«FOREACH getAllMCMeasurements() AS measurement»
/begin DATA XETK DEFAULT_RASTERS +«getAddress(measurement)» +/end DATA

«ENDFOREACH »
«ENDDEFINE»


In the above code , after templates executes, the result value ,

"/begin DATA XETK DEFAULT_RASTERS 10 end DATA " should be stored in the object.

Would you please help me, how can i fetch back the executed contents ,without writing to the file?

Thanks ,
Regards,
Shwetha
Previous Topic:Tutorial Errors
Next Topic:Build the Dependent xtext grammar files using ant Script
Goto Forum:
  


Current Time: Tue Apr 16 13:02:59 GMT 2024

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

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

Back to the top