Skip to main content

alphaWorks  >  Forums  >  Model Transformation Framework  >  developerWorks

Eclipse can't find RLD file    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is answered.

Permlink Replies: 1 - Pages: 1 - Last Post: Sep 22, 2008 6:59 AM Last Post By: chris89w347569824 Threads: [ Previous | Next ]
chris89w347569824

Posts: 2
Registered: Sep 18, 2008 10:45:55 AM
Eclipse can't find RLD file
Posted: Sep 18, 2008 11:08:07 AM
 
Click to report abuse...   Click to reply to this thread Reply
I'm trying to execute a transformation programatically from within an eclipse plugin and I get an exception when I try and load the .rdl file:

MappingDefinition def = MappingDefinitionLoader.getApplicationLoader().loadFile("file.rdl");

There's a good reason for the file not found exception I get and that's because it's looking for the file in S:\Eclipse which is my eclipse directory, not in the place where it actually is which is my project directory (S:\Eclipse-WS\project-name).

Any ideas what could be going wrong?

Thanks,

Chris
chris89w347569824

Posts: 2
Registered: Sep 18, 2008 10:45:55 AM
Re: Eclipse can't find RLD file
Posted: Sep 22, 2008 06:59:01 AM   in response to: chris89w347569824 in response to: chris89w347569824's post
 
Click to report abuse...   Click to reply to this thread Reply
I fixed it, it wasn't related to MTF.

Point your RSS reader here for a feed of the latest messages in all forums