incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r534517 - in /incubator/nmaven/branches/SI_XPT/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact: ArtifactType.java impl/ArtifactInstallerImpl.java
Date Wed, 02 May 2007 15:34:40 GMT
Author: sisbell
Date: Wed May  2 08:34:40 2007
New Revision: 534517

URL: http://svn.apache.org/viewvc?view=rev&rev=534517
Log:
Fixed compile problem for the artifact type.

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

Modified: incubator/nmaven/branches/SI_XPT/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/ArtifactType.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_XPT/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/ArtifactType.java?view=diff&rev=534517&r1=534516&r2=534517
==============================================================================
--- incubator/nmaven/branches/SI_XPT/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/ArtifactType.java
(original)
+++ incubator/nmaven/branches/SI_XPT/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/ArtifactType.java
Wed May  2 08:34:40 2007
@@ -131,9 +131,13 @@
         {
             return ArtifactType.NETPLUGIN;
         }
-        else if ( packagingName.equals( ArtifactType.ADDIN.getPackagingType() ) )
+        else if ( packagingName.equals( ArtifactType.SHARP_DEVELOP_ADDIN.getPackagingType()
) )
         {
-            return ArtifactType.ADDIN;
+            return ArtifactType.SHARP_DEVELOP_ADDIN;
+        }
+        else if ( packagingName.equals( ArtifactType.VISUAL_STUDIO_ADDIN.getPackagingType()
) )
+        {
+            return ArtifactType.VISUAL_STUDIO_ADDIN;
         }
         return ArtifactType.NULL;
     }

Modified: incubator/nmaven/branches/SI_XPT/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_XPT/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java?view=diff&rev=534517&r1=534516&r2=534517
==============================================================================
--- incubator/nmaven/branches/SI_XPT/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java
(original)
+++ incubator/nmaven/branches/SI_XPT/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/impl/ArtifactInstallerImpl.java
Wed May  2 08:34:40 2007
@@ -311,7 +311,6 @@
                     "NMAVEN-002-017: Failed to install file into repo: File Name = " + file.getAbsolutePath()
+
                         ", Extension = " + extension + ", Type = " + dependency.getType(),
e );
             }
-
         }
     }
 
@@ -461,6 +460,5 @@
         new MavenXpp3Writer().write( fileWriter, model );
         IOUtil.close( fileWriter );
         return new ArtifactMetadataImpl( artifact, tempFile );
-
     }
 }



Mime
View raw message