You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/05/19 06:31:16 UTC

DO NOT REPLY [Bug 9196] - No default default target

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9196>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9196

No default default target

steve_l@iseran.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From steve_l@iseran.com  2002-05-19 04:31 -------
you are right, there is no default, default target. This is by design. Ant 
strives to avoid all the 'implicit' rules of tools like make (which has the 
first target in the file is the default rule, and all the stuff about tabs and 
newlines). You need to set the 'default' attribute to explicitly state the 
default, and that is how it is going to stay. If we changed this then IDEs 
that host ant would all get confused. 

Now, I understand from your previous bugrep that you are trying to use ant as 
a shell execution descriptor, rather than a build tool. I fear that it is 
overkill for simple file exec, underkill for a real workflow language, the 
latter because it works to the simple rule that any error breaks the build. I 
wish you luck with your attempt, and will be curious to see the result, but am 
reluctant to make fundamental changes to the core ant product to meet this off-
axis use case. 

you are of course, free to make those changes yourself :)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>