directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r660323 - in /directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions: ServerInstanceRunAction.java ServerInstanceStopAction.java
Date Mon, 26 May 2008 22:15:47 GMT
Author: pamarcelot
Date: Mon May 26 15:15:43 2008
New Revision: 660323

URL: http://svn.apache.org/viewvc?rev=660323&view=rev
Log:
Fixed small issues.

Modified:
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceRunAction.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceStopAction.java

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceRunAction.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceRunAction.java?rev=660323&r1=660322&r2=660323&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceRunAction.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceRunAction.java
Mon May 26 15:15:43 2008
@@ -131,7 +131,7 @@
                     message = "The ports of the following protocols are already in use:";
                     for ( String alreadyInUseProtocolPort : alreadyInUseProtocolPortsList
)
                     {
-                        message += ApacheDsPluginUtils.LINE_SEPARATOR + "\t" + "- " + alreadyInUseProtocolPort;
+                        message += ApacheDsPluginUtils.LINE_SEPARATOR + "    - " + alreadyInUseProtocolPort;
                     }
                 }
 

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceStopAction.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceStopAction.java?rev=660323&r1=660322&r2=660323&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceStopAction.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/actions/ServerInstanceStopAction.java
Mon May 26 15:15:43 2008
@@ -24,6 +24,7 @@
 import org.apache.directory.studio.apacheds.experimentations.ApacheDsPluginConstants;
 import org.apache.directory.studio.apacheds.experimentations.jobs.LaunchServerInstanceJob;
 import org.apache.directory.studio.apacheds.experimentations.model.ServerInstance;
+import org.apache.directory.studio.apacheds.experimentations.model.ServerStateEnum;
 import org.apache.directory.studio.apacheds.experimentations.views.ServersView;
 import org.eclipse.debug.core.DebugException;
 import org.eclipse.debug.core.ILaunch;
@@ -72,6 +73,9 @@
             // Getting the server
             ServerInstance server = ( ServerInstance ) selection.getFirstElement();
 
+            // Setting the server of the server to 'stopping'
+            server.setState( ServerStateEnum.STOPPING );
+
             // Getting the launch job
             LaunchServerInstanceJob launchJob = server.getLaunchJob();
             if ( launchJob != null )



Mime
View raw message