Community
Participate
Working Groups
Build Identifier: CVS Head Our product uses features, so I extended the war product editor to add support for features. Also as mentioned on the newsgroup, the plugin start levels need to be set if using the simpleconfigurator, so I added that support as well. Most of this functionality was copied over from the normal product editor. I tried to fix the validation where possible, but I think some parts do not work properly. The extra functionality added in PluginSectionExtended is only used if using plugins instead of features. There is also a fix for resolving linked resources for bug 322280. I apologize for the patch being so intertwined with different changes, but I was just hacking it up for our needs. Reproducible: Always
Created attachment 176278 [details] patch with many changes
Hi Cole, it's very cool that you made the effort to create a patch to make the WAR products even better. I reviewed your patch. It looks good but I have some points to discuss. - Your patch brakes 13 tests. The tests are included in org.eclipse.rap.warproducts.core.test. The changes should not brake the current functionality. - The code doesn't fit our coding conventions. See http://wiki.eclipse.org/RAP/CodingConventions - As you pointed out by yourself, the validation doesn't work anymore. But the validation is a core feature of the WAR Products because many new users don't know what's needed to export a .war file. - Your changes include no tests. At least the new core functionality should be tested well. - The patch includes changes for bug 322280. It would be nice if you can split these functionalities and provide a separate patch for this bug. So, I see the need to support the things you pointed out. But in this state I can't accept the patch. It would be very nice if you can put a little bit more effort to resolve the issues I mentioned above. I will point you through problems if they coming up. We can use this bug for discussion if you want. Looking forward to a new patch ;) Thanks for your work. Regards Holger
Hi fellows, it has already been an year since the last activity on this enhancement. If you don't plan to improve this patch to a state that it would be merged in the code repository, then perhaps it is better to close this bug as WONT FIX.
Cole, would you like to rework the patch?
At this point it's going to be a rewrite rather than rework. I took a look before the Indigo release to see if I could get it up to date, but too much had changed. The patch was made when the tooling was still in the RAP incubator before it moved to Libra. I think the PDE internals that it was using changed in the meantime as well. I still plan on getting this done at some point since we rely on feature-based products. However, it is not a priority since our patched version works for our needs, so I don't have a timeframe for getting it done.