I try to use Websphere development tools on Eclipse Juno 4.2 but I can't get it working nicely. The project is a Maven project and I followed the procedure as described in https://www.ibm.com/developerworks/wikis/download/attachments/113607155/RAD_m2e.pdf?version=1.
I tried serveral settings:
- Automatically publish when resources change
- Run server with resources within workspace
- Minimize application files copied to the server: off
When I change code the following error occurs:
[17/10/12 14:23:00:036 CEST] 00000051 wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl rollUpRoles An error occurred while processing the roles in module Web Module [ org.eclipse.jst.j2ee.application.internal.impl.WebModuleImpl@12e81501 ] URI [ ubench.war ] Alt DD [ null ] Context Root [ ubench ] for application D:\Programs\IBM\WebSphere_85\AppServer\profiles\AppSrv01\wstemp\st_pub1350476575535\workspace\cells\Tim-PCNode02Cell\applications\ubenchEAR.ear\ubenchEAR.ear, error message=org.eclipse.jst.j2ee.commonarchivecore.internal.impl.FileImpl incompatible with org.eclipse.jst.j2ee.commonarchivecore.internal.Archive [17/10/12 14:23:00:110 CEST] 00000051 FFDCJanitor I com.ibm.ws.ffdc.impl.FFDCJanitor doCleanupIfNeeded FFDCJANITOR_DELETED_FILES
If I change the publishing mode to "Automatically publish after a build event", the same error occurs.
However, when I change the publishing mode to "Never publish automatically" updates are going well except for JSP and XHTML files. I see that they are not updated in the map D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0.
Am I doing something wrong. What is strange to me is that even I checked "run server with resources within workspace" the files do get copied to D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0. I thought that the point of "resources within workspace" is that nothing needs to get copied.
Does anyone else experience those problems with Maven enabled projects.