Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » JDT independent DSL
JDT independent DSL [message #691039] Thu, 30 June 2011 15:29 Go to next message
Michel Simeon is currently offline Michel SimeonFriend
Messages: 130
Registered: December 2009
Senior Member
I have developed an application made of a DSL, an interpreter and a help system.

I wanted to deploy it as a RCP. Using the discussions in this forum as well as in https://bugs.eclipse.org/bugs/show_bug.cgi?id=336217 I was able to produce a Java independent RCP. No Java section in the "New" menu !

Now I'd like to do the same when deploying my application as an add-on to an existing Eclipse installation. I created a feauture with my plugins and an update site with that feature. I installed a bare Eclipse platform (eclipse-platform-3.7-win32.zip) and then used "Add new software" to install my feature. Eclipse was able to pull all other required bits, starting with XText, but also JDT, and a Java section in the "New" menu.

Is there a way to avoid JDT being included ?

Thanks

MS

Re: JDT independent DSL [message #691066 is a reply to message #691039] Thu, 30 June 2011 15:51 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
This is because "optional" is handled as "greedy" when performing an
install - if it is there it will be installed.

There is a long discussion about this related to this regarding if this
is a p2 issue, or if it should be handled when publishing. (Don't have a
reference to that discussion handy though...)

- henrik

On 6/30/11 5:29 PM, Michel Simeon wrote:
> I have developed an application made of a DSL, an interpreter and a help
> system.
>
> I wanted to deploy it as a RCP. Using the discussions in this forum as
> well as in https://bugs.eclipse.org/bugs/show_bug.cgi?id=336217 I was
> able to produce a Java independent RCP. No Java section in the "New" menu !
>
> Now I'd like to do the same when deploying my application as an add-on
> to an existing Eclipse installation. I created a feauture with my
> plugins and an update site with that feature. I installed a bare Eclipse
> platform (eclipse-platform-3.7-win32.zip) and then used "Add new
> software" to install my feature. Eclipse was able to pull all other
> required bits, starting with XText, but also JDT, and a Java section in
> the "New" menu.
>
> Is there a way to avoid JDT being included ?
>
> Thanks
> MS
>
Re: JDT independent DSL [message #691080 is a reply to message #691066] Thu, 30 June 2011 16:36 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Here is the link: https://bugs.eclipse.org/bugs/show_bug.cgi?id=247099
- henrik

On 6/30/11 5:51 PM, Henrik Lindberg wrote:
> There is a long discussion about this related to this regarding if this
> is a p2 issue, or if it should be handled when publishing. (Don't have a
> reference to that discussion handy though...)
>
> - henrik
>
> On 6/30/11 5:29 PM, Michel Simeon wrote:
>> Is there a way to avoid JDT being included ?
>>
Re: JDT independent DSL [message #691310 is a reply to message #691080] Fri, 01 July 2011 07:56 Go to previous messageGo to next message
Michel Simeon is currently offline Michel SimeonFriend
Messages: 130
Registered: December 2009
Senior Member
Thank you Henrik. I guess I have to live with that issue for a while !!!

MS
Re: JDT independent DSL [message #691420 is a reply to message #691310] Fri, 01 July 2011 12:35 Go to previous messageGo to next message
Michel Simeon is currently offline Michel SimeonFriend
Messages: 130
Registered: December 2009
Senior Member
As a matter of fact, I can get an install without JDT as follows:

- I add to my update site one or more features that include all required plug-ins that are not in the bare Platform

- I disable the all Eclipse update sites except the Mads one

- I install ...


MS
Re: JDT independent DSL [message #692611 is a reply to message #691420] Mon, 04 July 2011 20:43 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3108
Registered: July 2009
Senior Member
Hi Michel,

you may want to follow this ticket:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351102

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

On 01.07.11 14:35, Michel Simeon wrote:
> As a matter of fact, I can get an install without JDT as follows:
>
> - I add to my update site one or more features that include all required
> plug-ins that are not in the bare Platform
>
> - I disable the all Eclipse update sites except the Mads one
>
> - I install ...
>
>
> MS
Re: JDT independent DSL [message #692769 is a reply to message #692611] Tue, 05 July 2011 07:49 Go to previous message
Michel Simeon is currently offline Michel SimeonFriend
Messages: 130
Registered: December 2009
Senior Member
Thanks. I'll keep monitoring it.

MS
Previous Topic:Multiple resources and validation problem
Next Topic:pdf of xtext 2 documentation
Goto Forum:
  


Current Time: Sun Sep 27 17:03:06 GMT 2020

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

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

Back to the top