Author: lcorneliussen
Date: Tue Mar 1 14:41:26 2011
New Revision: 1075836
URL: http://svn.apache.org/viewvc?rev=1075836&view=rev
Log:
Extended error information. Xpp3Reader seams to have problems reading UTF8 with
BOM.
Modified:
incubator/npanday/trunk/components/dotnet-artifact/src/main/java/npanday/artifact/impl/ArtifactInstallerImpl.java
Modified:
incubator/npanday/trunk/components/dotnet-artifact/src/main/java/npanday/artifact/impl/ArtifactInstallerImpl.java
URL:
http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-artifact/src/main/java/npanday/artifact/impl/ArtifactInstallerImpl.java?rev=1075836&r1=1075835&r2=1075836&view=diff
==============================================================================
---
incubator/npanday/trunk/components/dotnet-artifact/src/main/java/npanday/artifact/impl/ArtifactInstallerImpl.java
(original)
+++
incubator/npanday/trunk/components/dotnet-artifact/src/main/java/npanday/artifact/impl/ArtifactInstallerImpl.java
Tue Mar 1 14:41:26 2011
@@ -287,7 +287,7 @@ public class ArtifactInstallerImpl
throws ArtifactInstallationException
{
logger.debug( "NPANDAY-001-031: artifact:" + artifact);
- logger.debug( "NPANDAY-001-032: artifact file:" + artifact.getFile());
+ logger.debug( "NPANDAY-001-032: artifact file:" + artifact.getFile());
ApplicationConfig applicationConfig =
artifactContext.getApplicationConfigFor( artifact );
File configExeFile = applicationConfig.getConfigBuildPath();
@@ -329,11 +329,11 @@ public class ArtifactInstallerImpl
}
catch ( XmlPullParserException e )
{
- throw new ArtifactInstallationException( "NPANDAY-001-012:
Unable to read pom file" );
+ throw new ArtifactInstallationException( "NPANDAY-001-012:
Unable to read pom file: " + pomFile.getAbsolutePath(), e);
}
catch ( IOException e )
{
- throw new ArtifactInstallationException( "NPANDAY-001-013:
Unable to read pom file" );
+ throw new ArtifactInstallationException( "NPANDAY-001-013:
Unable to read pom file: " + pomFile.getAbsolutePath(), e );
}
}