Hi Benjamin,
Of course:
<target name="translate">
<foreach target="translate1" param="fich">
<path>
<fileset dir="mydir">
<include name="**/*.py"/>
<include name="**/*.java"/>
</fileset>
</path>
</foreach>
</target>
<target name="translate1">
<exec executable="xgettext">
<arg line="--keyword --keyword=_ --from-code=UTF-8 -j
--sort-by-file -o"/>
<arg file="tmp/msjs.pot"/>
<arg file="${fich}"/>
</exec>
</target>
This is in a loop where I call the xgettext command for each source file.
It uses the ant-contrib foreach task.
xgettext is a command that accepts multiple files, but maybe I reach the
command line length limit.
Workarounds I see:
- Iterate with a *.cmd file instead of Ant
Burgess, Benjamin wrote:
>
> Could you show the portion of your build that makes the call now?
>
--
View this message in context:
http://www.nabble.com/Exec-task-not-to-show-a-console-window-under-Windows-tf3033837.html#a8447963
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]