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 - RFE: application.splash sets to relative path for portability
Summary: RFE: application.splash sets to relative path for portability
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 06:29 UTC by Masaki Katakai
Modified: 2010-10-14 08:17 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.