From 1a6da5ebd5d0088513db2f0a45123aa97940e087 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Tue, 11 Jan 2005 14:05:01 +0000 Subject: [PATCH] Path is a ProjectComponent - use it for logging git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277335 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tools/ant/types/CommandlineJava.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/CommandlineJava.java b/src/main/org/apache/tools/ant/types/CommandlineJava.java index a9655a5f5..4256847dc 100644 --- a/src/main/org/apache/tools/ant/types/CommandlineJava.java +++ b/src/main/org/apache/tools/ant/types/CommandlineJava.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2004 The Apache Software Foundation + * Copyright 2000-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -625,20 +625,16 @@ public class CommandlineJava implements Cloneable { if (bootclasspath != null && bootclasspath.toString().trim().length() > 0) { - /* - * XXX - need to log something, but there is no ProjectComponent - * around to log to. - */ if (!bootclasspath.toString() .equals(bootclasspath.concatSystemClasspath("ignore") .toString())) { if (log) { - System.out.println("Ignoring bootclasspath as " + bootclasspath.log("Ignoring bootclasspath as " + "build.sysclasspath has been set."); } } else if (vmVersion.startsWith("1.1")) { if (log) { - System.out.println("Ignoring bootclasspath as " + bootclasspath.log("Ignoring bootclasspath as " + "the target VM doesn't support it."); } } else {