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 78887 - Project properties and project.properties don't sync
Summary: Project properties and project.properties don't sync
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker with 1 vote (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-22 10:19 UTC by uweg
Modified: 2009-12-21 05:21 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 uweg 2006-06-22 10:19:49 UTC
The handling of the textfield entry in the window 'Project Properties'
Categories: "Run" 'VM Options:' is not ok. If I used a System Variable like
"${build.classes.dir}" instead of an absolute path like
"c:\Projects\xyz\build\classes\"

I enter and press OK:
-Xbootclasspath/p:${build.classes.dir}

After reopening I have:
-Xbootclasspath/p:build/classes

but remains OK in file project.properties.


If I then have in file project.properties:
application.args=Fritz

and enter in window 'Project Properties': 'Run'->'Arguments:'
Klaus

then Fritz is not updated to Klaus.
Comment 1 Jesse Glick 2006-06-29 16:02:21 UTC
Two separate issues; next time please file separately.

Re. #1 - GUI editing of arguments using Ant property substitutions is not
supported. If you need to do this, do so in the .properties file only.

Re. #2 - probably

application.args=Klaus

was added to private.properties, since that is where application.args is
normally stored. But the customizer should be smart enough to store back to
project.properties if it is set only there.
Comment 2 ulfzibis 2006-06-29 18:44:13 UTC
> Two separate issues; next time please file separately.

We felt, that there were more than these 2 irregularities, so we tried to
formulate an "umbrella". We only choosed these 2, because we had difficulties to
reproduce and clearly describe the others.

Re. #1 - When we edited other fields in GUI and saved them by pressing OK, then
sometimes only "-Xbootclasspath/p:build/classes" was written back to the
.properties file, but was difficult to reproduce reliable. So we only described
the reliable reproducible part. 

Re. #2 - Probably you are right, but we tested different scenarios and in the
end we were not sure, what was going on exactly, because ...

... there should be clarity when the GUI relates to project.properties and when
to private.properties, because we save project.properties in CVS/SubVersion, but
not  private.properties.

Perhaps we need a switch 'private' <-> 'project' in the GUI.
Comment 3 Quality Engineering 2009-12-21 05:21:58 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team