Fixing Ant build that fails due to space in path



Hi,

I’m trying to run an installation that uses Ant. The installation has
to update some files that are in an existing folder. The folder is
supposed to be assigned to a certain environment variable, which the
Ant script relies on. The problem is this: the folder contains a space
(program files...), and that breaks the installation.

The script is along the line of:
<exec dir="${AS_HOME}/bin" executable="cmd.exe" ... >
where AS_HOME contains the space. I’m not sure this exact command
fails, as there are others in the build.xml as well, but they all look
similar. I tried to wrap the path in the env. variable with quotes, to
no avail. I don’t mind changing the XML to a fixed path, but obviously
using more quotes above will do more harm than good.

I’m not familiar with Ant, and I don’t have the time to learn how to
use it properly. I just need this problem to be solved. Can anyone
tell me how can I make it work with spaces in the given path?
.



Relevant Pages

  • Re: HELP with OE
    ... Do point 3a below and then do a File | Folder | Compact all in OE. ... and then compact manually and frequently using File ... affect the ability of your antivirus software to block infections. ... Most of the problems with a faulty installation are due to other programs ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Compacte Files - Reading them
    ... > file to a backup folder. ... and then compact manually and frequently using File ... affect the ability of your antivirus software to block infections. ... Most of the problems with a faulty installation are due to other programs ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Sent items lost !
    ... I can see this folder contains all of the sent items cause it's ... Cannot Open E-Mail Attachments in Outlook Express After You Install SP1 ... affect the ability of your antivirus software to block infections. ... Most of the problems with a faulty installation are due to other programs ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: HELP with OE
    ... Do point 3a below and then do a File | Folder | Compact all in OE. ... and then compact manually and frequently using File ... affect the ability of your antivirus software to block infections. ... Most of the problems with a faulty installation are due to other programs ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Lost Mail Folder
    ... Search for *.dbx and *.dbt. ... If you find the file that corresponds to the folder, try running DBXpress or DBXtract on it. ... affect the ability of your antivirus software to block infections. ... Most of the problems with a faulty installation are due to other programs ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)