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 109737 - [68cat] Inconsistency in project properties window
Summary: [68cat] Inconsistency in project properties window
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-15 08:57 UTC by ulfzibis
Modified: 2016-07-07 07:17 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 ulfzibis 2007-07-15 08:57:24 UTC
In project.properties I have:

javac.compilerargs=-Xbootclasspath/p:${build.classes.dir}
       run.jvmargs=-Xbootclasspath/p:${build.classes.dir}

... but in project properties window I see:

Additional Compiler Options: -Xbootclasspath/p:build/classes
                 VM Options: -Xbootclasspath/p:${build.classes.dir}
Comment 1 ulfzibis 2007-07-15 08:58:16 UTC
I use NB 6.0 M10
Comment 2 novakm 2007-07-16 13:13:17 UTC
Obviously some variables are interpreted and some are not. Reassigning to java for evaluation (I hope it's the right
component).
Comment 3 Tomas Zezula 2007-09-05 16:49:11 UTC
Both should be evaluated.
Comment 4 Tomas Zezula 2007-09-05 17:06:28 UTC
The problem is in J2SEProjectProperties.readRunConfigs which does not evaluate the properties, I am not sure if it's
save to use the project's property evaluator to evaluate the value (the run configurations may override the value of
referenced property). Jesse, is it save to do evaluator.evaluate(property) on the properties read from the configurations?
Comment 5 Jesse Glick 2007-09-05 21:09:10 UTC
No, it is not safe to use the evaluator in this context. I don't see an obvious fix for this, but it seems mostly
harmless. The Properties dialog is anyway not safe to use when you have made special customizations such as this in
project.properties.
Comment 6 Tomas Zezula 2007-09-06 08:08:12 UTC
OK, I agree that it not P3.
Thanks for help.
Comment 7 David Strupl 2009-03-31 15:58:46 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 8 ulfzibis 2009-09-22 11:17:12 UTC
Editing those fields corrupts current project.properties without warning.
IMHO it's time to repair this.

Suggestion:
Don't display interpreted variables in project properties window, so user would be aware of possible problems if editing
those fields.
Comment 9 Martin Balin 2016-07-07 07:17:28 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss