You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/04/24 22:21:46 UTC

DO NOT REPLY [Bug 42227] New: - ant fails to include a build file when run from a dir containing spaces

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42227

           Summary: ant fails to include a build file when run from a dir
                    containing spaces
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: j_cumps@yahoo.com


Only happens in recent nightly builds:
When my project resides in a folder with spaces (C:\Documents and Settings\Jan 
Cumps\sandbox_sf\junitpdfreport), 
and my build.xml imports another build file (<import 
file="src/resources/ant/build-junitpdfreport.xml"/>),
it errors:

BUILD FAILED
C:\Documents%20and%20Settings\Jan%
20Cumps\sandbox_sf\junitpdfreport\build.xml:16
: Cannot find src/resources/ant/build-junitpdfreport.xml imported from 
C:\Docume
nts%20and%20Settings\Jan%20Cumps\sandbox_sf\junitpdfreport\build.xml

This works in 1.7.0, and in nightly builds up until last week (last successful 
test from ant trunk: 21-APR-2007).


Will provide a test case....

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42227] - ant fails to include a build file when run from a dir containing spaces

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42227





------- Additional Comments From j_cumps@yahoo.com  2007-04-24 13:30 -------
Created an attachment (id=20032)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20032&action=view)
test ant build files in a dir with spaces

provided testcase:
extract attached zip.
It will create a dir "x x", with two ant scripts.
Change dir to "x x", and type:
> ant

You will get error:
C:\x%20x\build.xml:7: Cannot find import.xml imported from C:\x%20x\build.xml

rename dir to y, and try again: success.
Duplicated project name in import. Project Bug 42227 defined first in
C:\y\build
.xml and again in C:\y\import.xml

all:

BUILD SUCCESSFUL
Total time: 0 seconds


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42227] - ant fails to include a build file when run from a dir containing spaces

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42227





------- Additional Comments From Darin_Swanson@us.ibm.com  2007-04-24 15:47 -------
duplicate of bug 42222

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42227] - ant fails to include a build file when run from a dir containing spaces

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42227





------- Additional Comments From j_cumps@yahoo.com  2007-04-25 01:51 -------
(In reply to comment #4)
> duplicate of bug 42222

Possibly caused by the same code, but I could not find a failing scenario in 
bug 42222. That's why I created this bug.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42227] - ant fails to include a build file when run from a dir containing spaces

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42227


j_cumps@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From j_cumps@yahoo.com  2007-04-27 02:14 -------
The bug is fixed by svn commit: r533024
http://svn.apache.org/viewvc?view=rev&rev=533024

Tested from fresh ource build succeeded.
Closing the bug as fixed.
Thank you.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42227] - ant fails to include a build file when run from a dir containing spaces

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42227





------- Additional Comments From j_cumps@yahoo.com  2007-04-24 13:47 -------
Indeed, when I revert file 
/ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
from revision 531340 to 476582, and build ant again from source, this issue is 
gone.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42227] - ant fails to include a build file when run from a dir containing spaces

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42227





------- Additional Comments From j_cumps@yahoo.com  2007-04-24 13:38 -------
Looking if it's related to:
 svn commit: r531340 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org