Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-dev] Mylyn WikiText and optional dependencies

I'm in the process of working on this, and looking for advice with respect to dependencies:

357294: [api] provide API for converting content to wiki markup
https://bugs.eclipse.org/bugs/show_bug.cgi?id=357294

I'd like to consume jsoup from Orbit, but I'd like to keep WikiText dependencies to a minimum and not require jsoup for use of WikiText.  However if people would like to use the HTML parsing function of WikiText, then they should have the option of using jsoup.  For this reason it makes sense to use an optional dependency -- however I'd like for the dependency to be greedy from a p2 perspective.  What do you think, is this the right approach?  An alternative would be to create a new bundle for this functionality, but It seems a little heavy-weight to create a whole new bundle for this purpose.  If optional dependencies are the way to go, how would I make the dependency greedy for p2?

Thanks,

David

--
David Green
VP of Engineering, Tasktop
Committer, Eclipse Mylyn
http://tasktop.com 
+1-778-588-6896 ext. 115



Back to the top