Bug 335258 - make o.e.m.htmltext available on update site
Summary: make o.e.m.htmltext available on update site
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.4.0   Edit
Assignee: Steffen Pingel CLA
QA Contact: Tom Seidel CLA
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2011-01-24 17:02 EST by Steffen Pingel CLA
Modified: 2011-02-04 14:50 EST (History)
2 users (show)

See Also:


Attachments
mylyn/context/zip (3.17 KB, application/octet-stream)
2011-01-27 15:16 EST, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2011-01-24 17:02:10 EST
As part of modularizing the build (bug 330155) I added the o.e.m.htmltext bundle to the WikiText SDK feature. This will make the bundle available on the main Mylyn update site and also the Indigo release site. 

Let me know if you would like a separate feature for the bundle or any changes.
Comment 1 Steffen Pingel CLA 2011-01-24 17:02:45 EST
I plan on doing a weekly build on Wednesday which will include the changes.
Comment 2 David Green CLA 2011-01-24 17:20:12 EST
Why did you choose the WikiText SDK feature?  Does it make sense for htmltext to get its own feature?

On a side note, just looking at htmtext it looks like everything's API.  Does this make sense for htmltext or should it be refactored so that there are some internal packages.
Comment 3 Steffen Pingel CLA 2011-01-24 17:37:22 EST
All plug-ins are part of the SDK so I assumed the same would apply to HtmlText. Please feel free to remove it if you disagree. As I have said in the description this bug is intended for discussing the best mode of distribution for HtmlText. 

Right now we have no consumers in Mylyn so either including it in the SDK or its own feature works for me. It just needs to be part of some feature to make it available on the update site. What are your thoughts on it? 

We should also consider the 0.0.1 version of the plug-in. I would at at least bump it to 0.7.0 or 1.0.0 if the plug-in is considered stable and suitable for consumption by other projects.
Comment 4 Tom Seidel CLA 2011-01-25 03:29:27 EST
(In reply to comment #3)
> All plug-ins are part of the SDK so I assumed the same would apply to HtmlText.
> Please feel free to remove it if you disagree. As I have said in the
> description this bug is intended for discussing the best mode of distribution
> for HtmlText. 
Ok, I'm fine with that.
> We should also consider the 0.0.1 version of the plug-in. I would at at least
> bump it to 0.7.0 or 1.0.0 if the plug-in is considered stable and suitable for
> consumption by other projects.
Ok, feel free to change the version to 0.7.0. It is suitable for consumptation but doesn't support all html features yet.
Comment 5 Tom Seidel CLA 2011-01-25 03:31:15 EST
> On a side note, just looking at htmtext it looks like everything's API.  Does
> this make sense for htmltext or should it be refactored so that there are some
> internal packages.
The API makes sense. The internal stuff is not Java but JavaScript.
Comment 6 David Green CLA 2011-01-26 18:27:09 EST
(In reply to comment #3)

From what I can see HtmlText doesn't have any commonality with WikiText, so my initial feeling is to put it in its own feature.  If there are plans for HtmlText to implement some of the WikiText APIs or have significant feature overlap then it would make sense to have it part of the same feature.

(In reply to comment #5)

It's always easier to make things API later, rather than straight away.  Do clients normally have to reference the command classes directly, for example?  If not, I recommend that the commands be made internal.
Comment 7 Steffen Pingel CLA 2011-01-26 19:12:22 EST
(In reply to comment #6)
> (In reply to comment #3)
> 
> From what I can see HtmlText doesn't have any commonality with WikiText, so my
> initial feeling is to put it in its own feature.  If there are plans for
> HtmlText to implement some of the WikiText APIs or have significant feature
> overlap then it would make sense to have it part of the same feature.

Good point. I was thinking of the WikiText SDK feature as the Mylyn Docs SDK but as you point out if there is little overlap this may not make sense. Should we create a org.eclipse.mylyn.htmltext feature then? 

To provide integration with the Task Editor would we end up creating a "Rich Text Support for Mylyn" integration feature that would consume the tasks dependencies both for WikiText and HtmlText?
Comment 8 David Green CLA 2011-01-27 15:16:04 EST
(In reply to comment #7)
> Good point. I was thinking of the WikiText SDK feature as the Mylyn Docs SDK but
> as you point out if there is little overlap this may not make sense. Should we
> create a org.eclipse.mylyn.htmltext feature then?

Yes, that sounds like the right thing to do.
 
> To provide integration with the Task Editor would we end up creating a "Rich
> Text Support for Mylyn" integration feature that would consume the tasks
> dependencies both for WikiText and HtmlText?

That sounds like a good idea.  It should contain separate plug-in bundles (one for wikitext and one for htmltext) to keep the dependencies sane.

Note that the existing @AbstractTaskEditorExtension@ won't work in its current form for task editor contributions that don't use a @SourceViewer@.  We may want to come up with a new abstraction, and have a default implementation that supports implementations of @AbstractTaskEditorExtension@.
Comment 9 David Green CLA 2011-01-27 15:16:24 EST
Created attachment 187769 [details]
mylyn/context/zip
Comment 10 Steffen Pingel CLA 2011-01-27 23:08:08 EST
Tom, are you okay with creating a org.eclipse.mylyn.htmltext feature?

> Note that the existing @AbstractTaskEditorExtension@ won't work in its current
> form for task editor contributions that don't use a @SourceViewer@.  We may want
> to come up with a new abstraction, and have a default implementation that
> supports implementations of @AbstractTaskEditorExtension@.

I see. I don't think we'll be able to make that happen for 3.5 since there is a lot on the plate already but I'll create a bug for 3.6.
Comment 11 Tom Seidel CLA 2011-01-28 03:14:48 EST
(In reply to comment #10)
> Tom, are you okay with creating a org.eclipse.mylyn.htmltext feature?
Yes.
Comment 12 Steffen Pingel CLA 2011-01-28 04:00:07 EST
Thanks. I'll go ahead and do that then.
Comment 13 Steffen Pingel CLA 2011-02-01 21:11:55 EST
Added org.eclipse.mylyn.htmltext feature and removed plug-in from WikiText SDK feature. The feature will be available on the weekly site after the next weekly build (hopefully today). You can also check the update site generated by the next mylyn-release build at https://hudson.eclipse.org/hudson/job/mylyn-release/lastSuccessfulBuild/artifact/org.eclipse.mylyn/org.eclipse.mylyn.releng/main-site/target/site/ .
Comment 14 David Green CLA 2011-02-04 14:50:10 EST
Nice work Steffen, that's great.