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 45819 - erroneous "build.xml is not an Ant script" exceptions
Summary: erroneous "build.xml is not an Ant script" exceptions
Status: CLOSED DUPLICATE of bug 45606
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-01 22:15 UTC by _ gtzabari
Modified: 2006-03-24 09:52 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 _ gtzabari 2004-07-01 22:15:22 UTC
dev build 200406281800
JDK 1.5 beta 2

    I can't build my project at all. It keeps on
giving me the following exception when I hit F11
(which is impossible since it's supposed to clean
and regenerate the XML file from scratch).

java.io.IOException:
MasterFileObject@a47962[file:/C:/Documents%20and%20Settings/Gili/scp/com/tog/desktopbeautifier/DesktopBeautifier/build.xml]
is not an Ant script
	at
org.apache.tools.ant.module.api.support.ActionUtils.runTarget(ActionUtils.java:56)
	at
org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:259)
	at
org.netbeans.modules.project.ui.actions.MainProjectAction.actionPerformed(MainProjectAction.java:86)
	at
org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:684)
	at
javax.swing.JComponent.processKeyBindings(JComponent.java:2772)
	at
javax.swing.JComponent.processKeyEvent(JComponent.java:2689)
	at
java.awt.Component.processEvent(Component.java:5242)
	at
java.awt.Container.processEvent(Container.java:1961)
	at
java.awt.Component.dispatchEventImpl(Component.java:3933)
	at
java.awt.Container.dispatchEventImpl(Container.java:2019)
	at
java.awt.Component.dispatchEvent(Component.java:3781)
	at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
	at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:668)
	at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:916)
	at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:794)
	at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:632)
	at
java.awt.Component.dispatchEventImpl(Component.java:3819)
	at
java.awt.Container.dispatchEventImpl(Container.java:2019)
	at
java.awt.Window.dispatchEventImpl(Window.java:1764)
	at
java.awt.Component.dispatchEvent(Component.java:3781)
[catch] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jesse Glick 2004-07-04 05:53:41 UTC

*** This issue has been marked as a duplicate of 45606 ***
Comment 2 Marian Mirilovic 2005-07-19 15:24:29 UTC
verified/duplicate