Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MOFScript » get external path of output
get external path of output [message #537058] Tue, 01 June 2010 08:19 Go to next message
yeliu is currently offline yeliu
Messages: 145
Registered: July 2009
Senior Member
Hello,
If no path is given when defining file statement, can I get the externally defined root directory property in the transformation code? How? Thanks for any reply!


Regards,



M
Re: get external path of output [message #541550 is a reply to message #537058] Mon, 21 June 2010 14:05 Go to previous message
Gøran K. Olsen is currently offline Gøran K. Olsen
Messages: 184
Registered: July 2009
Senior Member
Hello,

There is no statement to do that in the language, but you can do this by
making an external java class, and call this one from MOFScript using the
java keyword.
The value is stored on the file properties of your transformation
(right-clicking the transformation will show the stored value) so you will
need to take a look at the MOFScript API.

Cheers,
G
Previous Topic:get external path of output
Next Topic:Subpackages URI problem
Goto Forum:
  


Current Time: Thu Oct 30 13:02:22 GMT 2014

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

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