ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: <import optional="true"> and inherited targets
Date Fri, 09 Apr 2004 18:58:42 GMT
--- Dominique Devienne <DDevienne@lgc.com> 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="..." />
</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?

-Matt

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

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


Mime
View raw message