Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-dev] [mylyn-docs-dev] Wikitext and maven

Jeremie,

Looks fantastic!  Nice work.  If you're interested in bringing this to Eclipse I think it would be a great contribution.

As for bug 421551 I'd love to see that addressed too.  I haven't had a chance to look over your proposal yet - but will get back to you on that once I've had a look.  I"m cross-posting to mylyn-dev in case anyone there has ideas/opinions on it.  It would be great if we could adopt an approach that would work for the mylyn and mylyn-tasks projects too.

David

On Wed, Sep 23, 2015 at 12:45 PM, Jeremie Bresson <dev@xxxxxxxx> wrote:
A long time ago, I have described how you can use mylyn-wikitext to create the toc.xml files using a list of HTML pages as input. The idea was described on our blog [1].

I am happy to share with you, that I have created a maven plugin called “geneclipsetoc-maven-plugin” to do this task. The code is hosted on GitHub [2] and the Maven repository on Bintray [3].

There is not much code in my plugin. I am not sure yet if this code should be integrated in the Mylyn Wikitext project or if it should continue to live as a separate mini-project.
I would be happy to know the opinion of mylyn wikitext commiters about this.

I had to learn a lot of new stuff to be able to create this maven plugin. I hope that what I did is correct. One ugly point is my dependency to the SNAPTSHOT version of mylyn wikitext. I now better understand why Bug 421551 (publish current stable release to a Maven repository) [4] is important for the maven world.

For this last point I am very confident that I will be able to propose a solution. My approach is to convert the official P2 Update site to a plain maven repository using the Eclipse B3 tool. My next steps are:
* Figure out what the correct P2 update site I should use as input (It should be the P2 Update site where the wikitext jars corresponding to the official wikitext relesases are published).
* Do some extensive tests (with standalone maven projects consuming my repo).
* Write about the result.

I will keep you informed as soon as possible (my time is currently limited).

Best regards,

Jeremie.

[1] https://www.bsi-software.com/scout/toc-xml-from-existing-html/
[2] https://github.com/jmini/geneclipsetoc/
[3] http://dl.bintray.com/jmini/maven/
[4] https://bugs.eclipse.org/bugs/show_bug.cgi?id=421551

_______________________________________________
mylyn-docs-dev mailing list
mylyn-docs-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev



--
David Green
VP of Architecture, Tasktop
Committer, Eclipse Mylyn


Back to the top