|
Re: Programmtically creating a project OUTSIDE the workspace [message #243172 is a reply to message #242935] |
Fri, 21 May 2004 10:26  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03149 seconds