There are two different problems. Ant scripts don't usually suffer
from the the spaces-in-directories problems, as they don't usually, if
coded correctly, involve constructing command lines as strings. (The
ant tasks, if used correctly, will handle the quoting issues correctly
automatically). I assumed this was inheriting the problem from a .bat
file -- but I don't see any obvious sign of that, and fixing the .bat
file with the known problem doesn't solve it.

But here's a better workaround for you. Instead of using Documents and
Settings, use the short 8.3 name for that directory -- use 'dir /X' to
find it. That will bypass the issue for you - unless your IT folks
disable short names, which I think is unlikely.

I'm kicking myself for not thinking to suggest it earlier. I've had to
resort to it often -- but not in many years, thankfully.

I just verified with a "test proj" directory that I can reproduce the
problem, and that using the short name avoids it.

On Dec 19, 12:21 pm, H <[email protected]> wrote:
> I've downloaded the latest release of Ant and updated ANT_HOME in eclipse to
> use this version (1.8.1) and the build trying to use proguard still fails as
> above. The problems with spaces in the folder hierarchy is still the main
> problem.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to