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 18166 - Meaningless error message when using AntExecutor on non-Ant files
Summary: Meaningless error message when using AntExecutor on non-Ant files
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-28 18:31 UTC by _ mruflin
Modified: 2003-06-30 14:47 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 _ mruflin 2001-11-28 18:31:28 UTC
When the user tries to execute a non-Ant Script file with AntExecutor, a 
meaningless error message is displayed ("no AntProjectCookie").
The user has no chance to understand why his execution fails.

Maybe something like "Ant Script not found! Are you trying to execute a non-Ant 
file with the AntExecutor?" would give a hint how to fix the problem.
Comment 1 Jesse Glick 2001-11-29 11:40:06 UTC
Makes sense. Actually I will probably just kill AntExecutor instead.
Comment 2 Jesse Glick 2001-12-12 22:08:28 UTC
Will patch for 3.3.1.
Comment 3 Jesse Glick 2001-12-13 14:29:43 UTC
Patched for 3.3.1:

committed   * Up-To-Date  1.6.14.1   
ant/src/org/apache/tools/ant/module/run/AntExecutor.java
committed   * Up-To-Date  1.10.14.1  
ant/src/org/apache/tools/ant/module/run/Bundle.properties
Comment 4 Jesse Glick 2001-12-13 14:37:14 UTC
And in the trunk:

committed   * Up-To-Date  1.7        
ant/src/org/apache/tools/ant/module/run/AntExecutor.java
committed   * Up-To-Date  1.11       
ant/src/org/apache/tools/ant/module/run/Bundle.properties
Comment 5 Milan Kubec 2002-01-14 09:18:02 UTC
Verified in 200201140331.
Comment 6 Quality Engineering 2003-06-30 14:47:54 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.