diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-20 07:38:44 +0200 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-20 07:38:44 +0200 |
commit | 7d5edebffcec8004a9fb84a3f82c7c489beab6fe (patch) | |
tree | 377b4dc9a2ed73f66a92b223a2bda4e85fe86f81 /src/main | |
parent | 72983d6e09fd565f8b99764940ec51d85f8560c5 (diff) | |
download | maven-nar-plugin-7d5edebffcec8004a9fb84a3f82c7c489beab6fe.tar.gz maven-nar-plugin-7d5edebffcec8004a9fb84a3f82c7c489beab6fe.tar.bz2 maven-nar-plugin-7d5edebffcec8004a9fb84a3f82c7c489beab6fe.tar.xz maven-nar-plugin-7d5edebffcec8004a9fb84a3f82c7c489beab6fe.zip |
Removed Toolchain reference for now; see NAR-73
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/Javah.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/Javah.java b/src/main/java/org/apache/maven/plugin/nar/Javah.java index 8383a4f..1ea908a 100644 --- a/src/main/java/org/apache/maven/plugin/nar/Javah.java +++ b/src/main/java/org/apache/maven/plugin/nar/Javah.java @@ -239,9 +239,6 @@ public class Javah File javahFile = new File( mojo.getJavaHome( mojo.getAOL() ), "bin" ); String javah = new File( javahFile, name ).getAbsolutePath(); - Toolchain tc = getToolchain(); - System.err.println( tc.findTool( "javac" ) ); - mojo.getLog().info( "Running " + javah + " compiler on " + files.size() + " classes..." ); int result = NarUtil.runCommand( javah, generateArgs( files ), null, null, mojo.getLog() ); if ( result != 0 ) @@ -307,12 +304,10 @@ public class Javah { Toolchain toolChain = null; ToolchainManager toolchainManager = ((NarJavahMojo)mojo).toolchainManager; - System.err.println("tcm: "+toolchainManager); if ( toolchainManager != null ) { toolChain = toolchainManager.getToolchainFromBuildContext( "jdk", ((NarJavahMojo)mojo).session ); - System.err.println("tc: "+toolChain); } return toolChain; } |