Community
Participate
Working Groups
I would like to jar the org.eclipse.platform.doc isv plug-in which is part of the org.eclipse.platform.source feature. I believe the only way for me to do this currently is to keep a hard-coded feature.xml in the sourceTemplateFeature in the org.eclipse.platform-feature with the attribute unpack="false". This is a request for a mechanism that triggers the addition of unpack="false" for plugins listed in generated source feature.xml via the generate.feature property. ie. maybe something like: generate.feature@org.eclipse.platform.source=org.eclipse.platform, plugin@org.eclipse.platform.doc.isv;unpack="false"
Any progress on this front?
This sounds like a cool idea. Perhaps Andrew could look at this... BTW, just to be sure, Help is happy with content in JAR'd plugins? Does it force the content to be extracted before it can show up on the Help site? Is there anything else about the doc plugin that needs to be changed if it is jard? (e.g., extension markup, ...)
Help is happy with doc plug-ins running from jars. If plug-in is to be run from jar, the doc.zip generation build step should be skipped. HTML and associated files should be in plug-in jar, not zip in a jar. The docs and resources are served by help from jars except the prebuilt indexes. They are extracted before being merged. No change to the doc plug-in markup is needed.
Sounds good. Somehow the build scripts for the source feature has to pass along that the doc.zip step should be skipped for hte doc plugins that have unpack=false
Created attachment 33093 [details] patch Patch adds handling for ;unpack="false" as in Sonia's example above
Patch released in HEAD.
I tested this in a special patch sent by Pascal and the platform.doc.isv plug-in is not being fetched, thus the build fails. Is this something I need to do in customTargets.xml?
Reopening on account of fetch problem. Please close if these plug-ins need to be explicitly fetched.
Created attachment 34100 [details] patch for fetch Problem stems from fetch looking in the map files for "plugin@org.eclipse.platform.doc.isv;unpack="false"" when it should be looking for "plugin@org.eclipse.platform.doc.isv" fix is simple
Second patch applied.