Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using build.inc instead of "ant antfile"

Status
Not open for further replies.

melomon

Programmer
Sep 18, 2003
7
US
Did anybody use DOCTYPE like below to use antcall targets from separate subbuild files instead of calling with "ant antfile"? If yes, I'd appreciate some sample code. I understand build.inc files will be parsed and verified each time any target is called from main build.xml Which one works faster?
Thanks in advance.

<!DOCTYPE project [
<!ENTITY common SYSTEM 'common/build.inc'>
<!ENTITY service SYSTEM 'service/build.inc'>
....>
]>
<project>
&common;
&service;
...
</project>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top