ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
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 GMT
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);



Mime
View raw message