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 13570 - CVS/VCS does not store Context Root property
Summary: CVS/VCS does not store Context Root property
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All Windows ME/2000
: P3 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords:
Depends on: 31860 34090
Blocks:
  Show dependency tree
 
Reported: 2001-07-13 02:05 UTC by jhoffman
Modified: 2007-07-31 13:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jhoffman 2001-07-13 02:05:35 UTC
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.
Comment 1 Petr Jiricka 2001-09-12 13:40:01 UTC
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.
Comment 2 Jan Chalupa 2001-11-27 17:37:21 UTC
Target milestone -> 3.3.1.
Comment 3 Marek Grummich 2002-07-22 12:08:49 UTC
Set target milestone to TBD
Comment 4 Marek Grummich 2002-07-22 12:17:15 UTC
Set target milestone to TBD
Comment 5 psuk 2003-02-28 17:03:14 UTC
Changing milestone to 4.0.
This bugs needs to be addressed by project infrastructure and new user
view.
Comment 6 Petr Jiricka 2003-03-27 14:22:27 UTC
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.

Comment 7 Petr Jiricka 2004-01-28 19:30:38 UTC
Will be addressed when we have a place to store settings on a
per-project basis, i.e. in promo D.
Comment 8 Petr Jiricka 2004-07-26 18:14:17 UTC
Now context root is stored in the context.xml file of the application.
Comment 9 Dan Kolar 2007-07-31 13:05:22 UTC
v.