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 30453 - Can not add additional Properties file to CVS
Summary: Can not add additional Properties file to CVS
Status: VERIFIED DUPLICATE of bug 31061
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-28 21:29 UTC by _ proxity
Modified: 2007-01-04 17:14 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 _ proxity 2003-01-28 21:29:12 UTC
I'm working on a CVS controlled project.
Using NetBeans I copied the
ApplicationResources.properties file which is
under CVS control. Then I pasted it as a copy and
renamed it to ApplicationResources_de.properties
to add a new language to the webapp. At this point
the new file vanishes, because NetBeans handles
the properties files as one file for easier
editing. This is generally very nice, but even in
the filesystem tab
ApplicationResources_de.properties can not be
found, so it can not be added to the CVS project!
Comment 1 dmladek 2003-02-10 11:30:31 UTC
And have you tryied using Versiong Explorer ?
This is kinda view of individual File(Object)s and in simple 
Explorer (doesn't matter if it is in Project's TAB or not) there are 
displayed whole DataObjects which is handled by IDE's internal logic
and thus Properties files are treated as one DO...

I suggest cloese this bug as IVALID or WONTFIX....
Any objections?
Comment 2 Jiri Kovalsky 2003-02-11 14:45:03 UTC
Exactly Daniel. Recommended workflow is to use "Versioning Explorer"
for this purpose, Boris. I also propose to resolve this as won't fix.
Martin ?
Comment 3 Martin Entlicher 2003-02-11 14:51:03 UTC
Well, we need to check the behavior when you run Add on the whole
DataObject. The behavior of the command-line integration is that only
the local files are added and other files in the DataObject are
ignored. This behavior is important for J2EE modules in S1S. So
javacvs should behave the same way I think. It should not be that hard
to implement.
Comment 4 _ proxity 2003-02-14 10:55:40 UTC
I think I simply overlooked, that the Properties file can be expanded!
Then I get two new nodes: one for the default language and one for de
(german). These nodes have both a CVS context menu, so I assume that
it's possible to add the new file by using NetBeans. I did it already
using cvs add in the shell.
Comment 5 Martin Entlicher 2003-02-14 11:16:33 UTC
Wow, I don't believe my eyes! I'm not sure this is supposed to work,
it was not there before. Some actions (e.g. rename) do not work on the
locales nodes. I'm going to fill an issue and ask for explanation of
what is this supposed to do.
Comment 6 Martin Entlicher 2003-02-14 11:23:40 UTC
Issue #31061 submitted to properties module.
Comment 7 Martin Entlicher 2003-03-06 12:17:26 UTC
The secondary locales can be added through the Versioning Explorer as
Dan pointed out. Also there was implemented feature #31056, that makes
the addition of secondary files very easy (for the command-line CVS
integration currently, it will be extended for JavaCVS in 4.0).

Also you can take the advantage of special behavior of Properties
nodes, that allow you to add individual locales from the sub-nodes.
This resolving as a duplicate of issue #31061, since after issue
#31061 is fixed this should work.


*** This issue has been marked as a duplicate of 31061 ***
Comment 8 Jiri Kovalsky 2003-10-06 16:01:20 UTC
Okay, verifying as duplicate issue and hoping that properties guys
will resolve it soon.