1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
<project name="appsforyourdomain" default="build.appsforyourdomain" basedir=".">
<!-- Path containing appsforyourdomain.xml -->
<dirname property="build_dir" file="${ant.file.appsforyourdomain}"/>
<import file="${build_dir}/core.xml"/>
<import file="${build_dir}/calendar.xml"/>
<!-- ===================================================================== -->
<!-- Build GData AppsForYourDomain library. -->
<!-- ===================================================================== -->
<property name="gdata-appsforyourdomain.jar"
value="${build.jars}/gdata-appsforyourdomain-${appsforyourdomain.spec.version}.jar"/>
<path id="build.service.appsforyourdomain.classpath">
<pathelement location="${gdata-client.jar}"/>
<pathelement location="${gdata-calendar.jar}"/>
</path>
<target name="build.appsforyourdomain" depends="calendar.build.calendar">
<antcall target="template.build.service">
<param name="template.service.name" value="appsforyourdomain"/>
<param name="template.service.version" value="${appsforyourdomain.spec.version}"/>
<param name="template.service.includes" value="**/appsforyourdomain/**"/>
<param name="template.service.excludes" value="none"/>
<param name="template.service.classpath" value="build.service.appsforyourdomain.classpath"/>
<param name="template.service.name" value="appsforyourdomain"/>
</antcall>
</target>
<target name="clean.appsforyourdomain">
<antcall target="template.clean.service">
<param name="template.service.name" value="appsforyourdomain"/>
</antcall>
</target>
</project>
|