Skip to content
Snippets Groups Projects
Commit 9fdbdb8c authored by brutzman's avatar brutzman
Browse files

better warning messages about DIS spec downloads; manual download remains necessary

parent 858e603a
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<project name="DIS Utilities" default="" basedir=".">
<project name="Specification Downloads" default="" basedir=".">
<target name="all" depends="clean.specifications,download.IeeeDisStandards,download.SISO,rename.IeeeDisStandards"/>
......@@ -42,22 +42,23 @@
<target name="download.IeeeDisStandards">
<echo message="Warning: due to cookie restrictions, you must download IEEE specifications manually via links on README.DIS.md"/>
<echo message="Warning: due to cookie restrictions, you must download IEEE specifications manually via links found in README.md"/>
<property name="ieeeBasePageUrl" value="https://ieeexplore.ieee.org/document/"/>
<property name="ieeeBaseLinkUrl" value="https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&amp;arnumber="/>
<!-- ======================== -->
<property name="DIS.1.document" value="6387564"/>
<property name="DIS.1.rename" value="IEEE1278.1-2012.DistributedInteractiveSimulation.ApplicationProtocols.${DIS.1.document}.pdf.SAVEME"/>
<property name="DIS.1.rename" value="IEEE1278.1-2012.DistributedInteractiveSimulation.ApplicationProtocols.${DIS.1.document}.pdf"/>
<echo message="see ${ieeeBasePageUrl}${DIS.1.document}"/>
<echo message="get ${ieeeBaseLinkUrl}${DIS.1.document}"/>
<echo message="as ${DIS.1.rename}"/>
<!--
<get src="${ieeeBaseLinkUrl}${DIS.1.document}"
dest="${DIS.1.rename}" verbose="true"/> -->
<echo message="IEEE1278.1 retrieval: save ${ieeeBaseLinkUrl}${DIS.1.document} to this location"
file="${DIS.1.rename}"/>
<property name="warningMessage" value="Restriction: cookie restrictions prevent automated download.&#10;&#10;You must manually download this file from within NPS campus or firewall.&#10;&#10;For "/>
<echo message="${warningMessage}IEEE1278.1 retrieval to this location, use your browser to save&#10;&#10; ${ieeeBaseLinkUrl}${DIS.1.document}"
file="${DIS.1.rename}.SAVEME"/>
<!-- ======================== -->
<property name="DIS.2.document" value="7459689"/>
......@@ -68,7 +69,7 @@
<!--
<get src="${ieeeBaseLinkUrl}${DIS.2.document}"
dest="${DIS.2.rename}" verbose="true"/> -->
<echo message="IEEE1278.2 retrieval: save ${ieeeBaseLinkUrl}${DIS.2.document} to this location"
<echo message="${warningMessage}IEEE1278.2 retrieval to this location, use your browser to save&#10;&#10; ${ieeeBaseLinkUrl}${DIS.2.document}"
file="${DIS.2.rename}"/>
<!-- ======================== -->
......@@ -80,7 +81,7 @@
<!--
<get src="${ieeeBaseLinkUrl}${DIS.3.document}"
dest="${DIS.3.rename}" verbose="true"/> -->
<echo message="IEEE1278.3 retrieval: save ${ieeeBaseLinkUrl}${DIS.3.document} to this location"
<echo message="${warningMessage}IEEE1278.3 retrieval to this location, use your browser to save&#10;&#10; ${ieeeBaseLinkUrl}${DIS.3.document}"
file="${DIS.3.rename}"/>
<!-- ======================== -->
......@@ -92,9 +93,8 @@
<!--
<get src="${ieeeBaseLinkUrl}${DIS.4.document}"
dest="${DIS.4.rename}" verbose="true"/> -->
<echo message="IEEE1278.4 retrieval: save ${ieeeBaseLinkUrl}${DIS.4.document} to this location"
<echo message="${warningMessage}IEEE1278.4 retrieval to this location, use your browser to save&#10;&#10; ${ieeeBaseLinkUrl}${DIS.4.document}"
file="${DIS.4.rename}"/>
</target>
<!-- =============================================== -->
......
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