ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (EM, DDEMESIS)" <>
Subject RE: problem with exec task
Date Fri, 14 Nov 2003 22:38:46 GMT
Try setting the directory where the file will be executed

<exec dir="C:\workspace\tools\MGR2COM" 
    <arg value="c:\x\y\z\*.java"/>

-----Original Message-----
From: alan brown []
Sent: Friday, November 14, 2003 4:35 PM
Subject: problem with exec task

This can't be too tough a problem, but it's got me flummoxed.
I'm trying to call an executable
<exec executable="C:\workspace\tools\MGR2COM\Mgr2Com">
            <arg value="c:\x\y\z\*.java"/>
However the executable when it runs is giving me an error (subscript out
of range) that implies (strongly) that it didn't get the argument
mgr2com is a VB .exe program if that makes any difference (but it can't,
Any help pointing out my glaring error would be appreciated

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message