Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Re: ant for JET?
Re: ant for JET? [message #31292] Fri, 17 August 2007 12:50
Eclipse UserFriend
Originally posted by:


Please use the M2T newsgroup to ask questions about org.eclipse.jet.
I've added it to the "to" list of the reply. Paul is on vacation
though. Are you running Ant as a headless Eclipse application as
opposed to a stand alone application? Your message implies you are
trying to run without having started a proper headless Eclipse

Yasmin Stoesser wrote:
> Hi!
> Does anyone know how to start the eclipse jet engine with an ant-build-file?
> I tried it with
> <project name="generator-build.xml">
> <target name="init">
> <path id="">
> <pathelement location="classes"/>
> <fileset dir="lib" includes="*.jar" />
> </path>
> <taskdef name="jet.compile" classname="org.eclipse.jet.ant.tasks.JETCompileTask">
> <classpath refid="" />
> </taskdef>
> </target>
> <target name="compile" depends="init">
> <jet.compile project="generator" destdir="jet2java">
> <srcdir dir="./" includes="**/*.jet"/>
> </jet.compile>
> </target>
> </project>
> but that doesn't work.
> I can handle it with the plugin using the "run-dialog" but I want to add more parameter and other build-files, too.
> With the script above I get the following exception:
> java.lang.IllegalStateException: Workspace is close
> I have no idea what to do...
> Thank you for any help!
Previous Topic:[JET] Resource-tags related exceptions when running "headless" transform
Next Topic:[JET2] Is there a Tag librairies ZOO ?
Goto Forum:

Current Time: Sun Jun 24 17:16:18 GMT 2018

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

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

Back to the top