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 177040 - dist.jar name won't be updated when app name is updated
Summary: dist.jar name won't be updated when app name is updated
Status: RESOLVED DUPLICATE of bug 157921
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 18:23 UTC by Masaki Katakai
Modified: 2009-11-18 03:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-11-17 18:23:38 UTC
It seems that file name for generated jar file is based on application name and 
"dist.jar" is not updated in project.properties file. It causes a problem when other projects uses libraries in JavaFX project.

1. Create a JavaFX project e.g. "JavaFXApplication7"

2. Put some codes and compile/run
   dist/JavaFXApplication7.jar will be created -> OK

3. Change the application name on project property dialog e.g. test and compile/run

   dist/test.jar will be created -> OK

4. Create another Java or JavaFX projecs and add libraries
   of JavaFXApplication7 project by selection the project

   "dist/test.jar" should be added, however
   "dist/JavaFXApplication7.jar" is added.

It seems that

     dist.jar=${dist.dir}/JavaFXApplication7.jar

is remaining and not updated properly when application name is updated.
Comment 1 Adam Sotona 2009-11-18 03:34:17 UTC

*** This bug has been marked as a duplicate of bug 157921 ***