This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 32701

Summary: steps of creation of web module should be declarative if possible
Product: javaee Reporter: Pavel Buzek <pbuzek>
Component: CodeAssignee: Pavel Buzek <pbuzek>
Status: RESOLVED WONTFIX    
Severity: blocker CC: petertliu
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows 3.1/NT   
Issue Type: TASK Exception Reporter:
Bug Depends on: 23818, 32408, 34057    
Bug Blocks:    
Attachments: commit log

Description Pavel Buzek 2003-04-08 10:12:10 UTC
- point to sources declaratively, see http://www.netbeans.org/issues/show_bug.cgi?id=32408

- create and setup jarackager target declaratively
Comment 1 Pavel Buzek 2003-04-08 10:16:09 UTC
does not have direct impact on user, only a design issue
Comment 2 Pavel Buzek 2003-07-23 15:59:11 UTC
current status:
- it is possible to setup props of web module (build target, etc.) and
execution target settings (these are serialized)
- java compilation unit is being setup in wizard, I am waiting for
32408 to use declarative way but to avoid more serialized data

example is in module web/core
src/org/netbeans/modules/project/resources/web-app.project
Comment 3 Peter Liu 2003-07-31 21:26:56 UTC
For the execution target and build target settings for the web module,
are they going to remain as serialized data? If so, how do I go about
creating the data in the first place and how do I serialize them? 
Comment 4 Pavel Buzek 2003-08-08 09:43:20 UTC
Created attachment 11249 [details]
commit log
Comment 5 Pavel Buzek 2003-08-08 10:00:30 UTC
I moved the following parts of setup from wizard into project template:

- java compilation unit, 
- document base, 
- output folders for b. targets, 
- default build target

The remaining parts that are still done programatically in wizard are:
- jarpackager content (I plan to fix this)
- web module version, creation of web.xml and sample files (this will
probably remain in wizard since we let the user to choose the version
of spec and the rest depends on it. It is possible though to put this
into a template if you do not require customization)

The template still contains serialized data for primitive values. We
will be able to replace them with text values when 34057 gets fixed.

The only way to create those serialized data (AFAIK) is to copy/paste
from an existing project file. This is only a temporary solution.

Docs for web project template will be added soon.
Comment 6 Pavel Buzek 2003-08-08 10:45:35 UTC
documentation for web module project updated
Comment 7 Pavel Buzek 2003-09-02 14:46:52 UTC
Implementation of classpath content for library will enable
declarative setup of Servlet API library. It will also make project
transferable to another system since it will replace the absolute URL
pointing to servlet api jar file with a symbolic library name.
Comment 8 Pavel Buzek 2003-12-10 05:28:58 UTC
closing obsolete issues related to prj40_prototype