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...@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-unsubscr...@maven.apache.org> > For additional commands, e-mail: users-h...@maven.apache.org > >