Re: project templates
Pavel Buzek <[email protected]> Wed, 23 Jul 2003 17:21:54 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Message-ID | <[email protected]> |
Peter,
I am the developer currently responsible for integration of web module
with projects.
The goal is to make this possible to customize everything declaratively
in your project template, although it is not 100% done, tested and
documented at this moment.
I plan to add documentation for this when it will be final. Now I will
try to describe how to get started:
I expect that you will first want to define a project nature that
depends on the web nature ("org-netbeans-modules-web-project") or on ejb
nature. That way the web services project will have all the
characteristics of web module project, including the java project nature.
All of this should be documented in projects apis documentation and/or
netbeans developers guide but if you have questions, please ask.
(a curious question: do you plan to have 2 different natures, one for ws
project that extends web module project and one for we project that
extends ejb project?)
The template for your project will then list the web services nature:
<folder name="ProjectDescriptor">
<folder name="Natures">
<file name="name of ws nature">
</file>
</folder>
</folder>
Then you put the customization for the various natures that are in the
project into your template. Customization for Java nature depends on
both 32408 and 32701. Customization for web nature depends on 32701 and
documentation (I promise to work on it soon). You will also need to
customize another nature: "org-netbeans-modules-j2ee-deployment". This
is currently only possible using serialized data. I was working on these
settings so I filed an task for myself (35107), but I am not sure if the
format there is anywhere close to final state. Adding George to CC to
comment on this.
so all these issues must be resolved for you:
http://www.netbeans.org/issues/show_bug.cgi?id=32701
http://www.netbeans.org/issues/show_bug.cgi?id=32408
http://www.netbeans.org/issues/show_bug.cgi?id=35107
-pavel
Peter Liu wrote:
>
> Hi All,
>
> I am a developer on the S1S team. I have a question regarding
> project templates.
>
> For Sequoia, we plan to create a web service project that extends
> either a web application or an EJB module project. In order to do this,
> we want to be able to create a web service project template that inherits
> from the project template for the web app ot the ejb module.
>
> For example, in order to create a web service project that extends
> a web application project, the project template used to instantiate
> the project needs to be a combination of the project templates
> for the web app and web service with the web service template taking
> precedence.
>
> Is this currently possible? Or is there a different way to achieve the
> same thing.
>
>
>
> Peter
>
>
>
> Thanks.
>
> Peter Liu
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>