ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: Exec task not to show a console window under Windows
Date Fri, 19 Jan 2007 12:53:53 GMT
It is the xgettext exec that is creating the window -
were did you get it from ?

Peter


On 1/19/07, dperez <craquerpro@yahoo.es> wrote:
>
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message