|
Re: Call org.eclipse.gmf.xpand.ant/examples/gmfgen-run.xml [message #747677 is a reply to message #742384] |
Mon, 24 October 2011 08:08 |
|
Hi Ralph,
I don't think the AntRunner has comprehension for eclipse-friendly URI.
You should try something like
"${eclipseBaseBuilder}/plugins/org.eclipse.gmf.xpand.ant/example/gmfgen-run.xml".
HTH
On 20/10/2011 14:52, ralph. wrote:
> Hi,
>
> I want to call org.eclipse.gmf.xpand.ant/examples/gmfgen-run.xml from my
> build file. I try the following:
>
> <ant
> antfile="platform://org.eclipse.gmf.xpand.ant/examples/gmfgen-run.xml"
> target="main">
> <property name="input-gmfgen-model-uri"
> value="../my.plugin/model/model.gmfgen"></property>
> </ant>
>
> I get the follwing error:
>
> BUILD FAILED
> C:\workspace\de.uni_mannheim.informatik.swt.plm.antbuild\test.xml:27:
> The following error occurred while executing this line:
> java.io.FileNotFoundException:
> C:\workspace\de.uni_mannheim.informatik.swt.plm.antbuild\platform:\org.eclipse.gmf.xpand.ant\examples\gmfgen-run.xml
> (The syntax for the file name, directory name or drive is wrong).
>
> What kind of format path do I need to use in order to execute the template?
>
> Thanks,
>
> Ralph
--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
|
|
|
|
|
Re: Call org.eclipse.gmf.xpand.ant/examples/gmfgen-run.xml [message #747814 is a reply to message #747743] |
Mon, 24 October 2011 09:49 |
|
I think you need your Eclipse base builder (the one you invoke to run
the build) to have installed in your plugins/ the whole GMF Tooling
stuff from update-site + the ant bundle.
On 24/10/2011 10:58, ralph. wrote:
> Hi,
>
> I now use the latest version from the repository which produces the
> following output:
>
> Quote:
>> Buildfile:
>> C:\workspace\de.uni_mannheim.informatik.swt.plm.antbuild\test.xml
>>
>> gmfgen:
>>
>> main:
>> [echo]
>> C:\workspace\de.uni_mannheim.informatik.swt.plm.antbuild\gmfgen-build-2001670815.xml
>>
>>
>> BUILD FAILED
>> C:\workspace\de.uni_mannheim.informatik.swt.plm.antbuild\test.xml:46:
>> The following error occurred while executing this line:
>> C:\workspace\org.eclipse.gmf.xpand.ant\examples\gmfgen-run.xml:12:
>> Problem: failed to create task or type
>> eclipse.org/gmf/2008/xpand:template
>> Cause: The name is undefined.
>> Action: Check the spelling.
>> Action: Check that any custom tasks/types have been declared.
>> Action: Check that any <presetdef>/<macrodef> declarations have taken
>> place.
>> No types or tasks have been defined in this namespace yet
>>
>>
>> Total time: 216 milliseconds
>
>
> I looks like I miss a installed plugin or something similar. Where can I
> get this from/how can I make the ant skript aware of this?
>
> Ralph
--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
|
|
|
Powered by
FUDForum. Page generated in 0.03425 seconds