yep: the shortest project should be

  <project/>

:-)


Jan

> -----Ursprüngliche Nachricht-----
> Von: Peter Reilly [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 7. September 2004 15:40
> An: Ant Users List
> Betreff: Re: Basic Question
> 
> Olivier Croisier wrote:
> 
> > Hi
> >
> > Ant buildfiles without a default target are invalid 
> 
> This is not true for ant 1.6+.
> 
> In ant 1.6, if the default target is not set, the default 
> target will be 
> "" - and tasks/types outside targets.
> 
> His problem is an interaction between elipse and ant. He may need to 
> upgrade elipse to version 3.0.
> 
> Peter
> 
> > : <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 
> > <[EMAIL PROTECTED]> 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: <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> 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:[EMAIL PROTECTED]
> >>> 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:[EMAIL PROTECTED]
> >>> 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: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to