|Re: Add Environment Library [message #986913 is a reply to message #986682]
||Thu, 22 November 2012 10:59
| Jan Koehnlein
Registered: July 2009
I'd expect that to be in the JavaProjectFactory but it doesn't have an |
hook for that, as we usually generate Plugin projects, which use plugin
dependencies rather than libs.
Looks like you have to override the JavaProjectFactory and add the
functionality yourself. AFAIK it boils down to adding a classpath entry,
but that's more a JDT related question.
Am 21.11.12 12:09, schrieb Andrea Margheri:
> Hi, I have developed a DSL project in Xtext and its related wizard for
> creating a new project; I need a Java project due to generated files are
> java class. Thus, the wizard create a new java project, but how can I
> add to Java Environment an external library? This library is yet into
> Eclipse environment, infact is referenced by the DSL plugin. Manually I
> can add this to Java project, but I'd like to do it programmatically.
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Powered by FUDForum
. Page generated in 0.09761 seconds