maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Pennebaker <apenneba...@42six.com>
Subject Re: How can I compile all .thrift files (*.thrift) as a Maven phase?
Date Fri, 13 Sep 2013 14:30:37 GMT
When I use an asterisk (*) in arg, Maven complains:

[INFO] --- maven-antrun-plugin:1.3:run (generate-sources) @ sigacts ---
[INFO] Executing tasks
     [exec]
     [exec] [FAILURE:arguments:1] Could not open input file with realpath:
src/main/thrift/*.thrift
     [exec] Result: 1


On Thu, Sep 12, 2013 at 3:41 PM, Michael-O <1983-01-06@gmx.net> wrote:

> Am 2013-09-12 17:09, schrieb Andrew Pennebaker:
>
>  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 have answered this already before: http://stackoverflow.com/a/**
> 6781742/696632 <http://stackoverflow.com/a/6781742/696632>
>
> HTH,
>
> Michael
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@maven.**apache.org<users-unsubscribe@maven.apache.org>
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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