forked from community/device-mgt-plugins
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
696 B
21 lines
696 B
9 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<project name="create-sample-sensor-capps" default="zip" basedir=".">
|
||
|
|
||
|
<property name="project-name" value="${ant.project.name}"/>
|
||
|
<property name="target-dir" value="../org.wso2.carbon.device.mgt.iot.arduino.feature/src/main/resources/carbonapps"/>
|
||
|
|
||
|
<property name="Temperature_Sensor_dir" value="Temperature_Sensor"/>
|
||
|
|
||
|
<target name="clean">
|
||
|
<delete dir="${target-dir}" />
|
||
|
</target>
|
||
|
|
||
|
<target name="zip" depends="clean">
|
||
|
<mkdir dir="${target-dir}"/>
|
||
|
<zip destfile="${target-dir}/${Temperature_Sensor_dir}.car">
|
||
|
<zipfileset dir="${Temperature_Sensor_dir}"/>
|
||
|
</zip>
|
||
|
</target>
|
||
|
|
||
|
</project>
|