Skip to content
Snippets Groups Projects
Forked from Savage / NetworkedGraphicsMV3500
4234 commits behind the upstream repository.
build.xml 4.20 KiB
<?xml version="1.0" encoding="UTF-8"?>
<project name="DIS Utilities" default="" basedir=".">
		
	<target name="all" depends="clean.specifications,download.IeeeDisStandards,download.SISO"/>
	
	<target name="clean.specifications">
		<echo message="ensure all files are closed before deleting..."/>
        <delete dir="TODO"/>
	</target>
	
	<!-- =============================================== -->
		
	<target name="download.IeeeDisStandards">
	
		<echo message="Warning: due to cookie restrictions, you must download IEEE specifications manually via links on README.DIS.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"/>
		<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="DIS.2.document" value="7459689"/>
		<property name="DIS.2.rename"   value="IEEE1278.2-2015.DistributedInteractiveSimulation.CommunicationsServices.${DIS.2.document}.pdf.SAVEME"/>
		<echo message="see ${ieeeBasePageUrl}${DIS.2.document}"/>
        <echo message="get ${ieeeBaseLinkUrl}${DIS.2.document}"/>
        <echo message="as  ${DIS.2.rename}"/>
        <!-- 
        <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"
                 file="${DIS.2.rename}"/>
		
		<!-- ======================== -->
		<property name="DIS.3.document" value="7459689"/>
		<property name="DIS.3.rename"   value="IEEE1278.3-2015.DistributedInteractiveSimulation.CommunicationsServices.${DIS.3.document}.pdf.SAVEME"/>
		<echo message="see ${ieeeBasePageUrl}${DIS.3.document}"/>
        <echo message="get ${ieeeBaseLinkUrl}${DIS.3.document}"/>
        <echo message="as  ${DIS.3.rename}"/>
        <!-- 
        <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"
                 file="${DIS.3.rename}"/>
		
		<!-- ======================== -->
		<property name="DIS.4.document" value="7459689"/>
		<property name="DIS.4.rename"   value="IEEE1278.4-2013.DistributedInteractiveSimulation.VV+A.${DIS.4.document}.pdf.SAVEME"/>
		<echo message="see ${ieeeBasePageUrl}${DIS.4.document}"/>
        <echo message="get ${ieeeBaseLinkUrl}${DIS.4.document}"/>
        <echo message="as  ${DIS.4.rename}"/>
        <!-- 
        <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"
                 file="${DIS.4.rename}"/>

	</target>
	
	<!-- =============================================== -->
	
    <property name="sisoBaseUrl" value="https://www.sisostds.org/DigitalLibrary.aspx?Command=Core_Download&amp;EntryId="/>
	
	<target name="download.SISO">
		
		<property name="SISO-REF-010" value="SISO-REF-010-v24.zip"/>
		<echo message="get ${SISO-REF-010}"/>
        <get     src="${sisoBaseUrl}46171"
                dest="${SISO-REF-010}" verbose="true"/>
		<unzip   src="${SISO-REF-010}"
		        dest="" overwrite="true"/>
		<delete file="${SISO-REF-010}"/>
		
		<property name="SISO-REF-010.1" value="SISO-REF-010.1-2018 Operations Manual for EWG V07.pdf"/>
		<echo message="get ${SISO-REF-010.1}"/>
        <get     src="${sisoBaseUrl}46173"
                dest="${SISO-REF-010.1}" verbose="true"/>

	</target>

</project>