Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Programatically creating a Dynamic Web Project
Programatically creating a Dynamic Web Project [message #159501] Tue, 07 February 2006 22:37
Alex Townsend is currently offline Alex TownsendFriend
Messages: 4
Registered: July 2009
Junior Member
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 Aug 01 01:39:57 GMT 2024

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

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

Back to the top