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 172355 - Template is broken for the palette items
Summary: Template is broken for the palette items
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 08:56 UTC by Alexandr Scherbatiy
Modified: 2009-09-21 09:21 UTC (History)
0 users

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 Alexandr Scherbatiy 2009-09-16 08:56:21 UTC
netbeans-trunk-nightly-200909151512-javafx-full.zip 


Steps to reproduce:

- Drag and drop a Stage itme from the palette to the editor
The result is:
---------------------------------------------------- 
import javafx.stage.Stage;
import javafx.scene.Scene;



&template_start&Stage {
	title : "MyApp"
	scene: Scene {
		width: 200
		height: 200
		content: [  ]
	}
}
&template_end&
---------------------------------------------------- 


Main.fx:14: Sorry, but the character ''&'' does not mean anything to me, at least on its own. Is this a Typo?
&template_start&Stage {
Main.fx:14: Sorry, but the character ''&'' does not mean anything to me, at least on its own. Is this a Typo?
&template_start&Stage {
Main.fx:22: Sorry, but the character ''&'' does not mean anything to me, at least on its own. Is this a Typo?
&template_end&
Main.fx:22: Sorry, but the character ''&'' does not mean anything to me, at least on its own. Is this a Typo?
&template_end&
C:\Documents and Settings\andromeda\My Documents\NetBeansProjects\temp\12\03\App\src\app\Main.fx:10: Sorry, I was trying
to understand the script contents but I got confused because I was looking for the end of the script here.
import javafx.scene.Scene;
5 errors
ERROR: javafxc execution failed, exit code: 1
C:\Documents and Settings\andromeda\My Documents\NetBeansProjects\temp\12\03\App\nbproject\build-impl.xml:143: exec
returned: -1
BUILD FAILED (total time: 2 seconds)
Comment 1 Alexandr Scherbatiy 2009-09-16 08:57:17 UTC
The issue is reproduced on Windows and on Mac
Comment 2 Karol Harezlak 2009-09-16 16:08:07 UTC
Fixed in trunk
Comment 3 Alexandr Scherbatiy 2009-09-21 09:21:17 UTC
verified in netbeans-trunk-nightly-200909201401-javafx-full.zip