ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject RE: <import optional="true"> and inherited targets
Date Fri, 09 Apr 2004 18:58:42 GMT
--- Dominique Devienne <> wrote:
> Now I'm the one lost.
> I thought you asked about your post's title... Silly
> me ;-)
> I'm not following you. --DD

If I have a file base.xml which defines, briefly:

<project name="base">
  <target name="build" depends="..." />

Then my build.xml imports it:

  <import file="./base.xml" optional="true" />

and overrides build to do some extra stuff:

  <target name="build" depends="">

How can I keep from failing the build when the target is not found?


Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message