Agreed about OSGi, but since I'm intending the project to be used as library it's easier for possible clients if I don't force OSGi on them.
At the moment I am just using the jars in the classpath as you suggest. However, I was kind of hoping there was a solution between grabbing the jars from eclipse and re-distributing them as part of my project or depending on the whole RCP.
For example, I was wondering if there was a maven repository which contained individual plug-ins so I could l just list the appropriate artifact ids in my dependencies.
Doesn't really matter at the moment, but eventually I'd like to release the code as part of an open source project and packaging and dependency management will be more of an issue.
On 14 November 2011 19:52, Neil Bartlett <[address removed]>
Dependency analysis is so much harder if you insist on not using OSGi ;-)
But, those plug-ins are all still JARs so there is nothing wrong with
putting them on the classpath of a traditional Java runtime. I think
for what you want to do, you just need the JDT core JAR... all the
other stuff you listed is part of OSGi or RCP.
On Sun, Nov 13, 2011 at 8:34 PM, Dave Snowdon <[address removed]> wrote:
> Hi folks
> I'm working on a personal project that requires the use of the eclipse java
> parser in order to create an abstract syntax tree (AST).
> However, the project is intended as a library not a client application and I
> don't want to use the eclipse RCP as it's much more than I need (I don't
> want a SWT UI or to use OSGi).
> Currently, I've simply pulled some jars out of my copy of eclipse. However,
> I'd like to know if there's a recommended way to include eclipse jars in
> other projects other than simply depending on the whole RCP.
> Any thoughts? Comments?
> PS FWIW Here's the jars I'm using at the moment:
> Please Note: If you hit "REPLY", your message will be sent to everyone on
> this mailing list ([address removed])
> This message was sent by Dave Snowdon ([address removed]) from LJC -
> London Java Community.
> To learn more about Dave Snowdon, visit his/her member profile
> To unsubscribe or to update your mailing list settings, click here
> Meetup, PO Box 4668 #37895 New York, New York 10163-4668 |
> [address removed]
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Neil Bartlett ([address removed]) from LJC - London Java Community.
To learn more about Neil Bartlett, visit his/her member profile: http://www.meetup.com/Londonjavacommunity/members/8227563/
To unsubscribe or to update your mailing list settings, click here: http://www.meetup.com/Londonjavacommunity/settings/
Meetup, PO Box 4668 #37895 New York, New York 10163-4668 | [address removed]