Skip to content
Snippets Groups Projects
Commit ef9aee98 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

check.ant.java.versions

parent 043c49a4
No related branches found
No related tags found
No related merge requests found
...@@ -466,7 +466,7 @@ Key references: ...@@ -466,7 +466,7 @@ Key references:
</macrodef> </macrodef>
<!-- target tasks common to all build files ===================================================================== --> <!-- target tasks common to all build files ===================================================================== -->
<target name="all" depends="echo.timestamp,check.ant.version,clean.backups,commonSetup,validate.full,build,upload" description="clean backups, build, zip and upload this X3D archive"> <target name="all" depends="echo.timestamp,check.ant.java.versions,clean.backups,commonSetup,validate.full,build,upload" description="clean backups, build, zip and upload this X3D archive">
<echo message="Copying latest build.log.txt to subdirectory ${archive.name}/_archive/"/> <echo message="Copying latest build.log.txt to subdirectory ${archive.name}/_archive/"/>
<copy file="build.log.txt" todir="_archive/" overwrite="true" failonerror="false"/> <copy file="build.log.txt" todir="_archive/" overwrite="true" failonerror="false"/>
</target> </target>
...@@ -519,15 +519,16 @@ Key references: ...@@ -519,15 +519,16 @@ Key references:
<antcall target="echo.timestamp"/> <antcall target="echo.timestamp"/>
</target> </target>
<target name="build" depends="echo.timestamp,check.ant.version,clean.duplicates,get.slideshowTools,commonSetup,processScenes,catalog,zip" description="build this X3D archive"> <target name="build" depends="echo.timestamp,check.ant.java.versions,clean.duplicates,get.slideshowTools,commonSetup,processScenes,catalog,zip" description="build this X3D archive">
<!-- note no validation occurs --> <!-- note no validation occurs -->
<antcall target="echo.timestamp"/> <antcall target="echo.timestamp"/>
<echo message="build complete."/> <echo message="build complete."/>
</target> </target>
<target name="check.ant.version" description="Check Apache Ant version"> <target name="check.ant.java.versions" description="Check Apache Ant and Java versions">
<echo message="saxon: using ${saxon.dir}/${saxon.jar}"/>
<echo message="ant.version=${ant.version}"/> <echo message="ant.version=${ant.version}"/>
<echo message=" java.home=${java.home}"/>
<echo message=" saxon path=${saxon.dir}/${saxon.jar}"/>
<echoproperties/> <echoproperties/>
<fail message="Build requires Apache Ant version 1.7, 1.8, 1.9 or 1.10"> <fail message="Build requires Apache Ant version 1.7, 1.8, 1.9 or 1.10">
<condition> <condition>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment