Programatically creating a Dynamic Web Project [message #159501] |
Tue, 07 February 2006 17:37 |
Eclipse User |
|
|
|
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!
|
|
|
Powered by
FUDForum. Page generated in 0.03704 seconds