Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » ANT build hangs on Mac
ANT build hangs on Mac [message #603368] Wed, 18 November 2009 15:06 Go to next message
Divan Mostert is currently offline Divan MostertFriend
Messages: 8
Registered: November 2009
Junior Member
Hi,

I'm using an ANT task to create a project, but it hangs when building on a Mac.


IWorkspace workspace = ResourcesPlugin.getWorkspace();
if (workspace.isAutoBuilding())
throw new BuildException("Auto building is enabled");

IProjectDescription description = workspace.loadProjectDescription(projectPath);
IProject project = workspace.getRoot().getProject(description.getName());
IProgressMonitor monitor = AntUtils.getMonitor(this);

if (enableClean && project.exists()) {
project.delete(false, true, monitor);
if (monitor.isCanceled())
throw new BuildException("Project delete canceled");
}

if (!project.exists()) {
project.create(description, monitor); //IT HANGS ON THIS LINE
if (monitor.isCanceled())
throw new BuildException("Project create canceled");
}
project.open(monitor);
if (monitor.isCanceled())
throw new BuildException("Project open canceled");


Any pointers/help will be greatly appreciated.
Re: ANT build hangs on Mac [message #603448 is a reply to message #603368] Fri, 20 November 2009 10:13 Go to previous message
Divan Mostert is currently offline Divan MostertFriend
Messages: 8
Registered: November 2009
Junior Member
Anybody??
Previous Topic:ANT build hangs on Mac
Next Topic:How to add an "extension" in the extensions tab to a plugin programmatically?
Goto Forum:
  


Current Time: Tue Aug 04 09:00:22 GMT 2020

Powered by FUDForum. Page generated in 0.01440 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top