-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.properties
More file actions
159 lines (127 loc) · 5.1 KB
/
build.properties
File metadata and controls
159 lines (127 loc) · 5.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
#delete.temps.cache=@echo Deletes all viskit generated files in the %TEMP%, \
#or %TMP% locations on Windows XP boxes\n\
#cd %TEMP%\n\
#@echo wipe out all "temp" sub-directories and any contained files without \
#confirmation to execute\n\
#for /d %%d in (*) do rd %%d /s /q\n\
#@echo wipe out all remaining files not locked in temp as well\n\
#del *.* /q
#@echo This cleaning process accomplishes what Viskit can not currently do for cleanup\n
# some of the project directories
dir.src=src
dir.test=test
dir.lib=lib
dir.bindings=${dir.src}/viskit/xsd/bindings
dir.build=build
dir.build.classes=${dir.build}/classes
dir.build.test.classes=${dir.build.classes}
dir.build.lib=${dir.build}/lib
app.name=Viskit
application.title={app.name} v${product.Version}
ant.script=build.xml
# For user, my.name and my.email properties, go to
# nbproject/private/private.properties and assign those values
#user=joe-user
#my.email=${user}@123.com
#my.name=${name}
product.Name=Visual Simkit (${app.name}) Discrete Event Simulation (DES) Authoring Tool
product.shortname=viskit
product.version.major=2
product.version.minor=0
product.version.level=0
product.Version=${product.version.major}.${product.version.minor}.\
${product.version.level}
product.url=https://gitlab.nps.edu/Savage/viskit
years=1995-2025
copyright=Copyright \u00a9 ${years} held by the author(s). All Rights Reserved.
nps=Naval Postgraduate School (NPS), Monterey, CA
moves.institute=Modeling, Virtual Environments and Simulation (MOVES) Institute
savage.research.group=Scenario Authoring and Visualization for Advanced \
Graphical Environments (SAVAGE) Research Group
spec.vendor=edu.nps.moves
project.licensePath=${license.dir}/license.html
#project.licensePath=${license.dir}/license.txt
# New Schema home
schema.dir=Schemas
assembly.dtd=${schema.dir}/assembly.dtd
assembly.xsd=${schema.dir}/assembly.xsd
cli.dtd=${schema.dir}/cli.dtd
cli.xsd=${schema.dir}/cli.xsd
simkit.dtd=${schema.dir}/simkit.dtd
simkit.xsd=${schema.dir}/simkit.xsd
statistics.dtd=${schema.dir}/statistics.dtd
statistics.xsd=${schema.dir}/statistics.xsd
statistics.xsd.patch=${schema.dir}/statistics.xsd.patch
qstat.xsd=${schema.dir}/qstat.xsd
main.class=viskit.ViskitApplication
# Path to an assembly file from a Viskit Project on startup
viskit.args=
debug.class=${main.class}
# Project jar properties
dist.jar=${dir.build.lib}/${product.shortname}.jar
# An executable jar for the installer
dist.editor.jar=${dir.build.lib}/${product.shortname}-editor.jar
Savage.url=https://savage.nps.edu/Savage
impl.title=${product.shortname}
javac.unchecked=-Xlint\:unchecked
javac.deprecation=-Xlint\:deprecation
javac.release=21
javac.debug=true
javac.options=-Xlint:-options
javac.compile.args=${javac.unchecked} ${javac.deprecation} ${javac.options}
jaxb-api.jar=${dir.lib}/jaxb/jaxb-api.jar
jcommon.jar=${dir.lib}/jcommon.jar
# https://search.maven.org/artifact/org.jfree/jfreechart
jfreechart.jar=${dir.lib}/jfreechart-1.5.5.jar
jfreechart-javadoc.jar=${dir.lib}/jfreechart-1.5.5-javadoc.jar
# note that api is needed
# https://logging.apache.org/log4j/2.x/manual/getting-started.html#install-app
log4j.jars=${dir.lib}/log4j-api-2.24.3.jar:${dir.lib}/log4j-core-2.24.3.jar:${dir.lib}/log4j-layout-template-json-2.24.3.jar
# Analyst Reports properties
config.dir=config
# there are multiple external dependencies on this directory name
analyst.report.stylesheet=AnalystReportXMLtoHTML.xslt
class.finder.props=ClassFinder.properties
license.dir=.
# Links to api documentation
j2se.api=https://docs.oracle.com/en/java/javase/11/docs/api/
#TODO
simkit.api=https://github.com/ahbuss/Simkit
jdom.api=lib/jdom-1.1.3-javadoc.jar
# JDOM 2: http://www.jdom.org/docs/apidocs/
commons.config.api=http://commons.apache.org/configuration/apidocs/
jfreechart.api=http://www.jfree.org/jfreechart/api/javadoc/
jgraph.api=https://jgraph.github.io/mxgraph/java/docs/
# not compatible;
# https://mvnrepository.com/artifact/jgraph/jgraph/5.13.0.0
# https://javadoc.io/doc/jgraph/jgraph/latest/index.html
# Run arguments
common.run.args=-Xmx5g \
-Dswing.aatext=true
# TODO issue #7 https://gitlab.nps.edu/Savage/viskit/-/issues/7
# \
# -Djavax.xml.bind.JAXBContextFactory=com.sun.xml.bind.v2.ContextFactory
# vs
# -Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory
win.run.args=${common.run.args}
unix.run.args=${common.run.args} \
-Dawt.useSystemAAFontSettings=gasp
mac.run.args=${common.run.args} \
-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
splash.image=src/${product.shortname}/images/ViskitSplash2.png
# property used to identify .viskit/*.xml files
dot.viskit.dir=${user.home}/.${product.shortname}
c_app.xml =${config.dir}/c_app.xml
c_gui.xml =${config.dir}/c_gui.xml
c_README.md=${config.dir}/README.md
viskitProject.xml=${config.dir}/viskitProject.xml
mac.installer.jar=ViskitInstallMac.jar
win.installer.jar=ViskitInstallWin.jar
win.installer.exe=ViskitInstallWin.exe
linux.installer.jar=ViskitInstallUnix.jar
# Tell the debugger where to start
start.dir=${basedir}