Thanks Dan!

That did the trick. I included the following in my pom and it works beautifully:

...
  <build>
        <resources>
            <resource>
                <directory>target/generated-sources/antlr</directory>
                <includes>
                    <include>**/*.tokens</include>
                </includes>
            </resource>
        </resources>
  ....
   </build>


2008/8/30 Dan Tran <[EMAIL PROTECTED]>:
> 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 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Jan van Mansum

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to