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.
Summary: | steps of creation of web module should be declarative if possible | ||
---|---|---|---|
Product: | javaee | Reporter: | Pavel Buzek <pbuzek> |
Component: | Code | Assignee: | 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
does not have direct impact on user, only a design issue 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 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? Created attachment 11249 [details]
commit log
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. documentation for web module project updated 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. closing obsolete issues related to prj40_prototype |