Thanks Dan!
That did the trick. I included the following in my pom and it works beautifully:
...
build
resources
resource
directorytarget/generated-sources/antlr/directory
includes
include**/*.tokens/include
Maven pom allows you to add additional resource directories. Check
the pom schema again.
-D
On Fri, Aug 29, 2008 at 2:40 PM, Jan van Mansum [EMAIL PROTECTED] wrote:
Hello group,
I am using the antlr3 maven plugin to generate a parser. I would also like the
.tokens file to be included in the
Hi Jan,
I just met a similar problem, as Stephen Connolly suggested me, you
should be able adding generated sources using build-helper plugin in
generate-sources phase.
Hope this helps, best regards,
Simone
2008/8/29 Jan van Mansum [EMAIL PROTECTED]:
Hello group,
I am using the antlr3 maven
actually this sounds like a use case for adding addionsl resources.
the saddional source paths will only be scanned for .java files, not
copied into the jar
Sent from my iPod
On 30 Aug 2008, at 09:29, Simone Tripodi [EMAIL PROTECTED]
wrote:
Hi Jan,
I just met a similar problem, as
no, build helper only adds additional source path, not resource since
the pom it self can do that.
On Sat, Aug 30, 2008 at 1:29 AM, Simone Tripodi
[EMAIL PROTECTED] wrote:
Hi Jan,
I just met a similar problem, as Stephen Connolly suggested me, you
should be able adding generated sources using
Hi Stephen, Dan,
thank you very much for your help.
Best regards,
Simone
2008/8/30 Dan Tran [EMAIL PROTECTED]:
no, build helper only adds additional source path, not resource since
the pom it self can do that.
On Sat, Aug 30, 2008 at 1:29 AM, Simone Tripodi
[EMAIL PROTECTED] wrote:
Hi Jan,
Hello group,
I am using the antlr3 maven plugin to generate a parser. I would also like the
.tokens file to be included in the target jar file, so that a client
project can use
it to generate a tree walker. How can a achieve this?
Thanks for any help,
best regards,
--
Jan van Mansum