Topic
No replies
gautam_m_rao
gautam_m_rao
10 Posts
ACCEPTED ANSWER

Pinned topic Java to UML Transformation an script fails in command line

‏2012-10-02T19:02:19Z |
Based on the IBM documentation provided, i am using the following ant script

<project name="myproj" default="mytest" basedir=".">
<target name="mytest">
<echo>Initiating Transformation from UML to Java using MyFile.tc</echo>
<com.ibm.xtools.core.runTransformation transformConfig="myProj\MyFile.c" reverse="false"/>
<echo>Transformation complete...</echo>
</target>
</project>

I tried running this script on RSA, it works. When i try running this script by including the classpaths on command line. It throws an error IllegalStateException:Workspace is closed. Is there a way to run transformation without using eclipse, but running ant standalone?