Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Programmtically creating a project OUTSIDE the workspace
Programmtically creating a project OUTSIDE the workspace [message #242935] Thu, 20 May 2004 19:38 Go to next message
Eclipse UserFriend
Originally posted by: clee3.students.depaul.edu

is it possible to create a new java project programatically outside the
workspace root? or is this a restriction.

thanks,

Chris
Re: Programmtically creating a project OUTSIDE the workspace [message #243172 is a reply to message #242935] Fri, 21 May 2004 14:26 Go to previous message
Eclipse UserFriend
Originally posted by: dj_houghton.nospam.ca.ibm.com

You need to set the project location in the project description. If the
location is null then the default location is used. See IProject#create.

In order to make your project a Java project you need to add the Java
nature to its description. Take a look at the Java Project Wizard. It
does what you are looking for.

The org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlo ck class
seems to have some convenience methods that might interest you.



Christopher Lee wrote:
> is it possible to create a new java project programatically outside the
> workspace root? or is this a restriction.
>
> thanks,
>
> Chris
>
Previous Topic:Why M9 is not available?
Next Topic:deleting from cvs
Goto Forum:
  


Current Time: Wed Jul 17 18:33:14 GMT 2024

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

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

Back to the top