You're on the right track.  You do need to double quote a path with spaces
in it.
 
Try this:  (single quotes enclosing the double quotes on the ocx attribute)
 
<aximp ocx='"C:\Program
Files\Infragistics\UltraWebNavigator\v1.00.6007\shdocvw.dll"'
out="D:\PharosDev\Pharos12\NantBuild\Output\SurveyAdmin\bin\AxSHDocVw.dll"
/>
 
Noel
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bert Jan
Lappenschaar
Sent: Wednesday, July 21, 2004 4:36 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] AXIMP task: how to handle spaces in a path?
 
Hi,
 
I am using the AXIMP task to create wrapper dll's for Active X controls.
Example:
 
   <aximp ocx="C:\Program
Files\Infragistics\UltraWebNavigator\v1.00.6007\shdocvw.dll"
out="D:\PharosDev\Pharos12\NantBuild\Output\SurveyAdmin\bin\AxSHDocVw.dll"
/>
 
The above aximp task doesn't work, the error message is:
AxImp Error: Unable to locate input ActiveX library: 'C:\Program'
 
So I think the task doesn't interprete the full path including space
correctly.
If I run the aximp task from the command prompt (aximp "C:\Program
Files\Infragistics\UltraWebNavigator\v1.00.6007\shdocvw.dll") everything
works fine.
Just placing extra double quotes in the string (""C:\Program
Files\Infragistics\UltraWebNavigator\v1.00.6007\shdocvw.dll"") in the Nant
AXIMP task doesn't help either.
Can you help?
 
Thanks,
Bert-Jan
 
Bert-Jan Lappenschaar
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
 <mailto:[EMAIL PROTECTED]>  
Senior ontwikkelaar
DataBalk BV
 
tel:+31318410135
mobiel: +31651093956
 
 
 

<<attachment: winmail.dat>>

Reply via email to