From 4a3b2cdffc13585ba76ac8afce552a1ef8eb1639 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Tue, 26 Feb 2013 14:28:34 -0600 Subject: [PATCH] Generate shaded jar for the C# target --- .../CSharp/Antlr4BuildTasks/Antlr4.targets | 2 +- tool/pom.xml | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/runtime/CSharp/Antlr4BuildTasks/Antlr4.targets b/runtime/CSharp/Antlr4BuildTasks/Antlr4.targets index 38d9cc344..3b670df3b 100644 --- a/runtime/CSharp/Antlr4BuildTasks/Antlr4.targets +++ b/runtime/CSharp/Antlr4BuildTasks/Antlr4.targets @@ -47,7 +47,7 @@ $(MSBuildBinPath) $(Antlr4BuildTaskPath) - $(MSBuildBinPath)\Antlr4\Antlr4.exe + $(MSBuildBinPath)\Antlr4\antlr4-csharp-4.0.1-SNAPSHOT-complete.jar $(Antlr4ToolPath) diff --git a/tool/pom.xml b/tool/pom.xml index a15747656..930e95b5c 100644 --- a/tool/pom.xml +++ b/tool/pom.xml @@ -138,6 +138,41 @@ + + + org.apache.maven.plugins + maven-shade-plugin + 2.0 + false + + + package + + shade + + + true + false + true + true + complete + + + com.tunnelvisionlabs:antlr4 + + ** + + + + + + org.antlr.v4.Tool + + + + + +