Skip to content
Snippets Groups Projects
Commit 32d02d35 authored by Terry D. Norbraten's avatar Terry D. Norbraten
Browse files

[Terry N.] move props to a separate file

parent ebf1f5cd
No related branches found
No related tags found
No related merge requests found
# Created 23 AUG 2024
product.shortname=viskit
viskit.dir=${basedir}/${product.shortname}
#assy.file=${basedir}/examples/src/ViskitOpenDis7Examples/Assemblies/dis7/ArrivalProcessOpenDis7Assembly.xml
#assy.file=${basedir}/examples/src/ViskitOpenDis7Examples/Assemblies/dis7/SimpleServerDis7Assembly.xml
# Viskit run arguments
common.run.args=-Xmx256m \
-Dswing.aatext=true
win.run.args=${common.run.args}
run.arg1=-Dawt.useSystemAAFontSettings=gasp
unix.run.args=${common.run.args} ${run.arg1}
run.arg2=-Dapple.awt.graphics.UseQuartz=true \
-Dapple.laf.useScreenMenuBar=true \
-Dapple.awt.brushMetalLook=true \
-Xdock:name=${product.shortname} \
--add-exports java.desktop/com.apple.eawt=ALL-UNNAMED
mac.run.args=${common.run.args} ${run.arg2}
# property used to identify .viskit/*.xml files
dot.viskit.dir=${user.home}/.${product.shortname}
......@@ -46,6 +46,7 @@ POSSIBILITY OF SUCH DAMAGE.
<property name="specificationsDirectory" location="specifications"/>
<import file="specifications/build.xml"/> -->
<property file="build.properties"/>
<target name="versions" description="show tool versions and environment values">
<echo>ant -version</echo>
......@@ -253,27 +254,6 @@ POSSIBILITY OF SUCH DAMAGE.
</not>
</and>
</condition>
<property name="product.shortname" value="viskit"/>
<property name="viskit.dir" value="${basedir}/${product.shortname}"/>
<property name="run.arg0" value="-Xmx256m"/>
<property name="run.arg1" value="-Dswing.aatext=true"/>
<property name="common.run.args" value="${run.arg0} ${run.arg1}"/>
<property name="win.run.args" value="${common.run.args}"/>
<property name="run.arg2" value="-Dawt.useSystemAAFontSettings=gasp"/>
<property name="unix.run.args" value="${common.run.args} ${run.arg2}"/>
<property name="run.arg3" value="-Dapple.awt.graphics.UseQuartz=true"/>
<property name="run.arg4" value="-Dapple.laf.useScreenMenuBar=true"/>
<property name="run.arg5" value="-Dapple.awt.brushMetalLook=true"/>
<property name="run.arg6" value="-Xdock:name=${product.shortname}"/>
<property name="run.arg7" value="--add-exports java.desktop/com.apple.eawt=ALL-UNNAMED"/>
<property name="mac.run.args" value="${common.run.args} ${run.arg3} ${run.arg4} ${run.arg5} ${run.arg6} ${run.arg7}"/>
<!--<property name="assy.file" value="${basedir}/examples/src/ViskitOpenDis7Examples/Assemblies/dis7/ArrivalProcessOpenDis7Assembly.xml"/>-->
<property name="assy.file" value="${basedir}/examples/src/ViskitOpenDis7Examples/Assemblies/dis7/SimpleServerDis7Assembly.xml"/>
<target name="run.viskit" depends="run.viskit.win,run.viskit.mac,run.viskit.unix" description="Start the Visual Simikit (viskit) DES Authoring Tool on any O/S"/>
<target name="run.viskit.win" if="isWin">
......@@ -301,7 +281,7 @@ POSSIBILITY OF SUCH DAMAGE.
</target>
<target name="nuke.dot.viskit" description="Abolish an out of synch configuration and metadata directory">
<delete includeemptydirs="yes" dir="${user.home}/.${product.shortname}"/>
<delete includeemptydirs="yes" dir="${dot.viskit.dir}"/>
</target>
</project>
\ No newline at end of file
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