gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
enable different default FermaT directories under Windows and Linux/Mac
authorDoni Pracner <quinnuendo@gmail.com>
Mon, 16 Dec 2013 19:00:32 +0000 (20:00 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Mon, 16 Dec 2013 19:16:56 +0000 (20:16 +0100)
build.xml

index a69c6099c431b11805e8e61d80ccb929c08bfd86..090af7a96935b7644bcf454c8a1cc468d6b47ed2 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1,5 +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"/>
     
@@ -12,8 +22,6 @@
 
     <property name="samples.main.dir" value="samples" />
     <property name="samples.temp.dir" value="samples-temp" />
-    
-    <property name="fermat.dir" value="${user.home}/fermat3" />
 
     <property name="transf.wsl.file" value="src-wsl/transf-min.wsl" />
     <property name="transf.wsl.ini" value="transf.ini" />
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner