Return-Path: X-Original-To: apmail-ace-commits-archive@www.apache.org Delivered-To: apmail-ace-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E393D0E8 for ; Thu, 9 Aug 2012 10:10:50 +0000 (UTC) Received: (qmail 46979 invoked by uid 500); 9 Aug 2012 10:10:50 -0000 Delivered-To: apmail-ace-commits-archive@ace.apache.org Received: (qmail 46922 invoked by uid 500); 9 Aug 2012 10:10:49 -0000 Mailing-List: contact commits-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ace.apache.org Delivered-To: mailing list commits@ace.apache.org Received: (qmail 46783 invoked by uid 99); 9 Aug 2012 10:10:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 10:10:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 10:10:41 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 818AE2388962 for ; Thu, 9 Aug 2012 10:09:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1371137 - in /ace/sandbox/marrs: org.apache.ace.client.repository.helper.base/src/org/apache/ace/client/repository/helper/base/ org.apache.ace.client.repository.impl/src/org/apache/ace/client/repository/stateful/impl/ Date: Thu, 09 Aug 2012 10:09:57 -0000 To: commits@ace.apache.org From: jawi@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120809100957.818AE2388962@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jawi Date: Thu Aug 9 10:09:57 2012 New Revision: 1371137 URL: http://svn.apache.org/viewvc?rev=1371137&view=rev Log: Some cleanups and more verbose log messages. Modified: ace/sandbox/marrs/org.apache.ace.client.repository.helper.base/src/org/apache/ace/client/repository/helper/base/VelocityArtifactPreprocessor.java ace/sandbox/marrs/org.apache.ace.client.repository.impl/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetRepositoryImpl.java Modified: ace/sandbox/marrs/org.apache.ace.client.repository.helper.base/src/org/apache/ace/client/repository/helper/base/VelocityArtifactPreprocessor.java URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.base/src/org/apache/ace/client/repository/helper/base/VelocityArtifactPreprocessor.java?rev=1371137&r1=1371136&r2=1371137&view=diff ============================================================================== --- ace/sandbox/marrs/org.apache.ace.client.repository.helper.base/src/org/apache/ace/client/repository/helper/base/VelocityArtifactPreprocessor.java (original) +++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.base/src/org/apache/ace/client/repository/helper/base/VelocityArtifactPreprocessor.java Thu Aug 9 10:09:57 2012 @@ -27,7 +27,6 @@ import java.io.OutputStreamWriter; import java.io.Writer; import java.lang.ref.Reference; import java.lang.ref.WeakReference; -import java.net.MalformedURLException; import java.net.URL; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; Modified: ace/sandbox/marrs/org.apache.ace.client.repository.impl/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetRepositoryImpl.java URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.impl/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetRepositoryImpl.java?rev=1371137&r1=1371136&r2=1371137&view=diff ============================================================================== --- ace/sandbox/marrs/org.apache.ace.client.repository.impl/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetRepositoryImpl.java (original) +++ ace/sandbox/marrs/org.apache.ace.client.repository.impl/src/org/apache/ace/client/repository/stateful/impl/StatefulTargetRepositoryImpl.java Thu Aug 9 10:09:57 2012 @@ -624,13 +624,13 @@ public class StatefulTargetRepositoryImp if (!m_bundleHelper.canUse(artifact)) { String processorPID = artifact.getProcessorPID(); if (processorPID == null) { - m_log.log(LogService.LOG_ERROR, "No processor PID found for " + artifact.getName()); + m_log.log(LogService.LOG_ERROR, "Cannot gather necessary artifacts: no processor PID defined for " + artifact.getName()); return null; } ArtifactObject processor = allProcessors.get(processorPID); if (processor == null) { // this means we cannot create a useful version; return null. - m_log.log(LogService.LOG_ERROR, "No processor found for " + artifact.getName() + " with processor PID " + processorPID); + m_log.log(LogService.LOG_ERROR, "Cannot gather necessary artifacts: failed to find resource processor named '" + artifact.getProcessorPID() + "' for artifact '" + artifact.getName() + "'!"); return null; } result.add(processor);