I have build an EAR project based on an existing Web Project. The Web Project is the only module within the Enterprise Application. Now, when I try to deploy this application to a JBoss-3.2.2 server, I always get an error message “Unable to clean build area”.
Stack trace in the error log:
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:683)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:643)
at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.removeBuildArea(Unknown Source)
at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.initBuildArea(Unknown Source)
at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.exportEARProject(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentPackager.exportEARProject(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.EARDeployment.deployAsPackageArchive(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.Deployment.deploy(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.wizard.NewDeploymentWizard$2.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Any idea?