2009/6/30 Sam Barnett-Cormack <[email protected]>:
> Hi all,
>
> So, currently I'm using eclipse with ANTLR IDE, and it's working nicely.
> I'm moving toward mavenising my work (which is broken into multiple
> projects), and the bits without ANTLR use are going fine.
>
> However, for the ANTLR bits, I'd ideally make use of maven's ANTLR
> plugin to make the project portable outside of eclipse. I also want to
> keep using at least the editor/debugger functionality of ANTLR IDE. Is
> there any way that people know of to marry these? How would I go about
> adding ANTLR to the maven pom for plugin as well as dependency? Are
> there docs, and where? And does anyone have experience of doing this in
> Eclipse and marrying it with an ANTLR Eclipse plugin?
>
> Thanks,
>
> Sam
>
> PS: I'm planning to ask the m2eclipse list as well, I just thought I'd
> try here first.
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: 
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>

Hi Sam,

I have something like the following in my projects:

                <plugin>
                                <groupId>org.antlr</groupId>
                                <artifactId>antlr3-maven-plugin</artifactId>
                                <version>3.1.1.2</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>antlr</goal>
                        </goals>
                    </execution>
                </executions>
                        </plugin>

Doing a maven build on a project puts stuff into
my-module/target/generated-sources/antlr and either Eclipse /
M2Eclipse or myself edited the project classpath to reference the
generated classes.

Cheers,

James

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to