< prev index next >

make/build.xml

Print this page

        

@@ -94,12 +94,26 @@
     <condition property="test-sys-prop-no-security.os.not.windows">
       <not>
         <os family="windows"/>
       </not>
     </condition>
+
+    <!--set windows cygwin/cmd specific properties-->
+    <property environment="env"/>
+    <condition property="test-sys-prop-no-security.os.not.windows.cmd">
+     <not>
+      <and>
+        <os family="windows"/>
+        <not>
+          <isset property="env.SHELL"/>
+        </not>
+      </and>
+     </not>
+    </condition>
   </target>
 
+
   <!-- check minimum ant version required to be 1.8.4 -->
   <target name="check-ant-version">
     <property name="ant.version.required" value="1.8.4"/>
     <antversion property="ant.current.version" />
     <fail message="The current ant version, ${ant.current.version}, is too old. Please use 1.8.4 or above.">
< prev index next >