You should use an ant fileset in your ant script instead of a file



Jeff

—
Sent from Mailbox for iPhone

On Fri, Sep 13, 2013 at 6:10 PM, Andrew Pennebaker <[email protected]>
wrote:

> 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 <[email protected]> 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<[email protected]>
>> For additional commands, e-mail: [email protected]
>>
>>

Reply via email to