Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » MOFScript » get external path of output
get external path of output [message #589908] Tue, 01 June 2010 08:19 Go to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
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!


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

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.

Previous Topic:MOFScript installation on Ganymede
Next Topic:get external path of output
Goto Forum:

Current Time: Fri Mar 01 02:01:02 GMT 2024

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

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

Back to the top