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

Summary: Property defined in project.properties not used
Product: java Reporter: Milan Kubec <mkubec>
Component: UnsupportedAssignee: David Konecny <dkonecny>
Status: CLOSED FIXED    
Severity: blocker CC: asotona, pbuzek, phrebejk
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    
Attachments: project.properties

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.