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.
A value entered into the Context Root property of the WEB-INF node is stored locally in the .nbattrs file (for example /ifixit). When a Version control system is used with a web module, this information is not stored. If you attempt to extract the web module on a different machine, you may not be able to execute it without the context root property being set properly. We need to find some way to save this value in a VCS. Perhaps the project concept can be used.
Currently there is no way to specify that a particular setting should be shared among users except for creating a source file containing this setting. Will be fixed with the new projects framework.
Target milestone -> 3.3.1.
Set target milestone to TBD
Changing milestone to 4.0. This bugs needs to be addressed by project infrastructure and new user view.
We need to evaluate whether this issue needs to be addressed for the NB 3.5/S1S Nevada release. It would be useful if there was a document describing generically how exactly the IDE should behave wrt. VCS, and what is the common user view for VCS. My interpretation of the Nevada requirements is the following: It must be possible to use all relevant VCS operations with all source files, and all information that is a part of the application must be stored in VCS. For Nevada release, we do not support sharing of the IDE environment, build and deployment settings etc., via VCS. Although it is highly desirable to store all such information in VCS, the IDE architecture does not at this point allow it. In fact, one of the motivations for Projects (NB 4.0) is to allow sharing of the IDE environment among users via VCS. By the servlet specification, the value of the context root string is not packaged or distributed with the war file, and it is basically viewed as a deploy-time property. The IDE treats it accordingly - as a deployment- related setting. Thus it is not stored in VCS in NetBeans 3.x, which is behavior consistent with other settings (although admittedly it would be nice if all setting were shared). Thus I believe we should not attempt to look for a fix for NB 3.5.
Will be addressed when we have a place to store settings on a per-project basis, i.e. in promo D.
Now context root is stored in the context.xml file of the application.
v.