jet ant task [message #39256] |
Fri, 11 January 2008 13:57 |
Eclipse User |
|
|
|
Originally posted by: ymo.noemail.com
Hi.
I am trying desperatly to find which jar contains the JETCompileTask &
JETTransformTask classes. My ant sctipt is pasted below. I could not find
a reference on how these classes are supposed to be done with a taskdef.
BTW I am running ant from within eclipse. I am not running this from
outside eclipse with the eclipse antrunner in headless way.
p.s.
is there a way in eclipse i could say show me which which jar contains a
particular class ? this would be really nice !
<target name="jet-init" depends="init">
<path id="Plug-in Dependencies.libraryclasspath">
<pathelement
location=" ${eclipse.home.dir}/plugins/org.eclipse.text_3.3.0.v20070606 -0010.jar "
/>
<pathelement
location=" .${eclipse.modeling.dir}/3rdp/eclipse/plugins/modeling/model ing-2008-01-10/eclipse/plugins/org.eclipse.jet_0.8.1.v200709 20.jar "
/>
<pathelement
location=" .${eclipse.modeling.dir}/3rdp/eclipse/plugins/modeling/model ing-2008-01-10/eclipse/plugins/org.eclipse.jet.core_1.0.1.v2 0070920.jar "
/>
<pathelement
location=" .${eclipse.modeling.dir}/3rdp/eclipse/plugins/modeling/model ing-2008-01-10/eclipse/plugins/org.eclipse.emf.common_2.3.0. v200709252135.jar "
/>
</path>
<path id="project.classpath">
<pathelement location="build" />
<pathelement location="build/" />
<path refid="Plug-in Dependencies.libraryclasspath" />
</path>
<taskdef name="jet.compile"
classname="org.eclipse.jet.ant.tasks.JETCompileTask">
<classpath refid="Plug-in Dependencies.libraryclasspath" />
</taskdef>
<taskdef name="jet.transform"
classname="org.eclipse.jet.ant.tasks.JETTransformTask">
<classpath refid="Plug-in Dependencies.libraryclasspath" />
</taskdef>
</target>
<target name="jet-build" description="" depends="jet-init">
<jet.transform transformid="test.jet"
resource="${path.src.viewer}/sample.xml" />
</target>
|
|
|
Re: jet ant task [message #39287 is a reply to message #39256] |
Fri, 11 January 2008 15:33 |
Eclipse User |
|
|
|
Originally posted by: ymo.noemail.com
Just for clarifications we want to ship the jet transformations runtime
only. This is not meant for crating new templates. Its just to run the
already compiled transformations. My understanding is that we need an
eclipse like environment even to run the jet transformations.
|
|
|
|
|
Re: jet ant task [message #40150 is a reply to message #39872] |
Wed, 16 January 2008 16:14 |
Eclipse User |
|
|
|
Originally posted by: ymo.noemail.com
Hi Paul.
What do you mean PDE build ? I have eclipse 3.3.1 augmented with the
latest modeling code (EMF.EMFT,GMF etc...) . From within eclipse i can
create an EMFT JET launch configration and use it to launch my
transformations.
However if i open the ant view and drop my ant files i cant execute them.
Is this normal ? Or ant files only run when started from outside eclipse
using the antrunner ?
It always complains about the ant tasks. BTW i figured the ant tasks are
in source format only there is no jar file containing these 2 tasks.
eclipse\plugins\org.eclipse.jet_0.8.1.v20070920.jar does not have these
tasks. They are available in source format only under
eclipse\plugins\org.eclipse.jet.source_0.8.1.v20070913\src\o rg.eclipse.jet_0.8.1.v20070920\antsrc\org\eclipse\jet\ant\ta sks
I am wondering why ?
|
|
|
|
Powered by
FUDForum. Page generated in 0.02322 seconds