maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuen-Chi Lian>
Subject Re: How can I compile all .thrift files (*.thrift) as a Maven phase?
Date Thu, 12 Sep 2013 18:32:05 GMT
> I'm using maven-antrun-plugin to execute a thrift shell command. I can
> compile one file per <exec> with <arg value="...path/to/file.thrift" />,
> but I would like to compile all .thrift files in a directory. How can I do
> this?
> I tried using <arg value="...path/to/*.thrift" />, but Maven rejected this
> syntax.

I worked with Thrift (and just like you, using Ant-Run) but I don't
remember my setup anymore. This doesn't look like a Maven/Ant question but
whether thrift can understand your expression.

>From the Thrift homepage, it seems like the Thrift command consumes only 1
Thrift file.

YC |

"A bit more curious, a lot more conscious."

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message