You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jo...@apache.org on 2014/04/24 18:06:17 UTC
[45/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - antlr
execution pass
antlr execution pass
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0b43ce3f
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0b43ce3f
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0b43ce3f
Branch: refs/heads/maven
Commit: 0b43ce3f03a1d71cd1f2448ebf016fb317166d5e
Parents: 2bd7b24
Author: Jose Barragan <jo...@apache.org>
Authored: Fri Feb 28 22:53:40 2014 +0100
Committer: Jose Barragan <jo...@apache.org>
Committed: Thu Apr 24 18:03:14 2014 +0200
----------------------------------------------------------------------
compiler/pom.xml | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0b43ce3f/compiler/pom.xml
----------------------------------------------------------------------
diff --git a/compiler/pom.xml b/compiler/pom.xml
index fb92b95..cf258ca 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -70,13 +70,14 @@
</execution>
</executions>
</plugin>
+
<!-- ANTLR -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>antlr-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
- <sourceDirectory>src/org/apache/flex/compiler/internal</sourceDirectory>
+ <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal</sourceDirectory>
<outputDirectory>target/generated/src</outputDirectory>
</configuration>
<executions>
@@ -99,7 +100,7 @@
<goal>generate</goal>
</goals>
<configuration>
- <sourceDirectory>src/org/apache/flex/compiler/internal/parsing/as</sourceDirectory>
+ <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal/parsing/as</sourceDirectory>
<grammars>MetadataParser.g</grammars>
<!--<includes>ImportMetadataTokenTypes.txt</includes>-->
</configuration>
@@ -108,6 +109,7 @@
</execution>
</executions>
</plugin>
+
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
@@ -133,13 +135,13 @@
</execution>
</executions>
</plugin>
- <!--- See more at: http://www.vineetmanohar.com/2009/11/3-ways-to-run-java-main-from-maven/#sthash.iBz2SwMh.dpuf-->
+
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>antlr3-maven-plugin</artifactId>
- <version>1.0</version>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr4-maven-plugin</artifactId>
+ <version>4.2</version>
<configuration>
- <sourceDirectory>src/org/apache/flex/compiler/internal</sourceDirectory>
+ <sourceDirectory>${project.build.sourceDirectory}/org/apache/flex/compiler/internal</sourceDirectory>
<outputDirectory>target/generated/src</outputDirectory>
</configuration>
<executions>
@@ -147,7 +149,7 @@
<execution>
<id>css.lexer.and.parser</id>
<goals>
- <goal>antlr</goal>
+ <goal>antlr4</goal>
</goals>
<configuration>
<sourceDirectory>css/CSS.g</sourceDirectory>
@@ -159,7 +161,7 @@
<execution>
<id>css.tree</id>
<goals>
- <goal>antlr</goal>
+ <goal>antlr4</goal>
</goals>
<configuration>
<sourceDirectory>css/CSSTree.g</sourceDirectory>
@@ -207,11 +209,11 @@
</build>
<dependencies>
- <!-- antlr - http://www.antlr.org/download/antlr-3.3-complete.jar -->
+ <!-- antlr - http://www.antlr.org/download/antlr-4.2-complete.jar -->
<dependency>
<groupId>org.antlr</groupId>
- <artifactId>antlr-runtime</artifactId>
- <version>3.3</version>
+ <artifactId>antlr4-runtime</artifactId>
+ <version>4.2</version>
</dependency>
<!-- commons-cli - http://archive.apache.org/dist/commons/cli/binaries/commons-cli-1.2-bin.tar.gz -->
<dependency>