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

add target rename.IeeeDisStandards

parent 605a1434
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project name="DIS Utilities" default="" basedir="."> <project name="DIS Utilities" default="" basedir=".">
<target name="all" depends="clean.specifications,download.IeeeDisStandards,download.SISO"/> <target name="all" depends="clean.specifications,download.IeeeDisStandards,download.SISO,rename.IeeeDisStandards"/>
<target name="clean.specifications"> <target name="clean.specifications">
<echo message="ensure all files are closed before deleting..."/> <echo message="ensure all files are closed before deleting..."/>
...@@ -16,6 +16,22 @@ ...@@ -16,6 +16,22 @@
<!-- =============================================== --> <!-- =============================================== -->
<target name="rename.IeeeDisStandards" description="rename saved DIS specification files to readable filenames">
<move file="6387564.pdf" tofile="IEEE1278.1-2012.DistributedInteractiveSimulation.ApplicationProtocols.6387564.pdf" verbose="true" quiet="true" failonerror="false"/>
<move file="7459689.pdf" tofile="IEEE1278.2-2015.DistributedInteractiveSimulation.CommunicationsServices.7459689.pdf" verbose="true" quiet="true" failonerror="false"/>
<move file= "587529.pdf" tofile="IEEE1278.3-2015.DistributedInteractiveSimulation.CommunicationsServices.587529.pdf" verbose="true" quiet="true" failonerror="false"/>
<move file="6595010.pdf" tofile="IEEE1278.4-2013.DistributedInteractiveSimulation.VV+A.6595010.pdf" verbose="true" quiet="true" failonerror="false"/>
<echo message="*.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="${prop.dist.contents}"/>
</target>
<!-- =============================================== -->
<target name="download.IeeeDisStandards"> <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 on README.DIS.md"/>
......
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