gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
README - added a bit about MicroJava and a link
[mjc2wsl.git] / build.xml
index afbb1f8..090af7a 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1,4 +1,15 @@
 <project name="mjc2wsl" default="all">
+    <property file="custom.properties"/>
+    
+     <condition property="fermat.dir" value="C:\fermat3">
+       <os family="windows" />
+     </condition>
+
+     <condition property="fermat.dir" value="${user.home}/fermat3">
+       <not><os family="windows" /></not>
+     </condition>
+
+    
     <property name="java.encoding" value="utf-8" />
     <taskdef resource="net/sf/antcontrib/antlib.xml"/>
     
@@ -11,8 +22,6 @@
 
     <property name="samples.main.dir" value="samples" />
     <property name="samples.temp.dir" value="samples-temp" />
-    
-    <property name="fermat.dir" value="/home/donny/d/donny/fermat3" />
 
     <property name="transf.wsl.file" value="src-wsl/transf-min.wsl" />
     <property name="transf.wsl.ini" value="transf.ini" />
@@ -50,7 +59,7 @@
         </java>
     </target>
     
-    <target name="mj-samples" depends="build" description="run the mj compiler on the samples">
+    <target name="mj-samples" depends="mj-build" description="run the mj compiler on the samples">
         <foreach param="filename" target="mj-compile">
             <path>
             <fileset dir='${samples.temp.dir}'>
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner