Permalink
Browse files

Fixed failure when run all by itself where dist dir doesn't exist

  • Loading branch information...
1 parent 7eef3b3 commit bf4dde16dfe3b2469ad7f5c03dc0ad8585b4260f @aiwilliams committed May 23, 2006
Showing with 2 additions and 0 deletions.
  1. +2 −0 org.opensails.viento/build.xml
View
2 org.opensails.viento/build.xml
@@ -1,11 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.opensails.viento" default="build" basedir=".">
+ <property name="dist.dir" location="dist"/>
<property name="temp.root" location="buildtemp"/>
<property name="temp.classes" location="${temp.root}/classes"/>
<target name="build" depends="clean">
<ant antfile="parser.build.xml"/>
<mkdir dir="${temp.classes}"/>
+ <mkdir dir="${dist.dir}"/>
<javac srcdir="src/java" destdir="${temp.classes}" debug="on" optimize="on"/>
<jar destfile="${dist.dir}/viento.jar" basedir="${temp.classes}"/>
</target>

0 comments on commit bf4dde1

Please sign in to comment.