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 #498763] 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 and open a project, but it hangs when building on a Mac - it works fine on Windows and Linux.

    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); 
	if (monitor.isCanceled())
		throw new BuildException("Project create canceled");
    }
    project.open(monitor);//IT HANGS ON THIS LINE
    if (monitor.isCanceled())
        throw new BuildException("Project open canceled");


Any pointers/help will be greatly appreciated.

[Updated on: Fri, 20 November 2009 16:06]

Report message to a moderator

Re: ANT build hangs on Mac [message #499179 is a reply to message #498763] 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:[p2] config.ini after install in repackaged Mac OS X application issues
Next Topic:ANT build hangs on Mac
Goto Forum:
  


Current Time: Fri Aug 07 22:31:28 GMT 2020

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

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

Back to the top