Have you considered using project facets to modify the project behavior?

 

http://www.eclipse.org/articles/Article-BuildingProjectFacets/tutorial.h
tml

 

 

Mark Walker,

Avaya Canada.

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Mike Murphy
Sent: Friday, June 13, 2008 10:10 AM
To: [email protected]
Subject: [wtp-dev] Adding custom project types?

 

Hi,

I am in charge of creating a plugin to run over WTP that leverages "New
Project" extension point.  The goal is to mass import out project
assets, which include a deployable EE jar file for back end services and
a large HTML/JavaScript project.

My manager rules out using the Import Wizard from a ZIP file or
filesytem once a new WTP project is created.  He wants a custom New
Project wizard that extends the current Dynamic Web Project wizard.  I
created a simple new project wizard that use jFace to unpack a ZIP file
included in the resource bundle.  The assets all get in place but
apparently this doesn't inherit the nature of WTP type projects, and
things server sync etc. don't work.

Is there a way to leverage the nature of WTP in this simple wizard?  Or
do I have to directly modify the WTP build?   I have less than one year
of full time Java experience, and while I'm a clever person that doesn't
seem reasonable to me.  

What is the smart way to approach this?

Thanks,
Mike

 

  _____  

Enjoy 5 GB of free, password-protected online storage. Get Windows Live
SkyDrive.
<http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Ref
resh_skydrive_062008> 

_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to