Community
Participate
Working Groups
Build Identifier: 20110218-0911 Calling clean... (on JBoss 5) doesn't clean, it does nothing different from publishe. If an EAR is deployed, clean doesn't call org.eclipse.jst.server.generic.core.internal.publishers.AntPublisher#unpublish. AntPublisher also has no special treatment for getKind() == IServer.PUBLISH_CLEAN. Clean should call unpublish, then publish. Reproducible: Always Steps to Reproduce: 1. select server -> add and remove... -> add EAR 2. select server -> publish 3. select server -> clean...
The current workaround for clean is to remove the EAR from the server, call publish, add the EAR back to the server, then call publish again. This is what clean should do.