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 205435

Summary: FX Preloader relative path property wrong if preloader JAR is in distant location
Product: javafx Reporter: Petr Somol <psomol>
Component: DeploymentAssignee: Petr Somol <psomol>
Status: VERIFIED FIXED    
Severity: normal CC: neigor
Priority: P1    
Version: 7.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Petr Somol 2011-11-22 16:25:14 UTC
When adding Preloader to FX project in Run panel, the property holding Preloader path is occasionally wrongly set. This happens while the relative path to Preloader is determined in method JFXProjectUtils.getRelativePath() whenever the Preloader and the FX Project are located in different path sub-trees.
As a result, the Preloader is not found when Run panel is opened the next time. Run and deployment can thus be rendered dysfunctional.
Comment 1 Petr Somol 2011-11-22 16:55:57 UTC
fixed in jetmain
http://hg.netbeans.org/jet-main/rev/eae392f6d8eb
Comment 2 Stepan Zebra 2011-11-22 18:39:03 UTC
verified in trunk, please continue with integration into release71 branch
Comment 3 Quality Engineering 2011-11-23 07:11:39 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/5155a38a9156
User: Petr Somol <psomol@netbeans.org>
Log: #205435 - FX Preloader relative path property wrong if preloader JAR is in distant location
(transplanted from eae392f6d8eb4ee975eef781ef05ba539132d3b5)
Comment 4 Quality Engineering 2011-11-23 15:59:25 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/eae392f6d8eb
User: Petr Somol <psomol@netbeans.org>
Log: #205435 - FX Preloader relative path property wrong if preloader JAR is in distant location
Comment 5 Stepan Zebra 2011-11-25 11:39:19 UTC
verified in rc1 build 201111242103