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 44210 - Property defined in project.properties not used
Summary: Property defined in project.properties not used
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-06-02 14:58 UTC by Milan Kubec
Modified: 2007-09-26 09:14 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project.properties (1.20 KB, text/plain)
2004-06-02 16:02 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-06-02 14:58:48 UTC
project.properties contains folowing definitions:

dist.dir=dist

but next line contains this:

dist.jar=dist/JavaApplication0106-1.jar

It means that the defined property is not used.
Comment 1 Milan Kubec 2004-06-02 16:02:24 UTC
Created attachment 15436 [details]
project.properties
Comment 2 David Konecny 2004-06-03 10:58:34 UTC
The property is OK after project creation, but once you open Project
Properties and #1) click on Creating JAR and #2) then on some other
panel and #3) then back on Creating JAR, the customizer infrastructure
tries to update property although it is not necessary. And that's what
I fixed in:

src/org/netbeans/modules/java/j2seproject/ui/customizer/VisualPropertySupport.java;
new revision: 1.5; previous revision: 1.4
Comment 3 David Konecny 2004-06-03 11:01:38 UTC
Pavel, Adam, you may want to integrate this trivial change to your
copies of project customizer.
<http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/VisualPropertySupport.java.diff?r1=1.4&r2=1.5>
Comment 4 Milan Kubec 2004-06-23 12:13:20 UTC
Verified in dev-200406230100.