Also because of 8.3 limitation I generally abbreviate the Folder and Filenames to match the 8.3 spec
so C:\Program Files becomes C:\PROGRA~1
HTH,
Martin Gainty
(cell) 617-852-7822 (e) [EMAIL PROTECTED] (http)www.laconiadatasystems.com
From: "Noel Gifford" <[EMAIL PROTECTED]>
To: "'Bert Jan Lappenschaar'" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: [Nant-users] AXIMP task: how to handle spaces in a path?
Date: Wed, 21 Jul 2004 22:11:27 -0700
MIME-Version: 1.0
Received: from mc3-f30.hotmail.com ([64.4.50.166]) by mc3-s7.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 21 Jul 2004 22:13:21 -0700
Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by mc3-f30.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 21 Jul 2004 22:12:42 -0700
Received: from localhost ([127.0.0.1] helo=projects.sourceforge.net)by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30)id 1BnVsA-0001Xz-Vi; Wed, 21 Jul 2004 22:12:02 -0700
Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net)by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30)id 1BnVrD-0001NY-IWfor [EMAIL PROTECTED]; Wed, 21 Jul 2004 22:11:03 -0700
Received: from smtp.easystreet.com ([69.30.22.10])by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256)(Exim 4.34)id 1BnVrD-00053N-4Gfor [EMAIL PROTECTED]; Wed, 21 Jul 2004 22:11:03 -0700
Received: from Sherloch (209-162-216-201.dv0sn.easystreet.com [209.162.216.201])by smtp.easystreet.com (Postfix) with SMTP id E26876DC017;Wed, 21 Jul 2004 21:08:07 -0700 (PDT)
X-Message-Info: 820stLNiepTG/bOhMlblKnQul7FmfwqqYIl381b9Epg=
Message-ID: <[EMAIL PROTECTED]>
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
In-Reply-To: <[EMAIL PROTECTED]>
X-MS-TNEF-Correlator: 00000000FD44FB2EB1D7D51186B200A0CC36194DC4D22004
X-Spam-Score: 0.1 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See http://spamassassin.org/tag/ for more details.Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=2000010.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with /0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with -0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with :0.0 SF_CHICKENPOX_BACKSLASH BODY: Text interparsed with \0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with '0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with .0.0 SF_CHICKENPOX_BRACKET_CLOSE BODY: Text interparsed with ]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/nant-users>,<mailto:[EMAIL PROTECTED]>
List-Id: Discussion of NAnt features and usage <nant-users.lists.sourceforge.net>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/nant-users>,<mailto:[EMAIL PROTECTED]>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=nant-users>
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 22 Jul 2004 05:12:42.0426 (UTC) FILETIME=[841441A0:01C46FAA]
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
<< winmail.dat >>
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users