|
Importing WAR file in using Eclipse Platform API -
11-26-2008, 12:38 PM
Hello,
Am a fairly newbie at writing Eclipse plugins.
I am trying to auto-import a web application from within Eclipse based
on an user action. I see 2 approaches to this:
1. connect to SCM and get the source code in your workspace, create
and open the Project using eclipse API.
2. Use xyzApp.war and import that directly as an eclipse project.
While I have done #1, I feel it exposes to users the source, which I
obviously dont want to give them access to. So my preferred approach
is #2 (importing the archive).
I am unable to find any eclipse platform APIs that would allow me to
do this. Could someone in the group, please lead the horse to the water!
Any URLs, samples would be highly appreciated.
thanks much,
-Jai
|