Re: ant for JET? [message #31292] |
Fri, 17 August 2007 08:50 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Yasmin,
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
application...
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="system.classpath.id">
> <pathelement location="classes"/>
> <fileset dir="lib" includes="*.jar" />
> </path>
>
> <taskdef name="jet.compile" classname="org.eclipse.jet.ant.tasks.JETCompileTask">
> <classpath refid="system.classpath.id" />
> </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!
>
|
|
|
Powered by
FUDForum. Page generated in 0.06153 seconds