|
From: <cr...@us...> - 2008-05-03 10:51:59
|
Revision: 4045
http://jnode.svn.sourceforge.net/jnode/?rev=4045&view=rev
Author: crawley
Date: 2008-05-03 03:51:56 -0700 (Sat, 03 May 2008)
Log Message:
-----------
Patched to fail-fast on Windows if there is a space in the root dir's pathname.
Modified Paths:
--------------
trunk/all/build.xml
Modified: trunk/all/build.xml
===================================================================
--- trunk/all/build.xml 2008-05-03 07:58:28 UTC (rev 4044)
+++ trunk/all/build.xml 2008-05-03 10:51:56 UTC (rev 4045)
@@ -157,6 +157,17 @@
</patternset>
<target name="prepare">
+ <!-- Fail on a Windows platform if there are spaces in the root dir's pathname. It will
+ lead to mkisofs dying with a misleading error message. bluebit / crawley 2008-05-03 -->
+ <fail message="Cannot build JNode from a directory with spaces in the pathname.">
+ <condition>
+ <and>
+ <contains string="${os.name}" substring="windows" casesensitive="false" />
+ <contains string="${root.dir}" substring=" " casesensitive="false" />
+ </and>
+ </condition>
+ </fail>
+
<!-- Initialize all project directories -->
<property file="${root.dir}/jnode.properties"/>
<!-- Set overwritable properties -->
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|