facebook

Unable to clean build area

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220066 Reply

    klusi
    Member

    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?

    #220073 Reply

    Scott Anderson
    Participant

    It’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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Unable to clean build area

You must be logged in to post in the forum log in