[Edgent-417] cleanup old ant-build cruft Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/a70230b7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/a70230b7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/a70230b7
Branch: refs/heads/master Commit: a70230b72104245ebbd3244ce3477575d2791313 Parents: ee9ac28 Author: Dale LaBossiere <dlab...@us.ibm.com> Authored: Thu May 25 14:12:03 2017 -0400 Committer: Dale LaBossiere <dlab...@us.ibm.com> Committed: Thu May 25 14:12:03 2017 -0400 ---------------------------------------------------------------------- analytics/math3/build.xml | 49 --- analytics/sensors/build.xml | 46 --- android/hardware/build.xml | 66 ---- android/topology/build.xml | 67 ---- api/execution/build.xml | 42 --- api/function/build.xml | 40 --- api/graph/build.xml | 41 --- api/oplet/build.xml | 43 --- api/topology/build.xml | 57 ---- api/window/build.xml | 42 --- apps/iot/build.xml | 45 --- apps/runtime/build.xml | 46 --- build.xml | 360 --------------------- common-build.xml | 216 ------------- connectors/command/build.xml | 50 --- connectors/common/build.xml | 47 --- connectors/csv/build.xml | 47 --- connectors/edgent.javax.websocket/build.xml | 45 --- connectors/file/build.xml | 48 --- connectors/http/build.xml | 48 --- connectors/iot/build.xml | 47 --- connectors/iotp/build.xml | 49 --- connectors/javax.websocket-client/build.xml | 45 --- connectors/javax.websocket-server/build.xml | 45 --- connectors/jdbc/build.xml | 48 --- connectors/kafka/build.xml | 48 --- connectors/mqtt/build.xml | 52 --- connectors/pubsub/build.xml | 47 --- connectors/serial/build.xml | 47 --- connectors/wsclient-javax.websocket/build.xml | 56 ---- connectors/wsclient/build.xml | 45 --- console/server/build.xml | 50 --- console/servlets/build.xml | 67 ---- providers/development/build.xml | 47 --- providers/direct/build.xml | 49 --- providers/iot/build.xml | 48 --- runtime/appservice/build.xml | 44 --- runtime/etiao/build.xml | 45 --- runtime/jmxcontrol/build.xml | 43 --- runtime/jobregistry/build.xml | 43 --- runtime/jsoncontrol/build.xml | 43 --- samples/apps/build.xml | 49 --- samples/connectors/build.xml | 49 --- samples/console/build.xml | 45 --- samples/scenarios/build.xml | 50 --- samples/topology/build.xml | 45 --- samples/utils/build.xml | 44 --- spi/graph/build.xml | 42 --- spi/topology/build.xml | 40 --- test/fvtiot/build.xml | 44 --- test/svt/build.xml | 49 --- utils/metrics/build.xml | 44 --- utils/streamscope/build.xml | 44 --- 53 files changed, 2998 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/analytics/math3/build.xml ---------------------------------------------------------------------- diff --git a/analytics/math3/build.xml b/analytics/math3/build.xml deleted file mode 100644 index 1692aa4..0000000 --- a/analytics/math3/build.xml +++ /dev/null @@ -1,49 +0,0 @@ -<!-- - 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.analytics.math3" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Analytics math functions. - </description> - - <property name="component.path" value="analytics/math3"/> - <import file="../../common-build.xml"/> - - <property name="ext" location="../../ext"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar"/> - <pathelement location="${component.ext}/commons-math3-3.4.1/commons-math3-3.4.1.jar"/> - <path refid="edgent.ext.classpath" /> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../providers/direct/test.classes"/> - <pathelement location="../../api/topology/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/analytics/sensors/build.xml ---------------------------------------------------------------------- diff --git a/analytics/sensors/build.xml b/analytics/sensors/build.xml deleted file mode 100644 index f7c7107..0000000 --- a/analytics/sensors/build.xml +++ /dev/null @@ -1,46 +0,0 @@ -<!-- - 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.analytics.sensors" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Analytics aimed at sensor readings. - </description> - - <property name="component.path" value="analytics/sensors"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar"/> - <path refid="edgent.ext.classpath" /> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../providers/direct/test.classes"/> - <pathelement location="../../api/topology/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/android/hardware/build.xml ---------------------------------------------------------------------- diff --git a/android/hardware/build.xml b/android/hardware/build.xml deleted file mode 100644 index 2c6b89d..0000000 --- a/android/hardware/build.xml +++ /dev/null @@ -1,66 +0,0 @@ -<!-- - 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.android.hardware" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Android hardware interface - </description> - - <property name="full.compile.classpath.id" value="android.classpath"/> - - <property environment="env"/> - <property name="component.path" value="android/hardware"/> - <import file="../../common-build.xml"/> - - <property name="android.sdk.platform.jar" value=""/> -<!-- - <condition property="android.sdk.platform.jar" value="env.ANDROID_SDK_PLATFORM_JAR"> - <isset property="env.ANDROID_SDK_PLATFORM_JAR" /> - </condition> ---> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - </path> - - - <path id="android.classpath"> - <path refid="compile.classpath"/> - <pathelement location="${android.sdk.platform.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> - - <target name="all" if="android.sdk.platform.jar"> - <antcall target="edgent.common.all"/> - </target> - - <!-- no tests --> - <target name="test.compile"/> - <target name="test.run"/> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/android/topology/build.xml ---------------------------------------------------------------------- diff --git a/android/topology/build.xml b/android/topology/build.xml deleted file mode 100644 index f0f63fe..0000000 --- a/android/topology/build.xml +++ /dev/null @@ -1,67 +0,0 @@ -<!-- - 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.android.topology" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Android topology utilities - </description> - - <property name="full.compile.classpath.id" value="android.classpath"/> - - <property environment="env"/> - <property name="component.path" value="android/topology"/> - <import file="../../common-build.xml"/> - - <property name="android.sdk.platform.jar" value=""/> -<!-- - <condition property="android.sdk.platform.jar" value="env.ANDROID_SDK_PLATFORM_JAR"> - <isset property="env.ANDROID_SDK_PLATFORM_JAR" /> - </condition> ---> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <pathelement location="${edgent.lib}/edgent.api.oplet.jar" /> - </path> - - - <path id="android.classpath"> - <path refid="compile.classpath"/> - <pathelement location="${android.sdk.platform.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> - - <target name="all" if="android.sdk.platform.jar"> - <antcall target="edgent.common.all"/> - </target> - - <!-- no tests --> - <target name="test.compile"/> - <target name="test.run"/> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/api/execution/build.xml ---------------------------------------------------------------------- diff --git a/api/execution/build.xml b/api/execution/build.xml deleted file mode 100644 index e01c928..0000000 --- a/api/execution/build.xml +++ /dev/null @@ -1,42 +0,0 @@ -<!-- - 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.api.execution" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build the graph api. - </description> - - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${lib}/edgent.api.function.jar" /> - <path refid="edgent.ext.classpath"/> - </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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/api/function/build.xml ---------------------------------------------------------------------- diff --git a/api/function/build.xml b/api/function/build.xml deleted file mode 100644 index 1f54520..0000000 --- a/api/function/build.xml +++ /dev/null @@ -1,40 +0,0 @@ -<!-- - 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.api.function" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build the functions. - </description> - - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - </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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/api/graph/build.xml ---------------------------------------------------------------------- diff --git a/api/graph/build.xml b/api/graph/build.xml deleted file mode 100644 index b36c1ec..0000000 --- a/api/graph/build.xml +++ /dev/null @@ -1,41 +0,0 @@ -<!-- - 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.api.graph" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build the graph api. - </description> - - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${lib}/edgent.api.oplet.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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/api/oplet/build.xml ---------------------------------------------------------------------- diff --git a/api/oplet/build.xml b/api/oplet/build.xml deleted file mode 100644 index 849b4e8..0000000 --- a/api/oplet/build.xml +++ /dev/null @@ -1,43 +0,0 @@ -<!-- - 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.api.oplet" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build the oplet api. - </description> - - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${lib}/edgent.api.function.jar" /> - <pathelement location="${lib}/edgent.api.execution.jar" /> - <pathelement location="${lib}/edgent.api.window.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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/api/topology/build.xml ---------------------------------------------------------------------- diff --git a/api/topology/build.xml b/api/topology/build.xml deleted file mode 100644 index f716582..0000000 --- a/api/topology/build.xml +++ /dev/null @@ -1,57 +0,0 @@ -<!-- - 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.api.topology" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build the functional api. - </description> - - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${lib}/edgent.api.execution.jar"/> - <pathelement location="${lib}/edgent.api.graph.jar"/> - <pathelement location="${lib}/edgent.api.oplet.jar" /> - <path refid="edgent.ext.classpath"/> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <path refid="compile.classpath"/> - </path> - - <path id="test.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${test.classes}" /> - <path refid="test.compile.classpath"/> - <path refid="test.common.classpath" /> - </path> - - <!-- Build a jar file containing the applications to test the ApplicationService --> - <target name="test.compile" depends="edgent.common.test.compile,test.jar"/> - <target name="test.jar" depends="edgent.common.test.compile"> - <jar destfile="${test.classes}/${ant.project.name}.APPS.TEST.jar"> - <service type="org.apache.edgent.topology.services.TopologyBuilder"> - <provider classname="org.apache.edgent.test.topology.services.TestApplications$AppOne" /> - <provider classname="org.apache.edgent.test.topology.services.TestApplications$AppTwo" /> - <provider classname="org.apache.edgent.test.topology.services.TestApplications$AppThree" /> - </service> - <fileset dir="${test.classes}" includes="**/TestApplications*"/> - </jar> - </target> -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/api/window/build.xml ---------------------------------------------------------------------- diff --git a/api/window/build.xml b/api/window/build.xml deleted file mode 100644 index 657deaa..0000000 --- a/api/window/build.xml +++ /dev/null @@ -1,42 +0,0 @@ -<!-- - 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.api.window" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build the window api. - </description> - - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${lib}/edgent.api.function.jar"/> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <path refid="compile.classpath"/> - </path> - - <path id="test.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${test.classes}" /> - <path refid="test.compile.classpath"/> - <path refid="test.common.classpath" /> - </path> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/apps/iot/build.xml ---------------------------------------------------------------------- diff --git a/apps/iot/build.xml b/apps/iot/build.xml deleted file mode 100644 index 409715f..0000000 --- a/apps/iot/build.xml +++ /dev/null @@ -1,45 +0,0 @@ -<!-- - 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.apps.iot" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Applications utilizing IotDevice - </description> - - <property name="component.path" value="apps/iot"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <pathelement location="${edgent.connectors}/pubsub/lib/edgent.connectors.pubsub.jar" /> - <pathelement location="${edgent.connectors}/iot/lib/edgent.connectors.iot.jar" /> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/apps/runtime/build.xml ---------------------------------------------------------------------- diff --git a/apps/runtime/build.xml b/apps/runtime/build.xml deleted file mode 100644 index 2791a1e..0000000 --- a/apps/runtime/build.xml +++ /dev/null @@ -1,46 +0,0 @@ -<!-- - 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.apps.runtime" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Applications monitoring the Edgent runtime - </description> - - <property name="component.path" value="apps/runtime"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <pathelement location="${edgent.lib}/edgent.runtime.jobregistry.jar" /> - <pathelement location="${edgent.lib}/edgent.runtime.appservice.jar" /> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <path refid="compile.classpath"/> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar" /> - <pathelement location="${edgent.lib}/edgent.runtime.jmxcontrol.jar" /> - </path> - - <path id="test.classpath"> - <pathelement location="${test.classes}" /> - <path refid="test.compile.classpath"/> - <path refid="test.common.classpath" /> - </path> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml deleted file mode 100644 index 937366e..0000000 --- a/build.xml +++ /dev/null @@ -1,360 +0,0 @@ -<!-- - 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" default="DoNotUseAnt" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Top-level build.xml for Edgent. - </description> - - <property name="release.base" location="release-${ant.project.name}"/> - - <property name="edgent.version" value="0.4.0"/> - - <property name="report.dir" location="reports"/> - <property name="target.dir" location="target"/> - <property name="javadoc.dir" location="${target.dir}/docs/javadoc"/> - <property name="release.dir" location="${release.base}"/> - - <target name="DoNotUseAnt"> - <fail message="The ant tooling is no longer functional. See README."/> - </target> - - <target name="all" depends="DoNotUseAnt,init,suball,copy,docs" - description="Build the code and Javadoc into target. Requires Java 8" - /> - - <target name="init" depends="setcommitversion"> - <mkdir dir="${target.dir}"/> - </target> - - <target name="setcommitversion"> - <!-- Create the time stamp --> - <tstamp/> - - <!-- Extract the git commit hash --> - <exec executable="git" outputproperty="commithash" errorproperty="commithash.error"> - <arg value="rev-parse"/> - <arg value="--short"/> - <arg value="HEAD"/> - </exec> - <mkdir dir="${target.dir}"/> - <echoproperties destfile="${target.dir}/version.txt"> - <propertyset> - <propertyref name="edgent.version"/> - <propertyref name="DSTAMP"/> - <propertyref name="TSTAMP"/> - <propertyref name="commithash"/> - <propertyref name="commithash.error"/> - </propertyset> - </echoproperties> - </target> - - <target name="copy"> - <!-- copy README.md --> - <copy todir="${target.dir}" file="README.md"/> - <copy todir="${target.dir}" file="LICENSE"/> - - <!-- copy scripts --> - <mkdir dir="${target.dir}/java8/scripts"/> - <copy todir="${target.dir}/java8/scripts" includeEmptyDirs="no"> - <fileset dir="scripts"/> - </copy> - - <!-- copy sample code --> - <mkdir dir="${target.dir}/java8/samples/src"/> - <copy todir="${target.dir}/java8/samples/src" includeEmptyDirs="no"> - <fileset dir="samples" includes="**/*.java" excludes="**/build.xml **/test/**"/> - </copy> - - </target> - - <target name="suball"> - <subprojects target="all"/> - </target> - <target name="test" depends="DoNotUseAnt" - description="Run all JUnit tests. Requires Java 8" - > - <echo message="HINT: to include tests for some connectors do: ant -Dtest.base.pattern='**/*TestManual.java' test"/> - <subprojects target="test"/> - </target> - <target name="clean"> - <subprojects target="clean"/> - <delete dir="${report.dir}"/> - <delete dir="${javadoc.dir}"/> - <delete dir="${release.dir}"/> - <delete dir="${target.dir}"/> - </target> - - <macrodef name="subprojects"> - <attribute name="target"/> - <sequential> - <ant dir="api/function" target="@{target}" useNativeBasedir="true"/> - <ant dir="api/execution" target="@{target}" useNativeBasedir="true"/> - <ant dir="api/window" target="@{target}" useNativeBasedir="true"/> - <ant dir="api/oplet" target="@{target}" useNativeBasedir="true"/> - <ant dir="api/graph" target="@{target}" useNativeBasedir="true"/> - <ant dir="api/topology" target="@{target}" useNativeBasedir="true"/> - <ant dir="spi/graph" target="@{target}" useNativeBasedir="true"/> - <ant dir="spi/topology" target="@{target}" useNativeBasedir="true"/> - <ant dir="runtime/appservice" target="@{target}" useNativeBasedir="true"/> - <ant dir="runtime/etiao" target="@{target}" useNativeBasedir="true"/> - <ant dir="runtime/jmxcontrol" target="@{target}" useNativeBasedir="true"/> - <ant dir="runtime/jsoncontrol" target="@{target}" useNativeBasedir="true"/> - <ant dir="runtime/jobregistry" target="@{target}" useNativeBasedir="true"/> - <ant dir="utils/metrics" target="@{target}" useNativeBasedir="true"/> - <ant dir="utils/streamscope" target="@{target}" useNativeBasedir="true"/> - - <ant dir="providers/direct" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/common" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/command" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/csv" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/iot" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/serial" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/file" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/http" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/iotp" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/jdbc" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/kafka" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/mqtt" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/pubsub" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/edgent.javax.websocket" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/javax.websocket-client" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/javax.websocket-server" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/wsclient" target="@{target}" useNativeBasedir="true"/> - <ant dir="connectors/wsclient-javax.websocket" target="@{target}" useNativeBasedir="true"/> - <ant dir="console/server" target="@{target}" useNativeBasedir="true" /> - <ant dir="console/servlets" target="@{target}" useNativeBasedir="true" /> - <ant dir="apps/iot" target="@{target}" useNativeBasedir="true" /> - <ant dir="providers/development" target="@{target}" useNativeBasedir="true"/> - <ant dir="apps/runtime" target="@{target}" useNativeBasedir="true" /> - <ant dir="providers/iot" target="@{target}" useNativeBasedir="true"/> - <ant dir="analytics/math3" target="@{target}" useNativeBasedir="true"/> - <ant dir="analytics/sensors" target="@{target}" useNativeBasedir="true"/> - <ant dir="samples/utils" target="@{target}" useNativeBasedir="true"/> - <ant dir="samples/apps" target="@{target}" useNativeBasedir="true" /> - <ant dir="samples/topology" target="@{target}" useNativeBasedir="true"/> - <ant dir="samples/connectors" target="@{target}" useNativeBasedir="true"/> - <ant dir="samples/console" target="@{target}" useNativeBasedir="true" /> - <ant dir="samples/scenarios" target="@{target}" useNativeBasedir="true" /> - <ant dir="android/topology" target="@{target}" useNativeBasedir="true" /> - <ant dir="android/hardware" target="@{target}" useNativeBasedir="true" /> - <ant dir="test/fvtiot" target="@{target}" useNativeBasedir="true" /> - <ant dir="test/svt" target="@{target}" useNativeBasedir="true" /> - </sequential> - </macrodef> - - <target name="junit.report"> - <mkdir dir="${report.dir}/junit"/> - <junitreport todir="${report.dir}"> - <fileset dir="${basedir}"> - <include name="**/unittests/*/TEST-*.xml"/> - </fileset> - <report format="frames" todir="${report.dir}/junit"/> - </junitreport> - </target> - - <target name="coverage.report" > - <mkdir dir="${report.dir}/coverage"/> - <jacoco:report> - <executiondata> - <fileset dir="${basedir}"> - <include name="**/unittests/*/jacoco*.exec"/> - </fileset> - </executiondata> - <structure name="Edgent"> - - <group name="Edgent API"> - <classfiles> - <fileset dir="${target.dir}/java8/lib"> - <include name="edgent.api.*.jar"/> - </fileset> - </classfiles> - <sourcefiles encoding="UTF-8"> - <fileset dir="${basedir}/api/function/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/api/execution/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/api/oplet/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/api/graph/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/api/topology/src/main/java" includes="**/*.java"/> - </sourcefiles> - </group> - <group name="Edgent SPI"> - <classfiles> - <fileset dir="${target.dir}/java8/lib"> - <include name="edgent.spi.*.jar"/> - </fileset> - </classfiles> - <sourcefiles encoding="UTF-8"> - <fileset dir="${basedir}/spi/graph/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/spi/topology/src/main/java" includes="**/*.java"/> - </sourcefiles> - </group> - <group name="Edgent Runtime"> - <classfiles> - <fileset dir="${target.dir}/java8/lib"> - <include name="edgent.runtime.*.jar"/> - </fileset> - </classfiles> - <sourcefiles encoding="UTF-8"> - <fileset dir="${basedir}/runtime/etiao/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/runtime/jmxcontrol/src/main/java" includes="**/*.java"/> - </sourcefiles> - </group> - - <group name="Edgent Utilities"> - <classfiles> - <fileset dir="${target.dir}/java8/utils"> - <include name="**/edgent.utils.*.jar"/> - </fileset> - </classfiles> - <sourcefiles encoding="UTF-8"> - <fileset dir="${basedir}/utils/metrics/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/utils/streamscope/src/main/java" includes="**/*.java"/> - </sourcefiles> - </group> - <group name="Edgent Connectors"> - <classfiles> - <fileset dir="${target.dir}/java8/connectors"> - <include name="**/edgent.connectors.*.jar"/> - </fileset> - </classfiles> - <sourcefiles encoding="UTF-8"> - <fileset dir="${basedir}/connectors/common/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/command/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/csv/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/file/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/iot/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/iotp/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/jdbc/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/kafka/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/mqtt/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/http/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/wsclient/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/connectors/wsclient-javax.websocket/src/main/java" includes="**/*.java"/> - </sourcefiles> - </group> - - <group name="Edgent Providers"> - <classfiles> - <fileset dir="${target.dir}/java8/lib"> - <include name="edgent.providers.*.jar"/> - </fileset> - </classfiles> - <sourcefiles encoding="UTF-8"> - <fileset dir="${basedir}/providers/direct/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/providers/development/src/main/java" includes="**/*.java"/> - </sourcefiles> - </group> - - <group name="Edgent Analytics"> - <classfiles> - <fileset dir="${target.dir}/java8/analytics"> - <include name="**/edgent.analytics.*.jar"/> - </fileset> - </classfiles> - <sourcefiles encoding="UTF-8"> - <fileset dir="${basedir}/analytics/math3/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/analytics/sensors/src/main/java" includes="**/*.java"/> - </sourcefiles> - </group> - - <group name="Edgent Console"> - <classfiles> - <fileset dir="${target.dir}/java8/console"> - <include name="**/edgent.console.*.jar"/> - </fileset> - </classfiles> - <sourcefiles encoding="UTF-8"> - <fileset dir="${basedir}/console/server/src/main/java" includes="**/*.java"/> - <fileset dir="${basedir}/console/servlets/src/main/java" includes="**/*.java"/> - </sourcefiles> - </group> - - </structure> - <html destdir="${report.dir}/coverage"/> - </jacoco:report> - </target> - - <target name="reports" depends="DoNotUseAnt,junit.report,coverage.report" - description="Produce test and coverage reports under reports after executing the test target" - /> - - <target name="docs" depends="DoNotUseAnt"> - <mkdir dir="${javadoc.dir}"/> - <javadoc - destdir="${javadoc.dir}" - author="true" - version="true" - use="true" - windowtitle="Edgent v${edgent.version}" - additionalparam="-Xdoclint:none" - Overview="edgent_overview.html" - failonwarning="true" - excludepackagenames="org.apache.edgent.connectors.runtime,org.apache.edgent.connectors.*.runtime,org.apache.edgent.console.*,org.apache.edgent.samples.scenarios.iotp.range.sensor" - > - <sourcepath> - <dirset dir="${basedir}"> - <include name="*/*/src/main/java"/> - <exclude name="android/**"/> - </dirset> - </sourcepath> - <classpath> - <fileset dir="ext"> - <include name="**/*.jar"/> - </fileset> - <fileset dir="."> - <include name="console/*/ext/*/*.jar"/> - <include name="connectors/*/ext/*.jar"/> - <include name="analytics/*/ext/*/*.jar"/> - <include name="utils/metrics/ext/*/*.jar"/> - </fileset> - </classpath> - - <doctitle>Apache Edgent (incubating) v${edgent.version}</doctitle> - <footer><![CDATA[<a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a>]]></footer> - <bottom>Copyright &copy; 2016 The Apache Software Foundation. All Rights Reserved - ${commithash}-${DSTAMP}-${TSTAMP}</bottom> - <group title="Edgent API" packages="org.apache.edgent.execution,org.apache.edgent.function,org.apache.edgent.topology,org.apache.edgent.topology.json,org.apache.edgent.topology.mbeans,org.apache.edgent.topology.plumbing,org.apache.edgent.topology.services,org.apache.edgent.execution.*"/> - <group title="Edgent Providers" packages="org.apache.edgent.providers.*"/> - <group title="Edgent Connectors" packages="org.apache.edgent.connectors.*"/> - <group title="Edgent Samples" packages="org.apache.edgent.samples.*"/> - <group title="Edgent Analytics" packages="org.apache.edgent.analytics.*"/> - <group title="Edgent Utilities" packages="org.apache.edgent.metrics,edgent.metrics.*,org.apache.edgent.streamscope,org.apache.edgent.streamscope.*"/> - <group title="Edgent Low-Level API" packages="org.apache.edgent.graph,edgent.graph.*,org.apache.edgent.oplet,edgent.oplet.*,org.apache.edgent.window"/> - <group title="Edgent SPI" packages="org.apache.edgent.topology.spi,org.apache.edgent.topology.spi.*"/> - </javadoc> - </target> - - <target name="release" depends="DoNotUseAnt,clean,setcommitversion,all,docs,create_release_bundle"/> - - <target name="create_release_bundle"> - <!-- Build Java7 and Android versions --> - <ant dir="platform/java7" target="retro7" useNativeBasedir="true"/> - <ant dir="platform/android" target="all" useNativeBasedir="true"/> - - <mkdir dir="${release.dir}" /> - <property name="releasefilename" value="${release.dir}/edgent-v${edgent.version}-${DSTAMP}-${TSTAMP}.tgz"/> - <tar compression="gzip" longfile="gnu" destfile="${releasefilename}"> - <tarfileset dir="${target.dir}" prefix="edgent" - excludes="**/*.sh"/> - <tarfileset dir="${target.dir}" prefix="edgent" - includes="**/*.sh" filemode="755"/> - </tar> - <checksum file="${releasefilename}"/> - <checksum algorithm="sha1" file="${releasefilename}"/> - </target> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/common-build.xml ---------------------------------------------------------------------- diff --git a/common-build.xml b/common-build.xml deleted file mode 100644 index 0fe65eb..0000000 --- a/common-build.xml +++ /dev/null @@ -1,216 +0,0 @@ -<!-- - 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.common" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Common tasks. - </description> - - - <!-- Assumption is that build files are two levels deep --> - <property name="edgent.dir" location="${basedir}/../.."/> - - <property name="edgent.tools" location="${edgent.dir}/tools"/> - - <property name="target.dir" location="${edgent.dir}/target"/> - <property name="edgent.ext" location="${edgent.dir}/ext"/> - - <!-- Project specific extension jars --> - <property name="project.ext" location="${basedir}/ext"/> - - <property name="target.java8.dir" location="${target.dir}/java8"/> - <property name="target.java8.ext" location="${target.java8.dir}/ext"/> - - <property name="edgent.lib" location="${target.java8.dir}/lib"/> - - <!-- default to edgent lib --> - <condition property="lib" - value="${target.java8.dir}/${component.path}/lib" - else="${edgent.lib}"> - <isset property="component.path"/> - </condition> - <condition property="component.ext" - value="${target.java8.dir}/${component.path}/ext"> - <isset property="component.path"/> - </condition> - - <property name="edgent.analytics" location="${target.java8.dir}/analytics"/> - <property name="edgent.apps" location="${target.java8.dir}/apps"/> - <property name="edgent.connectors" location="${target.java8.dir}/connectors"/> - <property name="edgent.console" location="${target.java8.dir}/console"/> - <property name="edgent.utils" location="${target.java8.dir}/utils"/> - <property name="edgent.samples" location="${target.java8.dir}/samples"/> - - <property name="src" location="src/main/java"/> - <property name="src.excludes" value=""/> - <property name="resources" location="src/main/resources"/> - <property name="classes" location="classes"/> - <property name="jarname" value="${ant.project.name}.jar"/> - <property name="jar" location="${lib}/${jarname}"/> - - <property name="test.src" location="src/test/java"/> - <property name="test.classes" location="test.classes"/> - <property name="test.dir" location="unittests"/> - - <!-- compile.classpath ref is used by default for compilation - and manifest class path generation. - When the full compile needs external jars that should - not be in the manifest compile.classpath should just - include local jars and a new reference id should be used - that includes compile.classpath and the external jars. - The property full.compile.classpath.id is set - to the name of the reference (see android examples). - --> - - <property name="full.compile.classpath.id" value="compile.classpath"/> - - <!-- Core Edgent ext class path --> - <path id="edgent.ext.classpath"> - <pathelement location="${target.java8.ext}/google-gson-2.2.4/gson-2.2.4.jar" /> - <pathelement location="${target.java8.ext}/slf4j-1.7.12/slf4j-api-1.7.12.jar"/> - <pathelement location="${target.java8.ext}/metrics-3.1.2/metrics-core-3.1.2.jar"/> - </path> - - <!-- Edgent samples common class path --> - <path id="edgent.samples.classpath"> - <pathelement location="${edgent.lib}/edgent.providers.development.jar"/> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="${target.java8.ext}/slf4j-1.7.12/slf4j-jdk14-1.7.12.jar"/> - </path> - - <!-- Edgent unit tests common class path --> - <path id="test.common.classpath"> - <pathelement location="${target.java8.ext}/slf4j-1.7.12/slf4j-jdk14-1.7.12.jar"/> - </path> - - <!-- expects a property of component.path e.g. connectors/iotp --> - <!-- only called by non-core components --> - <macrodef name="setup.component"> - <sequential> - <property name="component.target" location="${target.java8.dir}/${component.path}"/> - <property name="component.lib" location="${component.target}/lib"/> -<!-- <property name="component.ext" location="${component.target}/ext"/> --> - - <mkdir dir="${component.lib}"/> - <mkdir dir="${component.ext}"/> - <copy todir="${component.ext}" includeEmptyDirs="no" failonerror="false" quiet="true"> - <fileset dir="${project.ext}"/> - </copy> - </sequential> - </macrodef> - <target name="project.component" if="component.path"> - <setup.component/> - </target> - - <macrodef name="edgent.compile"> - <sequential> - <javac debug="true" includeantruntime="no" - srcdir="${src}" - excludes="${src.excludes}" - destdir="${classes}" - classpathref="${full.compile.classpath.id}"/> - </sequential> - </macrodef> - - <target name="all" depends="jar,test.compile"/> - - <target name="init"> - <mkdir dir="${src}"/> - <mkdir dir="${test.src}"/> - <mkdir dir="${classes}"/> - <mkdir dir="${resources}"/> - <mkdir dir="${test.classes}"/> - <mkdir dir="${target.java8.dir}"/> - <mkdir dir="${target.java8.ext}"/> - <mkdir dir="${edgent.lib}"/> - <copy todir="${target.java8.ext}"> - <fileset dir="${edgent.ext}"/> - </copy> - </target> - - <target name="clean" > - <delete dir="${classes}"/> - <delete dir="${test.classes}"/> - <delete dir="${test.dir}"/> - <delete file="${jar}"/> - </target> - - <target name="compile" depends="init,project.component"> - <edgent.compile/> - </target> - - <target name="jar" depends="compile"> - <mkdir dir="${classes}/META-INF"/> - <copy file="${edgent.dir}/LICENSE" tofile="${classes}/META-INF/LICENSE"/> - <copy file="${edgent.dir}/NOTICE" tofile="${classes}/META-INF/NOTICE"/> - <manifestclasspath property="jar.classpath" jarfile="${jar}" - maxParentLevels="10"> - <classpath refid="compile.classpath"/> - </manifestclasspath> - <jar destfile="${jar}"> - <manifest> - <attribute name="Implementation-Title" value="${ant.project.name}"/> - <attribute name="Implementation-Version" value="${commithash}-${DSTAMP}-${TSTAMP}"/> - <attribute name="Implementation-Vendor" value="Apache Software Foundation"/> - <attribute name="Class-Path" value="${jar.classpath}"/> - </manifest> - <fileset dir="${classes}"/> - <fileset dir="${resources}"/> - </jar> - </target> - - <target name="test.compile" depends="jar"> - <javac debug="true" includeantruntime="yes" - srcdir="${test.src}" - destdir="${test.classes}" - classpathref="test.compile.classpath"/> - </target> - - <!-- Allow the pattern of tests to run be set - ant -Dtest.base.pattern='**/*TestManual.java test' - --> - <property name="test.base.pattern" value="**/*Test.java"/> - - <target name="test" depends="test.compile,test.run"/> - - <target name="test.run"> - <mkdir dir="${test.dir}"/> - <tempfile property="test.run.dir" prefix="testrun" destDir="${test.dir}"/> - <mkdir dir="${test.run.dir}"/> - <jacoco:coverage enabled="yes" destfile="${test.run.dir}/jacoco.exec"> - <junit fork="yes" dir="${test.run.dir}" printsummary="yes" showoutput="no" - haltonfailure="yes"> - <classpath> - <path refid="test.classpath"/> - </classpath> - <sysproperty key="edgent.build.ci" value="${edgent.build.ci}"/> - <!-- Allow tests to know the root directory --> - <sysproperty key="edgent.test.root.dir" value="${edgent.dir}"/> - <assertions><enable/></assertions> - <formatter type="xml"/> - <!-- Only use the brief formatter for a continuous integration build" --> - <formatter type="brief" usefile="no" if="edgent.build.ci"/> - <batchtest todir="${test.run.dir}"> - <fileset dir="${test.src}"> - <include name="${test.base.pattern}"/> - </fileset> - </batchtest> - </junit> - </jacoco:coverage> - </target> -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/command/build.xml ---------------------------------------------------------------------- diff --git a/connectors/command/build.xml b/connectors/command/build.xml deleted file mode 100644 index 1e0ff08..0000000 --- a/connectors/command/build.xml +++ /dev/null @@ -1,50 +0,0 @@ -<!-- - 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.connectors.command" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Command connectors. - </description> - - <property name="component.path" value="connectors/command"/> - <import file="../../common-build.xml"/> - - <property name="ext" location="../../ext"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <pathelement location="${edgent.connectors}/common/lib/edgent.connectors.common.jar" /> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <pathelement location="../../connectors/common/test.classes"/> - <path refid="compile.classpath"/> - </path> - - <path id="test.classpath"> - <pathelement location="${test.classes}" /> - <path refid="test.compile.classpath"/> - <path refid="edgent.ext.classpath" /> - <path refid="test.common.classpath" /> - </path> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/common/build.xml ---------------------------------------------------------------------- diff --git a/connectors/common/build.xml b/connectors/common/build.xml deleted file mode 100644 index f915427..0000000 --- a/connectors/common/build.xml +++ /dev/null @@ -1,47 +0,0 @@ -<!-- - 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.connectors.common" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build common connector code. - </description> - - <property name="component.path" value="connectors/common"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <path refid="edgent.ext.classpath" /> - </path> - - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/csv/build.xml ---------------------------------------------------------------------- diff --git a/connectors/csv/build.xml b/connectors/csv/build.xml deleted file mode 100644 index 3bd5dea..0000000 --- a/connectors/csv/build.xml +++ /dev/null @@ -1,47 +0,0 @@ -<!-- - 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.connectors.csv" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build CSV connectors. - </description> - - <property name="component.path" value="connectors/csv"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <path refid="edgent.ext.classpath" /> - </path> - - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <pathelement location="../../connectors/common/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/edgent.javax.websocket/build.xml ---------------------------------------------------------------------- diff --git a/connectors/edgent.javax.websocket/build.xml b/connectors/edgent.javax.websocket/build.xml deleted file mode 100644 index 6b34d10..0000000 --- a/connectors/edgent.javax.websocket/build.xml +++ /dev/null @@ -1,45 +0,0 @@ -<!-- - 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.javax.websocket" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Special Edgent javax.websocket bundle. - </description> - - <property name="component.path" value="connectors/edgent.javax.websocket"/> - <import file="../../common-build.xml"/> - - <property name="ext" location="../../ext"/> - - <path id="compile.classpath"> - <pathelement location="${component.ext}/javax.websocket-api-1.0.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="edgent.ext.classpath" /> - </path> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/file/build.xml ---------------------------------------------------------------------- diff --git a/connectors/file/build.xml b/connectors/file/build.xml deleted file mode 100644 index 245bd57..0000000 --- a/connectors/file/build.xml +++ /dev/null @@ -1,48 +0,0 @@ -<!-- - 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.connectors.file" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build File connectors. - </description> - - <property name="component.path" value="connectors/file"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <path refid="edgent.ext.classpath" /> - </path> - - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <pathelement location="../../connectors/common/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/http/build.xml ---------------------------------------------------------------------- diff --git a/connectors/http/build.xml b/connectors/http/build.xml deleted file mode 100644 index 584b82d..0000000 --- a/connectors/http/build.xml +++ /dev/null @@ -1,48 +0,0 @@ -<!-- - 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.connectors.http" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build HTTP connectors. - </description> - - <property name="component.path" value="connectors/http"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <fileset dir="${component.ext}" includes="*.jar"/> - <path refid="edgent.ext.classpath" /> - </path> - - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/iot/build.xml ---------------------------------------------------------------------- diff --git a/connectors/iot/build.xml b/connectors/iot/build.xml deleted file mode 100644 index c2c7c7c..0000000 --- a/connectors/iot/build.xml +++ /dev/null @@ -1,47 +0,0 @@ -<!-- - 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.connectors.iot" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Device model api. - </description> - - <property name="component.path" value="connectors/iot"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <path refid="edgent.ext.classpath" /> - </path> - - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/iotp/build.xml ---------------------------------------------------------------------- diff --git a/connectors/iotp/build.xml b/connectors/iotp/build.xml deleted file mode 100644 index c324155..0000000 --- a/connectors/iotp/build.xml +++ /dev/null @@ -1,49 +0,0 @@ -<!-- - 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.connectors.iotp" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Watson IoT Platform connector. - </description> - - <property name="component.path" value="connectors/iotp"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <pathelement location="${edgent.connectors}/iot/lib/edgent.connectors.iot.jar" /> - <pathelement location="${component.ext}/watson-iot-0.1.1.jar"/> - <path refid="edgent.ext.classpath" /> - <fileset dir="${component.ext}/lib" includes="*.jar"/> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/javax.websocket-client/build.xml ---------------------------------------------------------------------- diff --git a/connectors/javax.websocket-client/build.xml b/connectors/javax.websocket-client/build.xml deleted file mode 100644 index 9e0ae42..0000000 --- a/connectors/javax.websocket-client/build.xml +++ /dev/null @@ -1,45 +0,0 @@ -<!-- - 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="javax.websocket-client" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Jetty supplied jsr356 WebSocket Client Implementation package. - </description> - - <property name="component.path" value="connectors/javax.websocket-client"/> - <import file="../../common-build.xml"/> - - <property name="ext" location="../../ext"/> - - <path id="compile.classpath"> - <fileset dir="${component.ext}" includes="*.jar"/> - <pathelement location="${edgent.connectors}/edgent.javax.websocket/lib/edgent.javax.websocket.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="edgent.ext.classpath" /> - </path> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/javax.websocket-server/build.xml ---------------------------------------------------------------------- diff --git a/connectors/javax.websocket-server/build.xml b/connectors/javax.websocket-server/build.xml deleted file mode 100644 index 273e116..0000000 --- a/connectors/javax.websocket-server/build.xml +++ /dev/null @@ -1,45 +0,0 @@ -<!-- - 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="javax.websocket-server" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Jetty supplied jsr356 WebSocket Server Implementation package. - </description> - - <property name="component.path" value="connectors/javax.websocket-server"/> - <import file="../../common-build.xml"/> - - <property name="ext" location="../../ext"/> - - <path id="compile.classpath"> - <fileset dir="${component.ext}" includes="*.jar"/> - <pathelement location="${edgent.connectors}/javax.websocket-client/lib/javax.websocket-client.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="edgent.ext.classpath" /> - </path> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/jdbc/build.xml ---------------------------------------------------------------------- diff --git a/connectors/jdbc/build.xml b/connectors/jdbc/build.xml deleted file mode 100644 index 8f914c2..0000000 --- a/connectors/jdbc/build.xml +++ /dev/null @@ -1,48 +0,0 @@ -<!-- - 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.connectors.jdbc" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build JDBC connectors. - </description> - - <property environment="env"/> - <property name="component.path" value="connectors/jdbc"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <pathelement location="../../connectors/common/test.classes"/> - <pathelement location="${env.DERBY_HOME}/lib/derby.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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/kafka/build.xml ---------------------------------------------------------------------- diff --git a/connectors/kafka/build.xml b/connectors/kafka/build.xml deleted file mode 100644 index eeed881..0000000 --- a/connectors/kafka/build.xml +++ /dev/null @@ -1,48 +0,0 @@ -<!-- - 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.connectors.kafka" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Kafka connectors. - </description> - - <property name="component.path" value="connectors/kafka"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <fileset dir="${component.ext}" includes="*.jar"/> - <path refid="edgent.ext.classpath" /> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <pathelement location="../../connectors/common/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/mqtt/build.xml ---------------------------------------------------------------------- diff --git a/connectors/mqtt/build.xml b/connectors/mqtt/build.xml deleted file mode 100644 index 37de4ff..0000000 --- a/connectors/mqtt/build.xml +++ /dev/null @@ -1,52 +0,0 @@ -<!-- - 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.connectors.mqtt" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build MQTT connectors. - </description> - - <property name="component.path" value="connectors/mqtt"/> - <import file="../../common-build.xml"/> - - <property name="ext" location="../../ext"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <pathelement location="${edgent.connectors}/common/lib/edgent.connectors.common.jar" /> - <pathelement location="${edgent.connectors}/iot/lib/edgent.connectors.iot.jar" /> - <pathelement location="${component.ext}/org.eclipse.paho.client.mqttv3-1.1.0.jar"/> - </path> - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <pathelement location="../../connectors/common/test.classes"/> - <path refid="compile.classpath"/> - </path> - - <path id="test.classpath"> - <pathelement location="${test.classes}" /> - <path refid="test.compile.classpath"/> - <path refid="edgent.ext.classpath" /> - <path refid="test.common.classpath" /> - </path> - -</project> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/pubsub/build.xml ---------------------------------------------------------------------- diff --git a/connectors/pubsub/build.xml b/connectors/pubsub/build.xml deleted file mode 100644 index 01cc491..0000000 --- a/connectors/pubsub/build.xml +++ /dev/null @@ -1,47 +0,0 @@ -<!-- - 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.connectors.pubsub" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build Publish Subscribe connector and service. - </description> - - <property name="component.path" value="connectors/pubsub"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <path refid="edgent.ext.classpath" /> - </path> - - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${edgent.lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <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> http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a70230b7/connectors/serial/build.xml ---------------------------------------------------------------------- diff --git a/connectors/serial/build.xml b/connectors/serial/build.xml deleted file mode 100644 index 2dc5fec..0000000 --- a/connectors/serial/build.xml +++ /dev/null @@ -1,47 +0,0 @@ -<!-- - 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.connectors.serial" default="all" - xmlns:jacoco="antlib:org.jacoco.ant" - > - <description> - Build serial api. - </description> - - <property name="component.path" value="connectors/serial"/> - <import file="../../common-build.xml"/> - - <path id="compile.classpath"> - <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> - <path refid="edgent.ext.classpath" /> - </path> - - - <path id="test.compile.classpath"> - <pathelement location="${jar}" /> - <pathelement location="${lib}/edgent.providers.direct.jar"/> - <pathelement location="../../api/topology/test.classes"/> - <pathelement location="../../providers/direct/test.classes"/> - <path refid="compile.classpath"/> - </path> - - <path id="test.classpath"> - <pathelement location="${test.classes}" /> - <path refid="test.compile.classpath"/> - </path> - - -</project>