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 #537058] Tue, 01 June 2010 08:19 Go to next message
yeliu is currently offline yeliuFriend
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. OlsenFriend
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: Mon Dec 09 14:26:04 GMT 2024

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

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

Back to the top