-
Notifications
You must be signed in to change notification settings - Fork 19
Control adding plugin processors to factorypath #65
Comments
There must be some criteria (non m2e-apt) that decides if this gets added to factory path, but I'm not sure what it is. The projects don't have any explicit "Web Services" facets enabled... |
org.eclipse.jst.ws.annotations.core is added automatically by JDT APT. I believe this is used to contribute annotation processors from Eclipse plugins, but I'm not 100% certain. I never found how to disable it (but I haven't searched extensively either). What kind of error markers does it generate? |
Probably valid, but should be a warning.
Invalid, runtime will be different.
Not sure.
Seems valid, but it works somehow. Maybe there is more type information hidden in related files.
Invalid: it complains about overloaded class method names, because it doesn't see the corresponsing unique operation names in the interface.
No idea. The only google result for this is http://git.eclipse.org/c/webtools/org.eclipse.webtools.incubator.git/tree/webservices/plugins/org.eclipse.jst.ws.jaxws.core/src/org/eclipse/jst/ws/internal/jaxws/core/JAXWSCoreMessages.properties?h=origin&id=a449d9c75b961ae77e4b0f7f9eef725d115999e8 |
For now we have to keep the separate Eclipse configs (org.eclipse.jdt.apt.core.prefs, org.eclipse.jdt.core.prefs, .factorypath).
Which for some reason leads to all test classes and resources being deployed, not just the generated ones (Problem 2)! Removing the test source directory from the Deployment Assembly does fix it, but I don't want to manually manage org.eclipse.wst.common.component (Deployment Assembly) files too. Ugh. I don't know if there is even a point of reporting these subsequent problems... I guess if I create isolated reproducers then maybe... And there is apparently no way to disable test source processing with DS12. I asked for this in https://bugs.eclipse.org/bugs/show_bug.cgi?id=533480 ... |
@fbricon Thanks for the fix/workaround - works as expected for me! |
@famod the update site has been updated as well as the Eclipse marketplace |
We have a bunch of projects. We used to get all sorts of unwanted stuff in factory paths, so for a long time we kept m2e-apt completely disabled and just kept relevant Eclipse project APT configs. But keeping duplicate configs is not very good, and it results in problems when trying out the Developer Studio 12.
So now I saw issue #13 and tried configuring processing like this:
With the Developer Studio 11.1.0.GA this resulted in a much cleaner factorypath than what we used to get:
But this
org.eclipse.jst.ws.annotations.core
is still there. It generates a lot of error markers (hundreds) that aren't very useful. So we don't want it enabled. Could m2e-apt allow not adding or disabling it somehow?The text was updated successfully, but these errors were encountered: