From 7d5edebffcec8004a9fb84a3f82c7c489beab6fe Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Tue, 20 Oct 2009 07:38:44 +0200 Subject: Removed Toolchain reference for now; see NAR-73 --- src/main/java/org/apache/maven/plugin/nar/Javah.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/main/java/org') 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; } -- cgit v1.2.3