E
eran
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?
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?