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 \ ...@@ -27,5 +27,7 @@ run.arg2=-Dapple.awt.graphics.UseQuartz=true \
--add-exports java.desktop/com.apple.eawt=ALL-UNNAMED --add-exports java.desktop/com.apple.eawt=ALL-UNNAMED
mac.run.args=${common.run.args} ${run.arg2} 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} 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. ...@@ -276,6 +276,7 @@ POSSIBILITY OF SUCH DAMAGE.
<fileset dir="${viskit.lib.dir}"> <fileset dir="${viskit.lib.dir}">
<include name="**/*.jar"/> <include name="**/*.jar"/>
</fileset> </fileset>
<pathelement path="${extra.classpath}"/>
</path> </path>
<echo message="runtime.classpath=${toString:runtime.classpath}"/> <echo message="runtime.classpath=${toString:runtime.classpath}"/>
</target> </target>
...@@ -285,7 +286,6 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -285,7 +286,6 @@ POSSIBILITY OF SUCH DAMAGE.
classpathref="runtime.classpath" classpathref="runtime.classpath"
dir="${viskit.dir}" dir="${viskit.dir}"
fork="true"> fork="true">
<classpath path="${extra.classpath}"/>
<jvmarg line="${run.args}"/> <jvmarg line="${run.args}"/>
<arg value="${assy.file}"/> <arg value="${assy.file}"/>
</java> </java>
...@@ -298,6 +298,9 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -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"> <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}"/> <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> </target>
</project> </project>
\ No newline at end of file
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</projectgeneration> </projectgeneration>
</button> </button>
<projecttitle> <projecttitle>
<name value="DefaultProject"/> <name value="ViskitOpenDis7Examples"/>
</projecttitle> </projecttitle>
<lookandfeel>platform</lookandfeel> <lookandfeel>platform</lookandfeel>
</gui> </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