ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Croisier" <Olivier.Crois...@thales-is.com>
Subject Re: Basic Question
Date Tue, 07 Sep 2004 13:31:00 GMT
Hi

Ant buildfiles without a default target are invalid : <project> tags are required to
provide one "default" attribute. Check that your buildfile is well-formed & valid, but
I think Ant would've complained in a more explicit manner if you had forgotten that attribute...

However, I wonder how Ant reacts if the "default" attribute is present, but empty ? I think
the resulting error message could look like your error message, so please investigate this
way too.

Hope this helps
Olivier



On Tue, 7 Sep 2004 09:05:52 -0400, Laconia Data Systems <webmaster@laconiadatasystems.com>
wrote:

> Rhino et al-
> More specifically you invoked Ant with no target specification e.g.
> $Ant
> and your build.xml has not specified a default target
> i.e. your build.xml has a default="" target
> Anyone else ???
> Martin-
> ----- Original Message -----
> From: <Jan.Materne@rzf.fin-nrw.de>
> To: <user@ant.apache.org>
> Sent: Tuesday, September 07, 2004 1:30 AM
> Subject: AW: Basic Question
>
>
> That means, you - or your IDE :) - tried to invoke a target named "none" and
> that
> doesnt exist in the specified buildfile.
>
> That sounds to me that a needed flag in your IDE isnt set ... usually you
> havent any
> target "none" ...
>
>
> Jan
>
>> -----Urspr√ľngliche Nachricht-----
>> Von: Rajesh [mailto:rajesh@gkbcinc.com]
>> Gesendet am: Montag, 6. September 2004 21:29
>> An: 'Ant Users List'
>> Betreff: RE: Basic Question
>>
>> Hai Rhino ,
>>
>> Can you please provide your ant code pls
>>
>> Rajes
>>
>>   _____
>>
>> From: Rhino [mailto:rhino1@sympatico.ca]
>> Sent: Tuesday, September 07, 2004 12:50 AM
>> To: ant-user
>> Subject: Basic Question
>>
>>
>> Can someone remind me what I'm doing wrong if I get this
>> message from an Ant
>> script?
>>
>> BUILD FAILED: Target `none' does not exist in this project.
>>
>> I think it has to be some kind of basic syntax error; the
>> task or tasks I
>> run actually seem to work fine but the script inevitably ends
>> with this
>> message when run in Eclipse 2.1.3. The script works fine when
>> I run it from
>> the command line instead.
>>
>> I know I've seen this error before but I tend to work with Ant very
>> sporadically - a couple of hours every few months - so I've
>> forgotten what
>> it means.
>>
>> I am running Ant 1.6.1 in both Eclipse and the command line.
>>
>> Rhino
>> ---
>> rhino1 AT sympatico DOT ca
>> "There are two ways of constructing a software design. One
>> way is to make it
>> so simple that there are obviously no deficiencies. And the
>> other way is to
>> make it so complicated that there are no obvious
>> deficiencies." - C.A.R.
>> Hoare
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



-- 
CROISIER Olivier
Software Engineer
Thales IS - ANS
olivier.croisier@thales-is.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message