http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1014
*** shadow/1014 Sun Mar 18 13:38:23 2001
--- shadow/1014.tmp.2218 Sun Mar 18 13:38:23 2001
***************
*** 0 ****
--- 1,62 ----
+ +============================================================================+
+ | Exec hangs running command on Windown OS if directory path to long |
+ +----------------------------------------------------------------------------+
+ | Bug #: 1014 Product: Ant |
+ | Status: NEW Version: 1.3 |
+ | Resolution: Platform: Other |
+ | Severity: Critical OS/Version: Other |
+ | Priority: High Component: Build Process |
+ +----------------------------------------------------------------------------+
+ | Assigned To: ant-dev@jakarta.apache.org |
+ | Reported By: watjb@home.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ Created the following directory path :
+
+ c:\tmp\tmp1\tmp2\tmp3\tmp4\tmp5\tmp6\tmp7\tmp8\tmp9\tmp10\tmp11\a
+
+ In the "a" directory created a file called tstecho.bat containing the command :
+
+ echo "testing"
+
+ In the "a" directory also created a build.xml file with the following contents :
+
+ <?xml version='1.0' encoding='ISO-8859-1' ?>
+ <!--
+ Author : Mr Jean Brunet
+
+ Description :
+
+ Revision history :
+
+ Date By Description
+
+ Mar 10 2001 JB Initial version.
+ -->
+
+ <project name="novasoft" default="build" basedir=".">
+
+ <!-- ******************************************************** -->
+ <!-- Initialization. -->
+ <!-- ******************************************************** -->
+
+
+ <!-- ******************************************************** -->
+ <!-- The following targets are called to build the package. -->
+ <!-- ******************************************************** -->
+
+ <!-- Build all of the software -->
+ <target name="build">
+ <exec executable="tstecho.bat" dir="." os="Windows 98"/>
+ </target>
+ </project>
+
+ If you cd to the "a" directory ant run ant the tstecho command will run
+ properly, echoing "testing".
+
+ Now rename the directory from "a" to "aa" and run ant again. The command hangs.
+
+ ant -debug shows that ant hangs executing the tstecho.bat command.
|