diff --git a/specifications/build.xml b/specifications/build.xml index 0b41c4cc267e615963f033243e906355befb17fd..d4910393bb9d6a86598458f76b0e359b21fb62b9 100644 --- a/specifications/build.xml +++ b/specifications/build.xml @@ -26,20 +26,30 @@ <target name="download.IeeeDisStandards.rename" description="rename saved DIS specification files to readable filenames"> <!-- part 1 6387564.pdf --> - <move file="12781-2012.pdf" tofile="IEEE1278.1-2012.DistributedInteractiveSimulation.ApplicationProtocols.12781-2012.pdf" verbose="true" quiet="true" failonerror="false"/> + <move file="12781-2012.pdf" tofile="IEEE1278.1-2012.DistributedInteractiveSimulation.ApplicationProtocols.12781-2012.pdf" verbose="true" quiet="true" failonerror="false"/> + <copy todir="archive" file="IEEE1278.1-2012.DistributedInteractiveSimulation.ApplicationProtocols.12781-2012.pdf" verbose="true" quiet="true" failonerror="false"/> <!-- part 2 7459689.pdf --> - <move file="12782-2015.pdf" tofile="IEEE1278.2-2015.DistributedInteractiveSimulation.CommunicationsServices.12782-2015.pdf" verbose="true" quiet="true" failonerror="false"/> + <move file="12782-2015.pdf" tofile="IEEE1278.2-2015.DistributedInteractiveSimulation.CommunicationsServices.12782-2015.pdf" verbose="true" quiet="true" failonerror="false"/> + <copy todir="archive" file="IEEE1278.2-2015.DistributedInteractiveSimulation.CommunicationsServices.12782-2015.pdf" verbose="true" quiet="true" failonerror="false"/> <!-- part 3 00587529.pdf --> - <move file= "00587529.pdf" tofile="IEEE1278.3-2015.DistributedInteractiveSimulation.CommunicationsServices.00587529.pdf" verbose="true" quiet="true" failonerror="false"/> + <move file= "00587529.pdf" tofile="IEEE1278.3-2015.DistributedInteractiveSimulation.CommunicationsServices.00587529.pdf" verbose="true" quiet="true" failonerror="false"/> + <copy todir="archive" file="IEEE1278.3-2015.DistributedInteractiveSimulation.CommunicationsServices.00587529.pdf" verbose="true" quiet="true" failonerror="false"/> <!-- part 4 6595010.pdf --> - <move file="12784-1997.pdf" tofile="IEEE1278.4-2013.DistributedInteractiveSimulation.VV+A.12784-1997.pdf" verbose="true" quiet="true" failonerror="false"/> + <move file="12784-1997.pdf" tofile="IEEE1278.4-2013.DistributedInteractiveSimulation.VV+A.12784-1997.pdf" verbose="true" quiet="true" failonerror="false"/> + <copy todir="archive" file="IEEE1278.4-2013.DistributedInteractiveSimulation.VV+A.12784-1997.pdf" verbose="true" quiet="true" failonerror="false"/> - <echo message="*.pdf directory contents:"/> + <echo message="check *.pdf directory contents..."/> <!-- https://stackoverflow.com/questions/10528032/listing-all-files-and-subdirectories-using-ant --> <fileset id="dist.contents" dir="." includes="*.pdf"/> <property name="prop.dist.contents" refid="dist.contents"/> <!-- https://stackoverflow.com/questions/7102793/how-to-put-a-newline-in-ant-property --> + <echo message="specifications directory:"/> <echo message="${prop.dist.contents}"/> + <fileset id="archive.contents" dir="archive" includes="*.pdf"/> + <property name="prop.archive.contents" refid="archive.contents"/> + <!-- https://stackoverflow.com/questions/7102793/how-to-put-a-newline-in-ant-property --> + <echo message="specifications/archive directory:"/> + <echo message="${prop.archive.contents}"/> </target> <!-- =============================================== --> @@ -50,8 +60,8 @@ <property name="ieeeBasePageUrl" value="https://ieeexplore.ieee.org/document/"/> <property name="ieeeBaseLinkUrl" value="https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber="/> - <echo message="Warning: due to cookie restrictions, you must download IEEE specifications manually via links found in README.md"/> - <echo message="TODO? University students/faculty can first login with permissions to the IEEE Explore page, then use target download.IeeeDisStandards.retrieve"/> + <echo message="Warning: due to cookie and scripting restrictions, you must download IEEE specifications manually via links found in README.md"/> + <echo message="TODO: university students/faculty can first login with permissions to the IEEE Explore page, then use target download.IeeeDisStandards.retrieve"/> <echo message="IEEE Explore: ${ieeeExploreUrl}"/> <!-- ======================== -->