incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r487442 - in /incubator/nmaven/branches/SI_SIGNING: components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/ components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/ plugins...
Date Fri, 15 Dec 2006 04:10:22 GMT
Author: sisbell
Date: Thu Dec 14 20:10:21 2006
New Revision: 487442

URL: http://svn.apache.org/viewvc?view=rev&rev=487442
Log:
Added support for the keycontainer.

Modified:
    incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java
    incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/DefaultCompiler.java
    incubator/nmaven/branches/SI_SIGNING/plugins/maven-compile-plugin/src/main/java/org/apache/maven/dotnet/plugin/compile/CompilerMojo.java

Modified: incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java?view=diff&rev=487442&r1=487441&r2=487442
==============================================================================
--- incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java
(original)
+++ incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/KeyInfo.java
Thu Dec 14 20:10:21 2006
@@ -1,14 +1,15 @@
 package org.apache.maven.dotnet.executable.compiler;
 
-import java.util.List;
-import java.io.File;
-
 public interface KeyInfo
 {
     String getKeyFileUri();
 
     void setKeyFileUri(String keyFileUri);
 
+    String getKeyContainerName();
+
+    void setKeyContainerName(String keyContainerName);
+
     public static class Factory
     {
         /**
@@ -30,12 +31,22 @@
 
                 private String keyFileUri;
 
+                private String keyContainerName;
+
                 public String getKeyFileUri() {
                     return keyFileUri;
                 }
 
                 public void setKeyFileUri(String keyFileUri) {
                     this.keyFileUri = keyFileUri;
+                }
+
+                public String getKeyContainerName() {
+                    return keyContainerName;
+                }
+
+                public void setKeyContainerName(String keyContainerName) {
+                    this.keyContainerName = keyContainerName;
                 }
 
             };

Modified: incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/DefaultCompiler.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/DefaultCompiler.java?view=diff&rev=487442&r1=487441&r2=487442
==============================================================================
--- incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/DefaultCompiler.java
(original)
+++ incubator/nmaven/branches/SI_SIGNING/components/dotnet-executable/src/main/java/org/apache/maven/dotnet/executable/compiler/impl/DefaultCompiler.java
Thu Dec 14 20:10:21 2006
@@ -143,6 +143,8 @@
         if(compilerContext.getKeyInfo().getKeyFileUri() != null)
         {
             commands.add("/keyfile:" + compilerContext.getKeyInfo().getKeyFileUri());
+        } else if(compilerContext.getKeyInfo().getKeyContainerName() != null) {
+            commands.add("/keycontainer:" + compilerContext.getKeyInfo().getKeyContainerName());
         }
 
         if ( config.getCommands() != null )

Modified: incubator/nmaven/branches/SI_SIGNING/plugins/maven-compile-plugin/src/main/java/org/apache/maven/dotnet/plugin/compile/CompilerMojo.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_SIGNING/plugins/maven-compile-plugin/src/main/java/org/apache/maven/dotnet/plugin/compile/CompilerMojo.java?view=diff&rev=487442&r1=487441&r2=487442
==============================================================================
--- incubator/nmaven/branches/SI_SIGNING/plugins/maven-compile-plugin/src/main/java/org/apache/maven/dotnet/plugin/compile/CompilerMojo.java
(original)
+++ incubator/nmaven/branches/SI_SIGNING/plugins/maven-compile-plugin/src/main/java/org/apache/maven/dotnet/plugin/compile/CompilerMojo.java
Thu Dec 14 20:10:21 2006
@@ -74,13 +74,14 @@
     private boolean delaysign;
 
     /**
-     * Specify a strong name key file. (not currently supported)
+     * Specify a strong name key file.
      * @parameter expression = "${keyfile}"
      */
     private File keyfile;
 
     /**
      * Specifies a strong name key container. (not currently supported)
+     * @parameter expression = "${keycontainer}"
      */
     private String keycontainer;
 



Mime
View raw message