Hi,
 
I'm trying to use the execon to run from a certain location ( X:\mon\components )
and execute the same command on every subdirectory of it.
I tried to use the following code , but it doesn't seem to work out,
maybe I'm not using the dir= in a correct manner.
 
<execon executable="Genic.bat" dir="X:\mon\components" type="dir" parallel="false" failonerror="yes">
    <arg line="-d ${classDst} ejb-jar.xml"/>
    <fileset dir="X:\mon\components">
        <patternset>
            <exclude name="**/*.txt"/>
        </patternset>
    </fileset>
</execon>

Please help .

Thanks

Ori

 

 

Reply via email to