--- Radha Sangal <[EMAIL PROTECTED]> wrote:
> Please help me figure this out, its quite simple. I
> am executing
> cabarc.exe to extract cab files in a dir. No error
> is displayed but I
> don't get my files
>
> Ant script :
>
>
>
> <target name="cabarc">
>
> <echo message="Expanding
> cabs..."/>
>
> <exec
> executable="cabarc.exe" dir=".">
>
> <arg line="x
>
${BUILD_ROOT}/prInfraDistribution/Projects/CabInstaller/PRPC_Standalone_
> CAB_Install/${CABFILE_NAME}.cab
>
${BUILD_ROOT}/prInfraDistribution/Projects/CabInstaller/PRPC_Standalone_
> CAB_Install/Temp/"/>
>
> </exec>
>
> </target>
If <arg line> doesn't work, try multiple arg elements.
Better yet, listen to the manual:
"It is highly recommended to avoid the line version
when possible."
http://ant.apache.org/manual/using.html#arg
-Matt
>
>
>
> Output Log:
>
>
>
> cabarc:
>
> [echo] Expanding cabs...
>
> [exec] Current OS is Windows XP
>
> [exec] Executing 'cabarc.exe' with arguments:
>
> [exec] 'x'
>
> [exec]
>
'E:/v04_E/Builds/Development/Build_1426/prInfraDistribution/Projects/Cab
>
Installer/PRPC_Standalone_CAB_Install/formbuilderocx.cab'
>
> [exec]
>
'E:/v04_E/Builds/Development/Build_1426/prInfraDistribution/Projects/Cab
> Installer/PRPC_Standalone_CAB_Install/Temp/'
>
> [exec]
>
> [exec] The ' characters around the executable
> and arguments are
>
> [exec] not part of the command.
>
>
>
> [exec] Microsoft (R) Cabinet Tool - Version
> 1.00.0601 (03/18/97)
>
> [exec] Copyright (c) Microsoft Corp 1996-1997.
> All rights reserved.
>
>
>
> [exec] Extracting file(s) from cabinet
>
'E:/v04_E/Builds/Development/Build_1426/prInfraDistribution/Projects/Cab
>
Installer/PRPC_Standalone_CAB_Install/formbuilderocx.cab':
>
>
>
> [exec] Operation successful
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]