[jboss-cvs] jbosside/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server ...

Robert Stryker rawblem at gmail.com
Wed Dec 13 13:35:21 EST 2006


  User: rawb    
  Date: 06/12/13 13:35:21

  Modified:    as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server 
                        JBossServer.java
  Log:
  Some .toOSString action for my folder paths
  
  Revision  Changes    Path
  1.17      +5 -4      jbosside/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/JBossServer.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JBossServer.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosside/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/JBossServer.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -b -r1.16 -r1.17
  --- JBossServer.java	14 Nov 2006 19:30:41 -0000	1.16
  +++ JBossServer.java	13 Dec 2006 18:35:21 -0000	1.17
  @@ -142,11 +142,11 @@
   		if( !f.exists() || !f.canRead() || !f.isDirectory())
   			return getRuntimeConfigDirectory();
   
  -		return configDir;
  +		return new Path(configDir).toOSString();
   	}
   	
   	public String getDeployDirectory(boolean checkLaunchConfig) {
  -		return getConfigDirectory(checkLaunchConfig) + Path.SEPARATOR + DEPLOY;
  +		return new Path(getConfigDirectory(checkLaunchConfig) + Path.SEPARATOR + DEPLOY).toOSString();
   	}
   
   	protected String getLaunchConfigConfigurationDirectory() {
  @@ -178,8 +178,9 @@
   	protected String getRuntimeConfigDirectory() {
   		IJBossServerRuntime runtime = (IJBossServerRuntime)
   			getServer().getRuntime().loadAdapter(IJBossServerRuntime.class, null);
  -		return getServer().getRuntime().getLocation().toOSString() + Path.SEPARATOR + "server" + 
  +		String p = getServer().getRuntime().getLocation().toOSString() + Path.SEPARATOR + "server" + 
   			Path.SEPARATOR + runtime.getJBossConfiguration();
  +		return new Path(p).toOSString();
   	}
   	
   }
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list