directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1000875 - /directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/java/org/apache/directory/daemon/installers/AbstractMojoCommand.java
Date Fri, 24 Sep 2010 14:01:41 GMT
Author: pamarcelot
Date: Fri Sep 24 14:01:41 2010
New Revision: 1000875

URL: http://svn.apache.org/viewvc?rev=1000875&view=rev
Log:
Removed the inclusion of the 'apacheds' shell script in the windows installer.

Modified:
    directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/java/org/apache/directory/daemon/installers/AbstractMojoCommand.java

Modified: directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/java/org/apache/directory/daemon/installers/AbstractMojoCommand.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/java/org/apache/directory/daemon/installers/AbstractMojoCommand.java?rev=1000875&r1=1000874&r2=1000875&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/java/org/apache/directory/daemon/installers/AbstractMojoCommand.java
(original)
+++ directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/java/org/apache/directory/daemon/installers/AbstractMojoCommand.java
Fri Sep 24 14:01:41 2010
@@ -166,10 +166,13 @@ public abstract class AbstractMojoComman
             getClass().getResourceAsStream( "/org/apache/directory/daemon/installers/log4j.properties"
),
             new File( instanceLayout.getConfDirectory(), "log4j.properties" ), true );
 
-        // Copying the 'apacheds' script
-        MojoHelperUtils.copyAsciiFile( mojo, filterProperties,
-            getClass().getResourceAsStream( "/org/apache/directory/daemon/installers/apacheds.init"
),
-            new File( installationLayout.getBinDirectory(), "apacheds" ), true );
+        // Copying the 'apacheds' shell script (only for all OSes except Windows)
+        if ( !target.isOsNameWindows() )
+        {
+            MojoHelperUtils.copyAsciiFile( mojo, filterProperties,
+                getClass().getResourceAsStream( "/org/apache/directory/daemon/installers/apacheds.init"
),
+                new File( installationLayout.getBinDirectory(), "apacheds" ), true );
+        }
     }
 
 



Mime
View raw message