You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/10/11 13:06:07 UTC

[2/2] incubator-edgent git commit: Edgent-275 inject fail into main ant tasks

Edgent-275  inject fail into main ant tasks

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/650e7c94
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/650e7c94
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/650e7c94

Branch: refs/heads/master
Commit: 650e7c94e504537ea19ad032664e5726eac2f68a
Parents: 3f146e7
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Mon Oct 10 17:44:44 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Mon Oct 10 17:44:44 2016 -0400

----------------------------------------------------------------------
 build.xml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/650e7c94/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index eb1ae32..232668f 100644
--- a/build.xml
+++ b/build.xml
@@ -14,7 +14,7 @@
  specific language governing permissions and limitations
  under the License.
  -->
-<project name="edgent" default="all"
+<project name="edgent" default="UseGradle"
   xmlns:jacoco="antlib:org.jacoco.ant"
   >
     <description>
@@ -29,7 +29,11 @@
   <property name="target.dir" location="target"/>
   <property name="javadoc.dir" location="${target.dir}/docs/javadoc"/>
   <property name="release.dir" location="${release.base}"/>
-
+	
+  <target name="UseGradle">
+    <fail message="The ant tooling is no longer functional.  See DEVELOPMENT.md."/>
+  </target>
+	
   <target name="all" depends="init,suball,copy,docs"
     description="Build the code and Javadoc into target. Requires Java 8"
     />
@@ -82,7 +86,7 @@
   <target name="suball">
      <subprojects target="all"/>
   </target>
-  <target name="test"
+  <target name="test"  depends="UseGradle"
      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"/>
@@ -334,7 +338,7 @@
      </javadoc>
   </target>
 
-  <target name="release" depends="clean,setcommitversion,all,docs,create_release_bundle"/>
+  <target name="release" depends="UseGradle,clean,setcommitversion,all,docs,create_release_bundle"/>
 	
   <target name="create_release_bundle">
       <!-- Build Java7 and Android versions -->