My assembly begins by defining two properties files, importing another XML assembly file, and then begins with all my other goals and objectives:
build.main.xml :
<project name="${proj.name}" default="assemble" basedir="."> <property file="build.main.properties"/> <property file="build.app.properties"/> <import file="${alt.build.file}"/> </project>
build.app.properties :
proj.name=test-proj alt.build.file=build.app.xml
It seems that build.main.xml cannot see / find any properties defined inside build.app.properties ; namely:
- It cannot resolve
${proj.name} , and when I add the build.main.xml file to the Eclipse Ant view, the assembly name is displayed as ${proj.name} - It cannot find
build.app.xml imported from build.main.xml
What's going on here? Do Ant builds only get to import a single property file or something?!? Where can I start troubleshooting?
Edit : with the Eclipse editor, my buildscript has no red / highlighted syntax errors that could lead to misuse of the Ant plugin, etc.
Change I notice problems with properties defined inside build.main.properties to. If I try to repeat them, they will not be noticed by Ant either ...
source share