Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Headless template expansion
Headless template expansion [message #227086] Thu, 23 April 2009 08:22 Go to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi,
I would like to use xpand in a headless application. One of the requirements are to not include org.eclipse.swt. This
turns out to be difficult since o.e.gmf.xpand and o.e.gmf.expand.ant both imports the org.eclipse.jface.text package
(which implies dependencies to org.eclipse.jface and in turn org.eclipse.swt).

Are there any plans to change this and make headless deployment possible?

Regards,
Thomas Hallgren
Re: Headless template expansion [message #227157 is a reply to message #227086] Thu, 23 April 2009 13:33 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Thomas,

> turns out to be difficult since o.e.gmf.xpand and o.e.gmf.expand.ant
> both imports the org.eclipse.jface.text package
Here you can see required bundles from o.e.gmf.xpand (no org.eclipse.jface.text
AFAIKSee)..

Require-Bundle: org.eclipse.emf.ecore;bundle-version="[2.2.0,3.0.0)";visibility:=reexport,
org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)",
org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",
net.sourceforge.lpg.lpgjavaruntime;bundle-version="[1.1.0,2.0.0) ";visibility:=reexport,
org.eclipse.m2m.qvt.oml;bundle-version="[2.0.0,3.0.0)";visibility:=reexport,
org.eclipse.m2m.qvt.oml.common;bundle-version="[2.0.0,3.0.0) ",
org.eclipse.m2m.qvt.oml.project;bundle-version="[2.0.0,3.0.0) ",
org.eclipse.m2m.qvt.oml.runtime;bundle-version="[2.0.0,3.0.0) ",
org.eclipse.gmf.xpand.qvtlibrary;bundle-version="[1.0.0,2.0.0) "

-----------------
Alex Shatalin
Re: Headless template expansion [message #227188 is a reply to message #227157] Thu, 23 April 2009 14:26 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Please look at the imported packages, not the required bundles...

Regards,
Thomas Hallgren

Alex Shatalin wrote:
> Hello Thomas,
>
>> turns out to be difficult since o.e.gmf.xpand and o.e.gmf.expand.ant
>> both imports the org.eclipse.jface.text package
> Here you can see required bundles from o.e.gmf.xpand (no
> org.eclipse.jface.text AFAIKSee)..
>
> Require-Bundle:
> org.eclipse.emf.ecore;bundle-version="[2.2.0,3.0.0)";visibility:=reexport,
> org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)",
> org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",
> net.sourceforge.lpg.lpgjavaruntime;bundle-version="[1.1.0,2.0.0) ";visibility:=reexport,
>
> org.eclipse.m2m.qvt.oml;bundle-version="[2.0.0,3.0.0)";visibility:=reexport,
>
> org.eclipse.m2m.qvt.oml.common;bundle-version="[2.0.0,3.0.0) ",
> org.eclipse.m2m.qvt.oml.project;bundle-version="[2.0.0,3.0.0) ",
> org.eclipse.m2m.qvt.oml.runtime;bundle-version="[2.0.0,3.0.0) ",
> org.eclipse.gmf.xpand.qvtlibrary;bundle-version="[1.0.0,2.0.0) "
>
> -----------------
> Alex Shatalin
>
>
Re: Headless template expansion [message #227259 is a reply to message #227188] Thu, 23 April 2009 16:15 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Thomas,

> Please look at the imported packages, not the required bundles...
Thanks a lot for the report.. I've corrected both o.e.gmf.xpand and o.e.gmf.expand.ant
plugins. Unsused packages were removed from MANIFEST.MFs.

-----------------
Alex Shatalin
Re: Headless template expansion [message #227279 is a reply to message #227259] Thu, 23 April 2009 18:09 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Alex,
Thanks. When will this fix be available on an update site?

- thomas

Alex Shatalin wrote:
> Hello Thomas,
>
>> Please look at the imported packages, not the required bundles...
> Thanks a lot for the report.. I've corrected both o.e.gmf.xpand and
> o.e.gmf.expand.ant plugins. Unsused packages were removed from
> MANIFEST.MFs.
>
> -----------------
> Alex Shatalin
>
>
Re: Headless template expansion [message #227340 is a reply to message #227279] Fri, 24 April 2009 12:21 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Thomas,

> Thanks. When will this fix be available on an update site?
It will be included into the next integration build of GMF.

-----------------
Alex Shatalin
Previous Topic:few questions
Next Topic:Model navigator
Goto Forum:
  


Current Time: Fri Apr 19 21:31:47 GMT 2024

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

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

Back to the top