Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 691 Bytes
<project name="couchbase" default="manual">
<target name="manual">
<!-- unpack the Couchbase.zip in a secure tmp folder -->
<tempfile property="couchbase.tmp.dir" destDir="${java.io.tmpdir}"/>
<mkdir dir="${couchbase.tmp.dir}"/>
<unzip dest="${couchbase.tmp.dir}" src="Couchbase.zip"/>
<!-- run the ant target the in the build xml file inside the zip -->
<ant antfile="${couchbase.tmp.dir}/Couchbase/script/couchbase-internal.xml" target="manual">
<property name="project.path" value="${basedir}"/>
<property name="couchbase.tmp.dir" value="${couchbase.tmp.dir}"/>
</ant>
<!-- cleanup the tmp folder -->
<delete dir="${couchbase.tmp.dir}"/>
</target>
</project>