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 180532 - File copying breaks the package declaration
Summary: File copying breaks the package declaration
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: J Bachorik
Depends on:
Blocks: 173077
  Show dependency tree
Reported: 2010-02-10 04:15 UTC by Alexandr Scherbatiy
Modified: 2010-03-09 06:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-02-10 04:15:22 UTC
NetBeans-JavaFX-Soma: 148

  Product Version         = NetBeans IDE Dev (Build 201002080200) (#4d6aa72cca05)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.

Steps to reproduce:

- Create a JavaFX file:
----   Main.fx  -------------------
package javafxapplication17;

import javafx.stage.Stage;

Stage {

- Copy the class to the same package with AAA name

The result is:
package AAAfxapplication17;

import javafx.stage.Stage;

Stage {

The package declaration 'package AAAfxapplication17;' does not fit the package name.
Comment 1 J Bachorik 2010-02-10 05:01:13 UTC
fixed in
Comment 2 Alexandr Scherbatiy 2010-02-11 06:10:32 UTC
NetBeans-JavaFX-Soma: #149

Now the results is changed to :
AAAage javafxapplication8;

import javafx.stage.Stage;

Stage {

JavaFXApplication8\src\javafxapplication8\AAA.fx:7: You have forgotten the ';', which is needed to separate one expression from the next.
AAAage javafxapplication8;
1 error
Comment 3 J Bachorik 2010-03-05 07:56:46 UTC
Comment 4 Alexandr Scherbatiy 2010-03-09 06:19:06 UTC
verified in NetBeans-JavaFX-Soma:  #179