Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Making plugin-based ant tasks in a jar file known to Buckminster
Making plugin-based ant tasks in a jar file known to Buckminster [message #1126252] Sat, 05 October 2013 10:24
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
Hi all,

I am attempting to execute the generation of GMF diagrams using Buckminster.
For this purpose GMF provides a plug-in named org.eclipse.gmf.xpand.ant.
Unfortunately this plug-in is not contained in any update site. Therefore I
tried to copy it into the workspace.

The ant tasks are declared here:

I executed in
order to build the antsupport.jar file.

Afterwards I added a buckminster.cspex file to that bundle with the
following content:

        <public name="generate.editor" actor="jdt.ant">
                <property key="buildFile" value="examples/gmfgen-run.xml" />
                <property key="targets" value="main" />
            <products alias="destination">
                <path path="dummy_output_gmf/" />

The called ant file is located here:

The buckminster commands I am calling are as follows:

# build the xpand.ant plug-in (but continue on errors since other workspace 
bundles are not ready yet)
build --continueonerror
perform "org.eclipse.gmf.xpand.ant#generate.editor"

Since the "ant" actor did not work I tried the "jdt.ant" actor instead. But
this makes no difference. The ant task can not be found:

Problem: failed to create task or type
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

Any idea what could be missing? Is it possibly required to have the
xpand.ant plug-in built inside the headless buckminster instead of putting
it into the workspace? Would it make sense to work with an ant taskdef instead?

Thanks in advance,


[Updated on: Sat, 05 October 2013 10:28]

Report message to a moderator

Previous Topic:Multipath Target Platforms
Next Topic:p2 site generation and required bundle versions
Goto Forum:

Current Time: Sun Jul 21 16:10:02 GMT 2024

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

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

Back to the top