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.
product-iots/modules/samples/connectedlap/component/analytics/build.xml

73 lines
5.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you under the Apache License,
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
~ in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<project name="create-sample-sensor-capps" default="zip" basedir=".">
<property name="project-name" value="${ant.project.name}"/>
<property name="target-dir" value="target/carbonapps"/>
<property name="src-dir" value="src/main/resources/carbonapps"/>
<property name="ConnectedLap_dir" value="ConnectedLap"/>
<property name="ConnectedLapBatteryUsage_dir" value="ConnectedLapBatteryUsage"/>
<property name="ConnectedLapChargerPluggedIn_dir" value="ConnectedLapChargerPluggedIn"/>
<property name="ConnectedLapCpuUsage_dir" value="ConnectedLapCpuUsage"/>
<property name="ConnectedLapHardDiskUsage_dir" value="ConnectedLapHardDiskUsage"/>
<property name="ConnectedLapMemoryUsage_dir" value="ConnectedLapMemoryUsage"/>
<property name="ConnectedLapNetworkTraffic_dir" value="ConnectedLapNetworkTraffic"/>
<target name="clean">
<delete dir="${target-dir}" />
</target>
<target name="zip" depends="clean">
<mkdir dir="${target-dir}"/>
<zip destfile="${target-dir}/${ConnectedLap_dir}.car">
<zipfileset dir="${src-dir}/${ConnectedLap_dir}"/>
</zip>
<zip destfile="${target-dir}/${ConnectedLapBatteryUsage_dir}.car">
<zipfileset dir="${src-dir}/${ConnectedLapBatteryUsage_dir}"/>
</zip>
<zip destfile="${target-dir}/${ConnectedLapChargerPluggedIn_dir}.car">
<zipfileset dir="${src-dir}/${ConnectedLapChargerPluggedIn_dir}"/>
</zip>
<zip destfile="${target-dir}/${ConnectedLapCpuUsage_dir}.car">
<zipfileset dir="${src-dir}/${ConnectedLapCpuUsage_dir}"/>
</zip>
<zip destfile="${target-dir}/${ConnectedLapHardDiskUsage_dir}.car">
<zipfileset dir="${src-dir}/${ConnectedLapHardDiskUsage_dir}"/>
</zip>
<zip destfile="${target-dir}/${ConnectedLapMemoryUsage_dir}.car">
<zipfileset dir="${src-dir}/${ConnectedLapMemoryUsage_dir}"/>
</zip>
<zip destfile="${target-dir}/${ConnectedLapNetworkTraffic_dir}.car">
<zipfileset dir="${src-dir}/${ConnectedLapNetworkTraffic_dir}"/>
</zip>
</target>
</project>