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 57144 - PVCS: Add fails on project.xml.
Summary: PVCS: Add fails on project.xml.
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-03-29 16:54 UTC by Martin Entlicher
Modified: 2006-03-24 12:52 UTC (History)
1 user (show)

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 Martin Entlicher 2005-03-29 16:54:25 UTC
Reported from an internal customer.
Mount PVCS file system and create a java project in NetBeans.
Shift to versioning window and try to add the project.xml which is under
nbproject directory. Add fails on this, but it is possible to add the
files which are outside the nbproject directory.

Error message while the adding the project.xml is as follows.

Command "Add" has failed. Execution string:
org.netbeans.modules.vcs.profiles.pvcs.commands.PCLICommand.class
AddFiles -pr"C:\etc\PVCS\base2"  -pp"/uml2/nbproject"
-m@"C:\DOCUME~1\THUMIL~1\LOCALS~1\Temp\tempVcsCmd59446output" -t"testing"
"D:\temp\test36\nbproject\project.xml"
No error output is available, the standard output of the command can be
found in Runtime.
Comment 1 Martin Entlicher 2005-03-29 16:57:56 UTC
We need complete output from the Add command (from Runtime).
Comment 2 Martin Entlicher 2005-03-29 17:30:44 UTC
In Runtime -> VCS Commands please find the failed Add command (with red badge).
When you open it's textual output, there's a "Save to file" popup action in the
Output Window. Please save the whole output (check on all enabled checkboxes)
and attach that file to this issue. Thanks.
Comment 3 Martin Entlicher 2005-03-30 11:55:03 UTC
Peter actually helped me to reproduce the problem. It looks like "nbproject"
folder is not added into PVCS. You need to run "PVCS -> Create Project" on
"nbproject" folder. Does the folder have [Local] status?

We can "fix" this by adding the local parent folders into PVCS automatically (we
did that fix in CVS profile). That fix should be easy.
Comment 4 Martin Entlicher 2005-03-30 15:24:01 UTC
Fixed in trunk:

/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcs.xml,v
 <--  pvcs.xml
new revision: 1.57; previous revision: 1.56
Comment 5 Martin Entlicher 2005-04-07 13:10:29 UTC
*** Issue 57595 has been marked as a duplicate of this issue. ***
Comment 6 Peter Pis 2005-04-15 09:51:04 UTC
Verified in NetBeans IDE Dev (Build 200504121930).