| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.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="edgent.samples.scenarios" default="all" xmlns:jacoco="antlib:org.jacoco.ant"> |
| <description> |
| Build scenario applications. |
| </description> |
| <property environment="env"/> |
| <property name="component.path" value="samples"/> |
| <condition property="src.excludes" value="**/range/sensor/**"> |
| <not> |
| <isset property="env.PI4J_LIB" /> |
| </not> |
| </condition> |
| <import file="../../common-build.xml"/> |
| |
| <path id="compile.classpath"> |
| <path refid="edgent.samples.classpath"/> |
| <pathelement location="${edgent.samples}/lib/edgent.samples.connectors.jar"/> |
| <pathelement location="${edgent.lib}/edgent.providers.iot.jar"/> |
| <pathelement location="${edgent.connectors}/iotp/lib/edgent.connectors.iotp.jar"/> |
| <pathelement location="${env.PI4J_LIB}/pi4j-core.jar"/> |
| </path> |
| |
| <path id="test.compile.classpath"> |
| <pathelement location="${jar}" /> |
| <path refid="compile.classpath"/> |
| </path> |
| |
| <path id="test.classpath"> |
| <pathelement location="${test.classes}" /> |
| <path refid="test.compile.classpath"/> |
| <path refid="test.common.classpath" /> |
| </path> |
| |
| </project> |