incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r592613 - /incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java
Date Wed, 07 Nov 2007 05:18:03 GMT
Author: sisbell
Date: Tue Nov  6 21:18:03 2007
New Revision: 592613

URL: http://svn.apache.org/viewvc?rev=592613&view=rev
Log:
Better logging message.

Modified:
    incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java

Modified: incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java?rev=592613&r1=592612&r2=592613&view=diff
==============================================================================
--- incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java
(original)
+++ incubator/nmaven/trunk/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java
Tue Nov  6 21:18:03 2007
@@ -353,13 +353,15 @@
         {
             if ( artifact.getFile() != null && artifact.getFile().exists() )//maybe
just a test compile and no install
             {
-                logger.info(
-                    "NMAVEN-001-007: Installing file into repository: File = " + artifact.getFile().getAbsolutePath()
);
+
                 File artifactFile = artifact.getFile();
+                File destFile = PathUtil.getUserAssemblyCacheFileFor( artifact, localRepository
);
+                                logger.info(
+                    "NMAVEN-001-007: Installing file into repository: File = " + artifact.getFile().getAbsolutePath()
+                        + ", Dest File = " + destFile.getAbsolutePath());
                 try
                 {
-                    FileUtils.copyFile( artifactFile,
-                                        PathUtil.getUserAssemblyCacheFileFor( artifact, localRepository
) );
+                    FileUtils.copyFile( artifactFile, destFile );
                 }
                 catch ( IOException e )
                 {



Mime
View raw message