- This topic has 1 reply, 2 voices, and was last updated 20 years ago by Scott Anderson.
-
AuthorPosts
-
klusiMemberI 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?
Scott AndersonParticipantIt’s probably that the .mymetadata directory in your project has been made read-only or has files in it that you don’t have the access rights to delete. The .mymetadata folder is a temporary folder that MyEclipse creates and uses at various times during the build process and is located in the root directory of each project. You should be able to see it from the Navigator View. Please ensure that this folder is *not* checked into a version control system since the files will be unique to each developer and do not need to be preserved.
-
AuthorPosts