Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <target name="buildSubProjects" depends="init">
- <for list="${projects}" target="buildSubProject" param="project"
- delimiter=",">
- </for>
- </target>
- <target name="buildSubProject">
- <echo message="Build project: ${project}"/>
- <ant antfile="build/build.xml" dir="../${project}" target="cleanAndCompile" inheritall="false" inheritrefs="false">
- <property name="tomcat.dir" value="${tomcat.dir}"/>
- </ant>
- <copy todir="${weblib.dir}" preservelastmodified="true">
- <fileset dir="../${project}/dist">
- <include name="*.jar" />
- </fileset>
- </copy>
- </target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement