Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Programatically creating a Dynamic Web Project
Programatically creating a Dynamic Web Project [message #159501] Tue, 07 February 2006 17:37
Eclipse UserFriend
Using the 1.5M4 WTP source, what is the best example/method for
programatically (from within my plugin, without showing a wizard), create
a Dynamic web project when I know the project name and J2EE type needed?

I've looked and found org.eclipse.jst.sample.web.project.WebPlugin which
details what looks to be a rather good encapsulation for doing this but is
there a better way?

I tried the methods described in
http://www.eclipse.org/webtools/jst/components/j2ee/api/modu le_core_api.html
but could not make them work as I encountered runtime errors accessing
some of the j2ee internal classes.

Looking for any pointers to anyone else doing this... as I've asked in the
past (pre 0.7..) and have had this working in the past but hoping that now
that the API is supposed to be more standardized that there would be a
programmatic interface I could reuse to do this. Thanks in advance!
Previous Topic:Newbie - Classes not building
Next Topic:ear export contains .cvsignore file
Goto Forum:
  


Current Time: Thu Mar 27 13:49:21 EDT 2025

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

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

Back to the top