FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

helloworld, sample program all can't run, and shows the same error

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
neoaries



Joined: 31 Dec 2008
Posts: 1

PostPosted: Wed Dec 31, 2008 2:38 pm    Post subject: helloworld, sample program all can't run, and shows the same error Reply with quote

mine is netbeans 6.5, and i installed wtk 2.5.2 for eclipse. I'm satisfied with netbeans 6.5 doing my j2ee projects, it worked quite well, its sun java application server integrated with netbeans is quite nice and convenient, but what's going on with it when doing helloworld and sample programs in j2me!?

btw, other ppl can run the same program without error....quite frustrated...


My error is:

--------------------
Exiting C:\NBProjs\Proj7_2\build.xml.
C:\NBProjs\Proj7_2\nbproject\build-impl.xml:371: The following error occurred while executing this line:
C:\NBProjs\Proj7_2\nbproject\build-impl.xml:1333: The <tempfile> type doesn't support the "deleteonexit" attribute.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: C:\NBProjs\Proj7_2\nbproject\build-impl.xml:1333: The <tempfile> type doesn't support the "deleteonexit" attribute.
at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:389)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:370)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:324)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:254)
at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:189)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
at org.apache.tools.ant.Task.perform(Task.java:363)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
... 12 more
--- Nested Exception ---
C:\NBProjs\Proj7_2\nbproject\build-impl.xml:1333: The <tempfile> type doesn't support the "deleteonexit" attribute.
at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:389)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:370)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:324)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:254)
at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:189)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
at org.apache.tools.ant.Task.perform(Task.java:363)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
BUILD FAILED (total time: 0 seconds)
Back to top
View user's profile Send private message
Petr Suchomel
Posted via mailing list.





PostPosted: Mon Jan 05, 2009 11:24 am    Post subject: helloworld, sample program all can't run, and shows the same error Reply with quote

Did you change the Ant version you are running on? NB6.5 has Ant 1.7,
where deleteonexit is supported.
Could you give more light how you build the project?
--Petr**

neoaries wrote:
Quote:
mine is netbeans 6.5, and i installed wtk 2.5.2 for eclipse. I'm satisfied with netbeans 6.5 doing my j2ee projects, it worked quite well, its sun java application server integrated with netbeans is quite nice and convenient, but what's going on with it when doing helloworld and sample programs!?



btw, other ppl can run the same program without error....quite frustrated...





My error is:



--------------------

Exiting C:\NBProjs\Proj7_2\build.xml.

C:\NBProjs\Proj7_2\nbproject\build-impl.xml:371: The following error occurred while executing this line:

C:\NBProjs\Proj7_2\nbproject\build-impl.xml:1333: The <tempfile> type doesn't support the "deleteonexit" attribute.

at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)

at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)

at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499)

at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)

Caused by: C:\NBProjs\Proj7_2\nbproject\build-impl.xml:1333: The <tempfile> type doesn't support the "deleteonexit" attribute.

at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:389)

at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:370)

at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:324)

at org.apache.tools.ant.Task.maybeConfigure(Task.java:254)

at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:189)

at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)

at org.apache.tools.ant.Task.perform(Task.java:363)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)

... 12 more

--- Nested Exception ---

C:\NBProjs\Proj7_2\nbproject\build-impl.xml:1333: The <tempfile> type doesn't support the "deleteonexit" attribute.

at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:389)

at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:370)

at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:324)

at org.apache.tools.ant.Task.maybeConfigure(Task.java:254)

at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:189)

at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)

at org.apache.tools.ant.Task.perform(Task.java:363)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)

at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)

at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499)

at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)

BUILD FAILED (total time: 0 seconds)











--
Petr Suchomel <address-removed>
Sun Microsystems, Inc.
Phone +420 2 33009234 (x49234), Fax +420 2 33009311
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB