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

[Terry N.] more path surgery, better nuke.dot.viskit process

parent 7a541c0b
No related branches found
No related tags found
No related merge requests found
......@@ -27,5 +27,7 @@ run.arg2=-Dapple.awt.graphics.UseQuartz=true \
--add-exports java.desktop/com.apple.eawt=ALL-UNNAMED
mac.run.args=${common.run.args} ${run.arg2}
# property used to identify Viskit config files
# property used to identify Viskit config files
dot.viskit.dir=${user.home}/.${product.shortname}
c_app.xml=${viskit.dir}/configuration/c_app.xml
c_gui.xml=${viskit.dir}/configuration/c_gui.xml
......@@ -276,6 +276,7 @@ POSSIBILITY OF SUCH DAMAGE.
<fileset dir="${viskit.lib.dir}">
<include name="**/*.jar"/>
</fileset>
<pathelement path="${extra.classpath}"/>
</path>
<echo message="runtime.classpath=${toString:runtime.classpath}"/>
</target>
......@@ -285,7 +286,6 @@ POSSIBILITY OF SUCH DAMAGE.
classpathref="runtime.classpath"
dir="${viskit.dir}"
fork="true">
<classpath path="${extra.classpath}"/>
<jvmarg line="${run.args}"/>
<arg value="${assy.file}"/>
</java>
......@@ -298,6 +298,9 @@ POSSIBILITY OF SUCH DAMAGE.
<target name="nuke.dot.viskit" description="Abolish an out of synch configuration and metadata directory - only when necessary">
<delete includeemptydirs="yes" dir="${dot.viskit.dir}"/>
<mkdir dir="${dot.viskit.dir}"/>
<copy todir="${dot.viskit.dir}" file="${c_app.xml}"/>
<copy todir="${dot.viskit.dir}" file="${c_gui.xml}"/>
</target>
</project>
\ No newline at end of file
......@@ -27,7 +27,7 @@
</projectgeneration>
</button>
<projecttitle>
<name value="DefaultProject"/>
<name value="ViskitOpenDis7Examples"/>
</projecttitle>
<lookandfeel>platform</lookandfeel>
</gui>
......
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