Skip to main content

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

Hi David,

Thank you for your answer.

For the integration of my geneclipsetoc project into Mylyn Wikitext, I have created bug 478466:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=478466
We can continue the discussion there.

For the maven repository containing the released version of mylyn wikitext, I am happy if you find a solution for all mylyn projects.
In the meantime my solution works for me; I hope to hear feedback from others and see if it works for them. The discussion continues in the Bug itself:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=421551#c11
In order to advertise on the plain maven approach, I wrote a blog post about it:
https://www.bsi-software.com/en/scout-blog/article/maven-repository-for-mylyn-wikitext.html
I have also published a simple “markdown hello-world” example (java class and pom.xml file) in this gist:
https://gist.github.com/jmini/58f66c1bd5d0203c5f67

Best regards,

Jeremie

Le 25.09.2015 05:31, David Green a écrit :

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
 

_______________________________________________
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

 

 

Back to the top