incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r509329 - in /incubator/nmaven/branches/SI_IDE/components: dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/ dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/
Date Mon, 19 Feb 2007 20:49:53 GMT
Author: sisbell
Date: Mon Feb 19 12:49:53 2007
New Revision: 509329

URL: http://svn.apache.org/viewvc?view=rev&rev=509329
Log:
Changed the path of AssemblyInfo generated file from net/sf/nmaven to the a file sperated
groupId of the invoking project.

Modified:
    incubator/nmaven/branches/SI_IDE/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/AssemblyRepositoryLayout.java
    incubator/nmaven/branches/SI_IDE/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/DefaultAssemblyInfoMarshaller.java

Modified: incubator/nmaven/branches/SI_IDE/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/AssemblyRepositoryLayout.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_IDE/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/AssemblyRepositoryLayout.java?view=diff&rev=509329&r1=509328&r2=509329
==============================================================================
--- incubator/nmaven/branches/SI_IDE/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/AssemblyRepositoryLayout.java
(original)
+++ incubator/nmaven/branches/SI_IDE/components/dotnet-artifact/src/main/java/org/apache/maven/dotnet/artifact/AssemblyRepositoryLayout.java
Mon Feb 19 12:49:53 2007
@@ -104,4 +104,7 @@
      */
     public String pathOfRemoteRepositoryMetadata( ArtifactMetadata metadata )
     {
-        C
\ No newline at end of file
+        System.out.println( "CALLING REMOTE : " + metadata.getRemoteFilename() );
+        return "";
+    }
+}

Modified: incubator/nmaven/branches/SI_IDE/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/DefaultAssemblyInfoMarshaller.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_IDE/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/DefaultAssemblyInfoMarshaller.java?view=diff&rev=509329&r1=509328&r2=509329
==============================================================================
--- incubator/nmaven/branches/SI_IDE/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/DefaultAssemblyInfoMarshaller.java
(original)
+++ incubator/nmaven/branches/SI_IDE/components/dotnet-assembler/src/main/java/org/apache/maven/dotnet/assembler/impl/DefaultAssemblyInfoMarshaller.java
Mon Feb 19 12:49:53 2007
@@ -73,9 +73,11 @@
         FileOutputStream man = null;
         try
         {
-            File file = new File( src + "/META-INF/net/sf/nmaven" );
+            String groupIdAsDir = mavenProject.getGroupId().replace( ".", File.separator);
+            File file = new File( src + "/META-INF/" + groupIdAsDir );
             file.mkdirs();
-            man = new FileOutputStream( src + "/META-INF/net/sf/nmaven/AssemblyInfo." + plugin.getExtension()
);
+            man = new FileOutputStream( src + "/META-INF/" + groupIdAsDir + File.separator
+
+                "AssemblyInfo." + plugin.getExtension() );
             man.write( sb.toString().getBytes() );
         }
         catch ( IOException e )



Mime
View raw message