creating java project programmatically [message #326904] |
Wed, 02 April 2008 23:10 |
Eclipse User |
|
|
|
Originally posted by: sureshpendap.gmail.com
I have a set of eclipse projects with .project and the .classpath files on
the filesystem. I would like import thse projects into a new workspace
programatically (something similar to new --> java project --> import from
existing source in the eclipse workbench). It would be better if the
source is not literally copied into the workspace directory.
Is it possible to acheive the above task programmatically. I googled for
some solution but all the links provide ways of creating fresh java
projects programmatically.
|
|
|
|
|
|
Re: importing existing java project programmatically [message #326918 is a reply to message #326909] |
Thu, 03 April 2008 02:39 |
Eclipse User |
|
|
|
Originally posted by: sureshpendap.gmail.com
I do not want to show the UI. Basically i have the eclipse projects
checked into our source code control system (which is not standard). I
want to automate the build process which would
1. check out the source code
2. create an eclipse workspace by importing these projects (by linking not
actually copying) into the workspace
3. Build the workspace.
All the above tasks need to be automated and laucnched from the
commandline. So the import wizards might not solve my purpose.
|
|
|
Re: importing existing java project programmatically [message #326920 is a reply to message #326909] |
Thu, 03 April 2008 03:04 |
Eclipse User |
|
|
|
Originally posted by: sureshpendap.gmail.com
I do not want to launch a UI. I would like to automate the build process
which would check out the projects from our source code control system
(which is not standard like cvs etc) and then create the workspace and
import the projects programmatically and then build the workspace with no
user intervention.
|
|
|
Re: importing existing java project programmatically [message #326933 is a reply to message #326920] |
Thu, 03 April 2008 12:23 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Suresh,
Have you looked at PDE builder and at Eclipse's support for Ant tasks?
Suresh Pendap wrote:
> I do not want to launch a UI. I would like to automate the build
> process which would check out the projects from our source code
> control system (which is not standard like cvs etc) and then create
> the workspace and import the projects programmatically and then build
> the workspace with no user intervention.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03284 seconds