Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Project wizard in exported plug-ins
icon5.gif  Project wizard in exported plug-ins [message #628676] Thu, 23 September 2010 16:11 Go to next message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
Hi,

I created a project wizard which creates projects for my dsl which are independent of JDT, PDE, and Xtext/Xpand.

It works fine when I start the IDE as eclipse application. But if I export the plug-ins into dropin my wizard does not show up anymore under new project.

Any hints are much appreciated.

Thanks,
Marco
Re: Project wizard in exported plug-ins [message #628713 is a reply to message #628676] Thu, 23 September 2010 17:59 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Marco,

please double-check you build.properties for any missing entries such as
plugin.xml or icons folder.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 23.09.10 18:11, schrieb Marco:
> Hi,
>
> I created a project wizard which creates projects for my dsl which are
> independent of JDT, PDE, and Xtext/Xpand.
>
> It works fine when I start the IDE as eclipse application. But if I
> export the plug-ins into dropin my wizard does not show up anymore under
> new project.
>
> Any hints are much appreciated.
>
> Thanks,
> Marco
Re: Project wizard in exported plug-ins [message #628748 is a reply to message #628713] Thu, 23 September 2010 22:26 Go to previous messageGo to next message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
It is both there, together with . and META-INF.

The contents of the jar looks fine with one exception: Beside the JDTFreeProjectCreator.class is a JDTFreeProjectCreator$1.class. Where does this come from?

Maybe more relevant:
The File/New menu of the re-started IDE with the jars in plugins has the entries Java Project and Project. The IDE started as eclipse application with "all workspace and enabled target plug-ins" has just an entry Project with Java Project and MyDsl Project below. Why is this menu different?

/m
Re: Project wizard in exported plug-ins [message #628785 is a reply to message #628748] Fri, 24 September 2010 07:11 Go to previous messageGo to next message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Am 9/24/10 12:26 AM, schrieb Marco:
> It is both there, together with . and META-INF.
>
> The contents of the jar looks fine with one exception: Beside the
> JDTFreeProjectCreator.class is a JDTFreeProjectCreator$1.class. Where
> does this come from?

That's an anonymous class in JDTFreePRojectCreator.
Common Java thing - no problem.

>
> Maybe more relevant:
> The File/New menu of the re-started IDE with the jars in plugins has the
> entries Java Project and Project. The IDE started as eclipse application
> with "all workspace and enabled target plug-ins" has just an entry
> Project with Java Project and MyDsl Project below. Why is this menu
> different?

Could be a couple of reasons. Maybe you run different versions of JDT
ui, or the capabilities are adjusted differently, or you may look at a
different perspective?

As I understood the menu entry is shown, but it doesn't work, right?
You could add a breakpoint to your bundles' Activator.start() to see
whether an exception is thrown during start().
If it is not called at all, you might want to use the OSGi console in
order to track the problem down.

Sven


--
Need professional support for Xtext or other Eclipse Modeling technologies?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : http://blog.efftinge.de
Re: Project wizard in exported plug-ins [message #628828 is a reply to message #628785] Fri, 24 September 2010 10:31 Go to previous messageGo to next message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
Hi Sven,

There is no entry for my Wizard in the selection of New/Project.

How can I debug? If I start (or debug) as eclipse application everything is fine. But if I export into dropins and re-start the IDE the wizard is missing.

/m
Re: Project wizard in exported plug-ins [message #628843 is a reply to message #628828] Fri, 24 September 2010 11:54 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Marco,

is it possible to edit an editor for your language? Is the plugin
available at all? Maybe there's something wrong with your drop-ins
folder? can you see your plug-in from the OSGi console?

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 24.09.10 12:31, schrieb Marco:
> Hi Sven,
>
> There is no entry for my Wizard in the selection of New/Project.
>
> How can I debug? If I start (or debug) as eclipse application everything
> is fine. But if I export into dropins and re-start the IDE the wizard is
> missing.
>
> /m
Re: Project wizard in exported plug-ins [message #628847 is a reply to message #628843] Fri, 24 September 2010 12:16 Go to previous message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
Hi Sebastian,

The editors work fine. My plugins are shown as Active.

Just no wizard.

/m
Previous Topic:Inconsistent error markers
Next Topic:Does XText support opening files outside of workspace?
Goto Forum:
  


Current Time: Thu Sep 26 06:50:23 GMT 2024

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

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

Back to the top