ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nitin reddy <nitin.redd...@gmail.com>
Subject How to get list of build files that will be executed for Ant build
Date Wed, 18 Nov 2015 06:46:44 GMT
Hi,

I am writing some plugin/hack which needs all the build files that will be
used by Ant for the project [Multi-module project].

Something similar to this

My Project----- build.xml|----- Module 1
      |
      ----- build.xml|----- Module 2
      |
      ----- build.xml

and the build.xml is like this

<project name="test">
 <property name="project.name" value="test"/>

 <ant antfile="module1/build.xml" />
 <ant antfile="module2/build.xml" />
</project>

There's echoproperties task which can list out some useful information.

But it doesn't list out anything regarding `antfile` which can call
another build.xml



Any help is appreciated.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message