MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
klusi
Post subject: Unable to clean build area  PostPosted: Nov 26, 2004 - 11:58 AM
Registered Member
Registered Member


Joined: Sep 02, 2004
Posts: 5

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?
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Nov 26, 2004 - 04:18 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

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.

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits