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 190996

Summary: RFE: application.splash sets to relative path for portability
Product: java Reporter: Masaki Katakai <masaki>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Masaki Katakai 2010-10-14 06:29:10 UTC
It seems that splash image file is set as absolute path when it's specified on project properties dialog. e.g.

application.splash=C:\\Users\\torutk\\Documents\\myproj\\bluesea.jpg

in nbproject\project.properties.

It would be trouble when the build environment is changed to another.

It's better to set it as relative path from project directory. Usually these image files are stored in project directory.

Workaround:

It seems that we can specify the path from project directory now. When I tried like "src/abc.png", it can be copied properly to jar file from <projectdir>/src/abc.png.
Comment 1 Tomas Zezula 2010-10-14 08:17:18 UTC
The path should use CollocationQuery,  I will verify.