--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> > From: Matt Benson [mailto:[EMAIL PROTECTED]
> > If I have a file base.xml which defines, briefly:
> > 
> > <project name="base">
> >   <target name="build" depends="..." />
> > </project>
> > 
> > Then my build.xml imports it:
> > 
> >   <import file="./base.xml" optional="true" />
> > 
> > and overrides build to do some extra stuff:
> > 
> >   <target name="build" depends="base.build">
> >     ...
> >   </target>
> > 
> > How can I keep from failing the build when the
> > base.build target is not found?
> 
> You can't.
> 
Oh, but apparently I can!  It is a hack, but my
preliminary testing suggests that the solution, be it
bug or feature (it's a feature now, by god), is
simple:

just have
<target name="base.build" />

in the importING buildfile...

>:)

-Matt


        
                
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to