[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1066) JBoss Server don't remove unused war files from deploy folder.

Rob Stryker (JIRA) jira-events at lists.jboss.org
Wed Oct 10 18:29:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1066?page=comments#action_12381549 ] 
            
Rob Stryker commented on JBIDE-1066:
------------------------------------

The following explanation explains why the folder is still there at step 4:

The reason the folder is not immediately removed when you remove it from the add-remove project wizard is because WTP will *not* remove it until a publish event is called.

When you remove it from add-remove projects, it is marked as removed from the server, but not physically removed.
If you click the publish icon, it will re-sync the server with what modules still belong there. Being as you've marked one 
as removed, it will *then* remove it. 

This is a feature of WTP, *not* of our code. 

As for step 9:  
   Deleting a project *does not* delete the module from the server. It never has. This is also a feature of WTP. 

These are not bugs, but user errors. Both issues. 

> JBoss Server don't remove unused war files from deploy folder.
> --------------------------------------------------------------
>
>                 Key: JBIDE-1066
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1066
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: JBossAS
>         Environment: WindowsXP SP2
> rhds-win32-1.0.0.beta2.jar
> Red Hat Developer Studio
> Version: 1.0.0 BETA2
> Build: beta2
> JDK 1.5_08
>            Reporter: Aliaksey Nis
>         Assigned To: Rob Stryker
>
> 1.Create new JSF project with name test1. Add it to server during project creation (in step 2 of creation wizard).
> 2. Look at deploy folder - test1.war folder appears.
> 3. In Server view (or JBoss Server view), right click on server. Select add and remove project option. Remove project.
> 4. Look at deploy folder - test1.war folder still here.
> 5. Add project to server again (using any method u want).
> 6. In Web projects view right clock on project - select option "Unregister Web content on server".
> 7. Look at deploy folder - test1.war folder removed.
> 8. Create new JSF project with name test1. Add it to server during project creation (in step 2 of creation wizard).
> 9. Delete project. Look at deploy folder - test1.war folder still here.
> Summary. Large amount of old war files, ds files, project folders can be found in server deploy folder. So, any method, used to remove projects from server must remove unused deploy folders.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list