geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1203020 [9/29] - in /geronimo/devtools/eclipse-plugin/branches/3.0-beta-1: eclipse/ plugins/org.apache.geronimo.j2ee.v11.jaxbmodel/ plugins/org.apache.geronimo.j2ee.v11.jaxbmodel/src/test/resources/application/ plugins/org.apache.geronimo....
Date Thu, 17 Nov 2011 02:19:27 GMT
Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/ClasspathContainersHelper.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/ClasspathContainersHelper.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/ClasspathContainersHelper.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/ClasspathContainersHelper.java Thu Nov 17 02:19:12 2011
@@ -1,134 +1,134 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.st.core;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-import org.apache.geronimo.st.core.internal.Trace;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jdt.core.IClasspathContainer;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-
-/**
- *
- * Helper class for ClasspathContainers support
- *
- * @version $Rev$ $Date$
- */
-public class ClasspathContainersHelper {
-
-    //
-    // Query the workspace for the list of classpath containers and return as a 
-    // sorted List<String> for display and for WTP to ultimately persist as server 
-    // instance properties in servers.xml
-    // 
-    public static List<String> queryWorkspace() {
-        Trace.tracePoint("ENTRY", Activator.traceCore, "ClasspathContainersHelper.queryWorkspace");
-
-        ArrayList<String> containers = new ArrayList<String>();
-
-        IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
-
-        for ( IProject project : projects ) {
-
-            try {
-
-                if ( project.getNature(JavaCore.NATURE_ID) != null ) {
-
-                    IJavaProject javaProject = JavaCore.create(project);
-                    IClasspathEntry[] cp = javaProject.getRawClasspath();
-
-                    for ( IClasspathEntry cpEntry : cp ) {
-
-                        if (cpEntry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
-                            addEntry( containers, cpEntry.getPath().toString());
-                        }
-                    }
-                }
-            }
-            catch ( CoreException e ) {
-                e.printStackTrace();
-            }
-        }
-
-        Collections.sort( containers );
-        Trace.tracePoint("EXIT", Activator.traceCore, "ClasspathContainersHelper.queryWorkspace", containers);
-        return containers;
-    }
-
-
-    //
-    // Query the workspace to find the classapth entries for a specific classpath container,
-    // 
-    public static List<IClasspathEntry> queryWorkspace( String containerPath ) {
-        Trace.tracePoint("ENTRY", Activator.traceCore, "ClasspathContainersHelper.queryWorkspace", containerPath );
-
-        List<IClasspathEntry> classpathEntries = new ArrayList<IClasspathEntry>();
-
-        IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
-
-        for ( IProject project : projects ) {
-
-            try {
-
-                if ( project.getNature(JavaCore.NATURE_ID) !=null ) {
-
-                    IJavaProject javaProject = JavaCore.create(project);
-                    IClasspathEntry[] cp = javaProject.getRawClasspath();
-
-                    for ( IClasspathEntry cpEntry : cp ) {
-
-                        if (cpEntry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
-
-                            if ( cpEntry.getPath().toString().equals( containerPath )) {
-
-                                IClasspathContainer classpathContainer = JavaCore.getClasspathContainer(cpEntry.getPath(), javaProject);
-                                IClasspathEntry[] containerEntries = classpathContainer.getClasspathEntries();
-
-                                for (int ii = 0; ii  < containerEntries.length; ii++) {
-                                    classpathEntries.add(containerEntries[ii]);
-                                }
-                            }
-                        }
-                    }
-                }
-            }
-            catch ( CoreException e ) {
-                e.printStackTrace();
-            }
-        }
-
-        Trace.tracePoint("EXIT", Activator.traceCore, "ClasspathContainersHelper.queryWorkspace", classpathEntries);
-        return classpathEntries;
-    }
-
-
-    //
-    // Ensure no duplicates in the list
-    //
-    private static void addEntry( List<String> containers, String container ) {
-
-        if ( containers.indexOf( container ) < 0 ) {
-            containers.add( container );
-        }
-    }
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.st.core;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+import org.apache.geronimo.st.core.internal.Trace;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jdt.core.IClasspathContainer;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.JavaCore;
+
+/**
+ *
+ * Helper class for ClasspathContainers support
+ *
+ * @version $Rev$ $Date$
+ */
+public class ClasspathContainersHelper {
+
+    //
+    // Query the workspace for the list of classpath containers and return as a 
+    // sorted List<String> for display and for WTP to ultimately persist as server 
+    // instance properties in servers.xml
+    // 
+    public static List<String> queryWorkspace() {
+        Trace.tracePoint("ENTRY", Activator.traceCore, "ClasspathContainersHelper.queryWorkspace");
+
+        ArrayList<String> containers = new ArrayList<String>();
+
+        IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
+
+        for ( IProject project : projects ) {
+
+            try {
+
+                if ( project.getNature(JavaCore.NATURE_ID) != null ) {
+
+                    IJavaProject javaProject = JavaCore.create(project);
+                    IClasspathEntry[] cp = javaProject.getRawClasspath();
+
+                    for ( IClasspathEntry cpEntry : cp ) {
+
+                        if (cpEntry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
+                            addEntry( containers, cpEntry.getPath().toString());
+                        }
+                    }
+                }
+            }
+            catch ( CoreException e ) {
+                e.printStackTrace();
+            }
+        }
+
+        Collections.sort( containers );
+        Trace.tracePoint("EXIT", Activator.traceCore, "ClasspathContainersHelper.queryWorkspace", containers);
+        return containers;
+    }
+
+
+    //
+    // Query the workspace to find the classapth entries for a specific classpath container,
+    // 
+    public static List<IClasspathEntry> queryWorkspace( String containerPath ) {
+        Trace.tracePoint("ENTRY", Activator.traceCore, "ClasspathContainersHelper.queryWorkspace", containerPath );
+
+        List<IClasspathEntry> classpathEntries = new ArrayList<IClasspathEntry>();
+
+        IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
+
+        for ( IProject project : projects ) {
+
+            try {
+
+                if ( project.getNature(JavaCore.NATURE_ID) !=null ) {
+
+                    IJavaProject javaProject = JavaCore.create(project);
+                    IClasspathEntry[] cp = javaProject.getRawClasspath();
+
+                    for ( IClasspathEntry cpEntry : cp ) {
+
+                        if (cpEntry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
+
+                            if ( cpEntry.getPath().toString().equals( containerPath )) {
+
+                                IClasspathContainer classpathContainer = JavaCore.getClasspathContainer(cpEntry.getPath(), javaProject);
+                                IClasspathEntry[] containerEntries = classpathContainer.getClasspathEntries();
+
+                                for (int ii = 0; ii  < containerEntries.length; ii++) {
+                                    classpathEntries.add(containerEntries[ii]);
+                                }
+                            }
+                        }
+                    }
+                }
+            }
+            catch ( CoreException e ) {
+                e.printStackTrace();
+            }
+        }
+
+        Trace.tracePoint("EXIT", Activator.traceCore, "ClasspathContainersHelper.queryWorkspace", classpathEntries);
+        return classpathEntries;
+    }
+
+
+    //
+    // Ensure no duplicates in the list
+    //
+    private static void addEntry( List<String> containers, String container ) {
+
+        if ( containers.indexOf( container ) < 0 ) {
+            containers.add( container );
+        }
+    }
 }
\ No newline at end of file

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/ClasspathContainersHelper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/ClasspathContainersHelper.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/ClasspathContainersHelper.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/DeploymentPlanInstallConfig.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/DeploymentPlanInstallConfig.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/DeploymentPlanInstallConfig.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/DeploymentPlanInstallConfig.java Thu Nov 17 02:19:12 2011
@@ -1,106 +1,106 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.st.core;
-
-import org.apache.geronimo.st.core.internal.Trace;
-import org.eclipse.jst.j2ee.internal.plugin.J2EEPlugin;
-import org.eclipse.jst.j2ee.internal.plugin.J2EEPreferences;
-import org.eclipse.wst.common.project.facet.core.IActionConfigFactory;
-
-
-/**
- * @version $Rev: 588513 $ $Date: 2007-10-26 00:14:23 -0400 (Fri, 26 Oct 2007) $
- */
-public class DeploymentPlanInstallConfig {
-	
-	private String groupId;
-	
-	private String artifactId;
-	
-	private String version;
-	
-	private String type;
-	
-	private boolean sharedLib;
-	
-    public static final class Factory implements IActionConfigFactory
-    {
-        public Object create()
-        {
-        	Trace.tracePoint("Entry/Exit", Activator.traceCore, "DeploymentPlanInstallConfig.create");
-        	
-        	enableGenerationDDByDefault();
-        	
-            return new DeploymentPlanInstallConfig();
-        }
-        
-        /*
-         * by default, WTP won't generate deployment descriptor for all the projects(only true for web project).
-         * Try to generate deployment descriptor by default for all projects, the default value are set here
-         * 
-         * reference to J2EEPreferences.java in org.eclipse.jst.j2ee bundle
-         */
-        
-        
-        private void enableGenerationDDByDefault(){
-        	J2EEPlugin.getDefault().getJ2EEPreferences().setValue(J2EEPreferences.Keys.APPLICATION_GENERATE_DD,true);
-        	J2EEPlugin.getDefault().getJ2EEPreferences().setValue(J2EEPreferences.Keys.DYNAMIC_WEB_GENERATE_DD,true);
-        	J2EEPlugin.getDefault().getJ2EEPreferences().setValue(J2EEPreferences.Keys.EJB_GENERATE_DD,true);
-        	J2EEPlugin.getDefault().getJ2EEPreferences().setValue(J2EEPreferences.Keys.APP_CLIENT_GENERATE_DD,true);
-        }
-    }
-
-	public String getArtifactId() {
-		return artifactId;
-	}
-
-	public void setArtifactId(String artifactId) {
-		this.artifactId = artifactId;
-	}
-
-	public String getGroupId() {
-		return groupId;
-	}
-
-	public void setGroupId(String groupId) {
-		this.groupId = groupId;
-	}
-
-	public String getType() {
-		return type;
-	}
-
-	public void setType(String type) {
-		this.type = type;
-	}
-
-	public String getVersion() {
-		return version;
-	}
-
-	public void setVersion(String version) {
-		this.version = version;
-	}
-
-	public boolean isSharedLib() {
-		return sharedLib;
-	}
-
-	public void setSharedLib(boolean sharedLib) {
-		this.sharedLib = sharedLib;
-	}
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.st.core;
+
+import org.apache.geronimo.st.core.internal.Trace;
+import org.eclipse.jst.j2ee.internal.plugin.J2EEPlugin;
+import org.eclipse.jst.j2ee.internal.plugin.J2EEPreferences;
+import org.eclipse.wst.common.project.facet.core.IActionConfigFactory;
+
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class DeploymentPlanInstallConfig {
+	
+	private String groupId;
+	
+	private String artifactId;
+	
+	private String version;
+	
+	private String type;
+	
+	private boolean sharedLib;
+	
+    public static final class Factory implements IActionConfigFactory
+    {
+        public Object create()
+        {
+        	Trace.tracePoint("Entry/Exit", Activator.traceCore, "DeploymentPlanInstallConfig.create");
+        	
+        	enableGenerationDDByDefault();
+        	
+            return new DeploymentPlanInstallConfig();
+        }
+        
+        /*
+         * by default, WTP won't generate deployment descriptor for all the projects(only true for web project).
+         * Try to generate deployment descriptor by default for all projects, the default value are set here
+         * 
+         * reference to J2EEPreferences.java in org.eclipse.jst.j2ee bundle
+         */
+        
+        
+        private void enableGenerationDDByDefault(){
+        	J2EEPlugin.getDefault().getJ2EEPreferences().setValue(J2EEPreferences.Keys.APPLICATION_GENERATE_DD,true);
+        	J2EEPlugin.getDefault().getJ2EEPreferences().setValue(J2EEPreferences.Keys.DYNAMIC_WEB_GENERATE_DD,true);
+        	J2EEPlugin.getDefault().getJ2EEPreferences().setValue(J2EEPreferences.Keys.EJB_GENERATE_DD,true);
+        	J2EEPlugin.getDefault().getJ2EEPreferences().setValue(J2EEPreferences.Keys.APP_CLIENT_GENERATE_DD,true);
+        }
+    }
+
+	public String getArtifactId() {
+		return artifactId;
+	}
+
+	public void setArtifactId(String artifactId) {
+		this.artifactId = artifactId;
+	}
+
+	public String getGroupId() {
+		return groupId;
+	}
+
+	public void setGroupId(String groupId) {
+		this.groupId = groupId;
+	}
+
+	public String getType() {
+		return type;
+	}
+
+	public void setType(String type) {
+		this.type = type;
+	}
+
+	public String getVersion() {
+		return version;
+	}
+
+	public void setVersion(String version) {
+		this.version = version;
+	}
+
+	public boolean isSharedLib() {
+		return sharedLib;
+	}
+
+	public void setSharedLib(boolean sharedLib) {
+		this.sharedLib = sharedLib;
+	}
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/DeploymentPlanInstallConfig.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/DeploymentPlanInstallConfig.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/DeploymentPlanInstallConfig.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/GeronimoAccountManager.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/GeronimoAccountManager.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/GeronimoAccountManager.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/GeronimoAccountManager.java Thu Nov 17 02:19:12 2011
@@ -1,163 +1,163 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-
-package org.apache.geronimo.st.core.operations;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.util.Properties;
-import java.util.Set;
-
-import org.apache.geronimo.st.core.Activator;
-import org.apache.geronimo.st.core.internal.Trace;
-import org.eclipse.wst.server.core.IRuntime;
-
-//currently, only geronimo-admin with properties file realm is supported
-public class GeronimoAccountManager {
-    private Properties userProperties;
-    private Properties groupProperties;
-    
-    private String securityPath;
-    private static final String userPropertiesFile = "users.properties";
-    private static final String groupPropertiesFile = "groups.properties";
-    
-    public GeronimoAccountManager(IRuntime runtime){
-      if (runtime!=null){
-          securityPath = runtime.getLocation().toOSString()+"/var/security";
-      }
-    }
-    
-    public void init() throws Exception{
-        userProperties = new Properties();
-        groupProperties= new Properties();
-        try {
-          FileInputStream fis = new FileInputStream(new File(securityPath,userPropertiesFile));
-          userProperties.load(fis);
-          fis.close();
-          
-          fis = new FileInputStream(new File(securityPath,groupPropertiesFile));
-          groupProperties.load(fis);
-          fis.close();
-      } catch (FileNotFoundException e) {
-          Trace.trace(Trace.ERROR, e.getMessage(), Activator.logOperations);
-          throw e;
-      } catch (IOException e) {
-          Trace.trace(Trace.ERROR, e.getMessage(), Activator.logOperations);
-          throw e;
-      }
-    }
-    
-    public String[] getUserList(){
-        return userProperties.keySet().toArray(new String[0]);
-    }
-    
-    public String[] getGroupList(){
-        return groupProperties.keySet().toArray(new String[0]);
-    }
-    
-    public boolean modifyUser(String oldName, String newName,String newGroup, String passwd){
-        boolean operationResult = false;
-        
-        operationResult = true;
-        return operationResult;
-    }
-    
-    private void addUserIntoGroup(String groupName,String userName){
-        String userList = groupProperties.getProperty(groupName);
-        int index = getIndexOfUser(userName,userList);
-        if (index!=-1){
-            //user already exists
-            return;
-        }else {
-            userList = userList.concat(",").concat(userName);
-        }
-        groupProperties.setProperty(groupName, userList);
-    }
-    
-    private void delUserFromGroup(String groupName,String userName){
-        String userList = groupProperties.getProperty(groupName);
-        int index = getIndexOfUser(userName,userList);
-        if (index == -1) return;
-        else{
-            userList = removeUser(userList,index);
-        }
-        groupProperties.setProperty(groupName, userList);
-    }
-    
-    private String removeUser(String userList, int index) {
-        String[] users = userList.split(",");
-        StringBuilder usersStr = new StringBuilder();
-        for (int i=0;i<users.length;i++){
-           if (i!=index) {
-               usersStr.append(users[i].concat(","));
-           }
-        }
-        //delete last comma
-        usersStr.deleteCharAt(usersStr.length()-1);
-        
-        return usersStr.toString();
-    }
-
-    public void delUser(String userName){
-        String password = userProperties.getProperty(userName);
-        if (password!=null) {
-            userProperties.remove(userName);
-        }
-        
-       Set<Object> groupSet = groupProperties.keySet();
-       for (Object group:groupSet){
-           delUserFromGroup((String)group,userName);
-       }
-    }
-    
-    
-    public void addUser(String userName,String groupName,String password){
-        userProperties.setProperty(userName, password);
-        addUserIntoGroup(groupName,userName);
-    }
-    
-    public void persist() throws Exception, IOException{
-        try{
-        	FileOutputStream fos = new FileOutputStream(new File(securityPath,groupPropertiesFile));
-            groupProperties.store(fos, "");
-            fos.close();
-            
-            fos = new FileOutputStream(new File(securityPath,userPropertiesFile));
-            userProperties.store(fos, "");
-            fos.close();
-        } catch (FileNotFoundException e) {
-            Trace.trace(Trace.ERROR, e.getMessage(), Activator.logOperations);
-            throw e;
-        } catch (IOException e) {
-            Trace.trace(Trace.ERROR, e.getMessage(), Activator.logOperations);
-            throw e;
-        }
-    }
-    
-    private int getIndexOfUser(String username,String userList){
-        String[] users = userList.split(",");
-        for (int i=0;i<users.length;i++){
-            if (users[i].equalsIgnoreCase(username))
-                return i;
-        }
-            return -1;
-    }
-    
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.apache.geronimo.st.core.operations;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.util.Properties;
+import java.util.Set;
+
+import org.apache.geronimo.st.core.Activator;
+import org.apache.geronimo.st.core.internal.Trace;
+import org.eclipse.wst.server.core.IRuntime;
+
+//currently, only geronimo-admin with properties file realm is supported
+public class GeronimoAccountManager {
+    private Properties userProperties;
+    private Properties groupProperties;
+    
+    private String securityPath;
+    private static final String userPropertiesFile = "users.properties";
+    private static final String groupPropertiesFile = "groups.properties";
+    
+    public GeronimoAccountManager(IRuntime runtime){
+      if (runtime!=null){
+          securityPath = runtime.getLocation().toOSString()+"/var/security";
+      }
+    }
+    
+    public void init() throws Exception{
+        userProperties = new Properties();
+        groupProperties= new Properties();
+        try {
+          FileInputStream fis = new FileInputStream(new File(securityPath,userPropertiesFile));
+          userProperties.load(fis);
+          fis.close();
+          
+          fis = new FileInputStream(new File(securityPath,groupPropertiesFile));
+          groupProperties.load(fis);
+          fis.close();
+      } catch (FileNotFoundException e) {
+          Trace.trace(Trace.ERROR, e.getMessage(), Activator.logOperations);
+          throw e;
+      } catch (IOException e) {
+          Trace.trace(Trace.ERROR, e.getMessage(), Activator.logOperations);
+          throw e;
+      }
+    }
+    
+    public String[] getUserList(){
+        return userProperties.keySet().toArray(new String[0]);
+    }
+    
+    public String[] getGroupList(){
+        return groupProperties.keySet().toArray(new String[0]);
+    }
+    
+    public boolean modifyUser(String oldName, String newName,String newGroup, String passwd){
+        boolean operationResult = false;
+        
+        operationResult = true;
+        return operationResult;
+    }
+    
+    private void addUserIntoGroup(String groupName,String userName){
+        String userList = groupProperties.getProperty(groupName);
+        int index = getIndexOfUser(userName,userList);
+        if (index!=-1){
+            //user already exists
+            return;
+        }else {
+            userList = userList.concat(",").concat(userName);
+        }
+        groupProperties.setProperty(groupName, userList);
+    }
+    
+    private void delUserFromGroup(String groupName,String userName){
+        String userList = groupProperties.getProperty(groupName);
+        int index = getIndexOfUser(userName,userList);
+        if (index == -1) return;
+        else{
+            userList = removeUser(userList,index);
+        }
+        groupProperties.setProperty(groupName, userList);
+    }
+    
+    private String removeUser(String userList, int index) {
+        String[] users = userList.split(",");
+        StringBuilder usersStr = new StringBuilder();
+        for (int i=0;i<users.length;i++){
+           if (i!=index) {
+               usersStr.append(users[i].concat(","));
+           }
+        }
+        //delete last comma
+        usersStr.deleteCharAt(usersStr.length()-1);
+        
+        return usersStr.toString();
+    }
+
+    public void delUser(String userName){
+        String password = userProperties.getProperty(userName);
+        if (password!=null) {
+            userProperties.remove(userName);
+        }
+        
+       Set<Object> groupSet = groupProperties.keySet();
+       for (Object group:groupSet){
+           delUserFromGroup((String)group,userName);
+       }
+    }
+    
+    
+    public void addUser(String userName,String groupName,String password){
+        userProperties.setProperty(userName, password);
+        addUserIntoGroup(groupName,userName);
+    }
+    
+    public void persist() throws Exception, IOException{
+        try{
+        	FileOutputStream fos = new FileOutputStream(new File(securityPath,groupPropertiesFile));
+            groupProperties.store(fos, "");
+            fos.close();
+            
+            fos = new FileOutputStream(new File(securityPath,userPropertiesFile));
+            userProperties.store(fos, "");
+            fos.close();
+        } catch (FileNotFoundException e) {
+            Trace.trace(Trace.ERROR, e.getMessage(), Activator.logOperations);
+            throw e;
+        } catch (IOException e) {
+            Trace.trace(Trace.ERROR, e.getMessage(), Activator.logOperations);
+            throw e;
+        }
+    }
+    
+    private int getIndexOfUser(String username,String userList){
+        String[] users = userList.split(",");
+        for (int i=0;i<users.length;i++){
+            if (users[i].equalsIgnoreCase(username))
+                return i;
+        }
+            return -1;
+    }
+    
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/GeronimoAccountManager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/GeronimoAccountManager.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/GeronimoAccountManager.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/IGeronimoServerPluginManager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/IGeronimoServerPluginManager.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/operations/IGeronimoServerPluginManager.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/actions/LaunchGeronimoSupportAction.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetClasspathContainersCommand.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetClasspathContainersCommand.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetClasspathContainersCommand.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetClasspathContainersCommand.java Thu Nov 17 02:19:12 2011
@@ -1,95 +1,95 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.st.ui.commands;
-
-import java.util.ArrayList;
-import java.util.List;
-import org.apache.geronimo.st.core.GeronimoServerDelegate;
-import org.apache.geronimo.st.ui.Activator;
-import org.apache.geronimo.st.ui.internal.Trace;
-import org.eclipse.wst.server.core.IServerWorkingCopy;
-
-/**
- * @version $Rev$ $Date$
- */
-public class SetClasspathContainersCommand extends ServerCommand {
-
-    private List<String> newList;
-    private List<String> oldList;
-
-
-    /*
-     * @param server
-     * @param checkList string array
-     */
-    public SetClasspathContainersCommand(IServerWorkingCopy server, Object[] checkList) {
-
-        super(server, "SetClasspathContainersCommand");
-        this.newList = createList( checkList );
-
-        Trace.tracePoint("ENTRY", Activator.traceCommands, "SetClasspathContainersCommand", checkList, checkList.length );
-        Trace.tracePoint("EXIT", Activator.traceCommands, "SetClasspathContainersCommand");
-    }
-
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.st.ui.commands.ServerCommand#execute()
-     */
-    public void execute() {
-        Trace.tracePoint("ENTRY", Activator.traceCommands, "SetClasspathContainersCommand.execute");
-
-        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
-        oldList = gs.getClasspathContainers();
-        gs.setClasspathContainers(newList);
-
-        Trace.tracePoint("EXIT", Activator.traceCommands, "SetClasspathContainersCommand.execute");
-    }
-
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.st.ui.commands.ServerCommand#undo()
-     */
-    public void undo() {
-        Trace.tracePoint("ENTRY", Activator.traceCommands, "SetClasspathContainersCommand.undo");
-
-        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
-        gs.setClasspathContainers(oldList);
-
-        Trace.tracePoint("EXIT", Activator.traceCommands, "SetClasspathContainersCommand.undo");
-    }
-
-
-    //
-    // Convert object array to List<String>
-    //
-	public List<String> createList( Object[] checkList ) {
-        Trace.tracePoint("ENTRY", Activator.traceCommands, "SetClasspathContainersCommand.createList");
-    
-        List<String> containers = new ArrayList<String>();
-        for (Object container : checkList) {
-            containers.add( (String)container );
-        }
-
-        Trace.tracePoint("EXIT", Activator.traceCommands, "SetClasspathContainersCommand.createList", containers );
-        return containers;
-   }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.st.ui.commands;
+
+import java.util.ArrayList;
+import java.util.List;
+import org.apache.geronimo.st.core.GeronimoServerDelegate;
+import org.apache.geronimo.st.ui.Activator;
+import org.apache.geronimo.st.ui.internal.Trace;
+import org.eclipse.wst.server.core.IServerWorkingCopy;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class SetClasspathContainersCommand extends ServerCommand {
+
+    private List<String> newList;
+    private List<String> oldList;
+
+
+    /*
+     * @param server
+     * @param checkList string array
+     */
+    public SetClasspathContainersCommand(IServerWorkingCopy server, Object[] checkList) {
+
+        super(server, "SetClasspathContainersCommand");
+        this.newList = createList( checkList );
+
+        Trace.tracePoint("ENTRY", Activator.traceCommands, "SetClasspathContainersCommand", checkList, checkList.length );
+        Trace.tracePoint("EXIT", Activator.traceCommands, "SetClasspathContainersCommand");
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.st.ui.commands.ServerCommand#execute()
+     */
+    public void execute() {
+        Trace.tracePoint("ENTRY", Activator.traceCommands, "SetClasspathContainersCommand.execute");
+
+        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
+        oldList = gs.getClasspathContainers();
+        gs.setClasspathContainers(newList);
+
+        Trace.tracePoint("EXIT", Activator.traceCommands, "SetClasspathContainersCommand.execute");
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.st.ui.commands.ServerCommand#undo()
+     */
+    public void undo() {
+        Trace.tracePoint("ENTRY", Activator.traceCommands, "SetClasspathContainersCommand.undo");
+
+        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
+        gs.setClasspathContainers(oldList);
+
+        Trace.tracePoint("EXIT", Activator.traceCommands, "SetClasspathContainersCommand.undo");
+    }
+
+
+    //
+    // Convert object array to List<String>
+    //
+	public List<String> createList( Object[] checkList ) {
+        Trace.tracePoint("ENTRY", Activator.traceCommands, "SetClasspathContainersCommand.createList");
+    
+        List<String> containers = new ArrayList<String>();
+        for (Object container : checkList) {
+            containers.add( (String)container );
+        }
+
+        Trace.tracePoint("EXIT", Activator.traceCommands, "SetClasspathContainersCommand.createList", containers );
+        return containers;
+   }
+
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetClasspathContainersCommand.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetClasspathContainersCommand.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetClasspathContainersCommand.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetNotRedeployJSPFilesCommand.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetNotRedeployJSPFilesCommand.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetSelectClasspathContainersCommand.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetSelectClasspathContainersCommand.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetSelectClasspathContainersCommand.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetSelectClasspathContainersCommand.java Thu Nov 17 02:19:12 2011
@@ -1,63 +1,63 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.st.ui.commands;
-
-import org.apache.geronimo.st.core.GeronimoServerDelegate;
-import org.eclipse.wst.server.core.IServerWorkingCopy;
-
-/**
- * @version $Rev$ $Date$
- */
-public class SetSelectClasspathContainersCommand extends ServerCommand {
-
-    boolean value;
-    boolean oldValue;
-
-
-    /**
-     * @param server
-     * @param name
-     */
-    public SetSelectClasspathContainersCommand(IServerWorkingCopy server, boolean value) {
-        super(server, "SetSelectClasspathContainersCommand");
-        this.value = value;
-    }
-
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.st.ui.commands.ServerCommand#execute()
-     */
-    public void execute() {
-        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
-        oldValue = gs.isSelectClasspathContainers();
-        gs.setSelectClasspathContainers(value);
-    }
-
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.st.ui.commands.ServerCommand#undo()
-     */
-    public void undo() {
-        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
-        gs.setSelectClasspathContainers(oldValue);
-    }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.st.ui.commands;
+
+import org.apache.geronimo.st.core.GeronimoServerDelegate;
+import org.eclipse.wst.server.core.IServerWorkingCopy;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class SetSelectClasspathContainersCommand extends ServerCommand {
+
+    boolean value;
+    boolean oldValue;
+
+
+    /**
+     * @param server
+     * @param name
+     */
+    public SetSelectClasspathContainersCommand(IServerWorkingCopy server, boolean value) {
+        super(server, "SetSelectClasspathContainersCommand");
+        this.value = value;
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.st.ui.commands.ServerCommand#execute()
+     */
+    public void execute() {
+        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
+        oldValue = gs.isSelectClasspathContainers();
+        gs.setSelectClasspathContainers(value);
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.st.ui.commands.ServerCommand#undo()
+     */
+    public void undo() {
+        GeronimoServerDelegate gs = (GeronimoServerDelegate) server.getAdapter(GeronimoServerDelegate.class);
+        gs.setSelectClasspathContainers(oldValue);
+    }
+
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetSelectClasspathContainersCommand.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetSelectClasspathContainersCommand.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/commands/SetSelectClasspathContainersCommand.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoJAXBBasedEditor.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoJAXBBasedEditor.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoJAXBBasedEditor.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoJAXBBasedEditor.java Thu Nov 17 02:19:12 2011
@@ -51,7 +51,7 @@ import org.eclipse.wst.common.project.fa
 import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
 
 /**
- * @version $Rev: 939152 $ $Date: 2010-04-29 08:57:12 +0800 (Thu, 29 Apr 2010) $
+ * @version $Rev$ $Date$
  */
 public abstract class AbstractGeronimoJAXBBasedEditor extends FormEditor {
 

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoJAXBBasedEditor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoJAXBBasedEditor.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoJAXBBasedEditor.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanEditHelper.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanEditHelper.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanEditHelper.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanEditHelper.java Thu Nov 17 02:19:12 2011
@@ -1,78 +1,78 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.st.ui.refactoring;
-
-import java.io.File;
-import java.io.IOException;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-
-/**
- * 
- */
-public class DeploymentPlanEditHelper {
-	private String fileName;
-	private DeploymentPlanHandler handler;
-	
-	public DeploymentPlanEditHelper(String fileName){
-		this.fileName=fileName;
-		this.handler=new DeploymentPlanHandler(fileName);
-		init();
-	}
-	
-	public DeploymentPlanEditHelper(DeploymentPlanHandler deploymentPlanHandler){
-		this.fileName=deploymentPlanHandler.file;
-		this.handler=deploymentPlanHandler;
-		//parse the deployment plan, generate info
-		init();
-	} 
-	
-	private void init(){
-		SAXParserFactory factory=SAXParserFactory.newInstance();
-		try {
-			factory.setFeature("http://xml.org/sax/features/namespaces", true);
-			SAXParser p = factory.newSAXParser();
-			File file =new File(fileName);
-			p.parse(file, handler);
-		} catch (SAXNotRecognizedException e) {
-			e.printStackTrace();
-		} catch (SAXNotSupportedException e) {
-			e.printStackTrace();
-		} catch (ParserConfigurationException e) {
-			e.printStackTrace();
-		} catch (SAXException e) {
-			e.printStackTrace();
-		}catch (IOException e) {
-			e.printStackTrace();
-		}	
-	}
-	
-	public int getNodeOffset(String nodeName){
-		return handler.getNodeOffset(nodeName);
-	}
-	
-	public String getNodeValue(String nodeName){
-		return handler.getNodeValue(nodeName);
-	}
-	
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.st.ui.refactoring;
+
+import java.io.File;
+import java.io.IOException;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
+
+/**
+ * 
+ */
+public class DeploymentPlanEditHelper {
+	private String fileName;
+	private DeploymentPlanHandler handler;
+	
+	public DeploymentPlanEditHelper(String fileName){
+		this.fileName=fileName;
+		this.handler=new DeploymentPlanHandler(fileName);
+		init();
+	}
+	
+	public DeploymentPlanEditHelper(DeploymentPlanHandler deploymentPlanHandler){
+		this.fileName=deploymentPlanHandler.file;
+		this.handler=deploymentPlanHandler;
+		//parse the deployment plan, generate info
+		init();
+	} 
+	
+	private void init(){
+		SAXParserFactory factory=SAXParserFactory.newInstance();
+		try {
+			factory.setFeature("http://xml.org/sax/features/namespaces", true);
+			SAXParser p = factory.newSAXParser();
+			File file =new File(fileName);
+			p.parse(file, handler);
+		} catch (SAXNotRecognizedException e) {
+			e.printStackTrace();
+		} catch (SAXNotSupportedException e) {
+			e.printStackTrace();
+		} catch (ParserConfigurationException e) {
+			e.printStackTrace();
+		} catch (SAXException e) {
+			e.printStackTrace();
+		}catch (IOException e) {
+			e.printStackTrace();
+		}	
+	}
+	
+	public int getNodeOffset(String nodeName){
+		return handler.getNodeOffset(nodeName);
+	}
+	
+	public String getNodeValue(String nodeName){
+		return handler.getNodeValue(nodeName);
+	}
+	
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanEditHelper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanEditHelper.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanEditHelper.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanHandler.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanHandler.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanHandler.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanHandler.java Thu Nov 17 02:19:12 2011
@@ -1,174 +1,174 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.st.ui.refactoring;
-
-import java.io.BufferedReader;
-import java.io.FileReader;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/**
- * A SAX Handler for geronimo deployment plan
- */
-public class DeploymentPlanHandler extends DefaultHandler {
-	protected String file;
-	protected List<DeploymentPlanTextNode> nodeList = new ArrayList<DeploymentPlanTextNode>();
-
-	protected static final int START = 0, IN_ROOT_ELEMENT = 1,
-			IN_CONTEXT_ROOT = 2, IN_ENVIRONMENT = 3, IN_MODULEID = 4,
-			IN_ARTIFACTID = 5;
-
-	protected int state = START;
-
-	public DeploymentPlanHandler(String file) {
-		this.file = file;
-	}
-
-	public List<DeploymentPlanTextNode> getNodeList() {
-		return nodeList;
-	}
-
-	public int getNodeOffset(String nodeName) {
-		for (DeploymentPlanTextNode n : nodeList) {
-			if (n.getName().equals(nodeName))
-				return n.getOffset();
-		}
-		return -1;
-	}
-
-	public String getNodeValue(String nodeName) {
-		for (DeploymentPlanTextNode n : nodeList) {
-			if (n.getName().equals(nodeName))
-				return n.getValue();
-		}
-		return null;
-	}
-	
-	public void characters(char[] ch, int start, int length)
-			throws SAXException {
-		DeploymentPlanTextNode wtn = null;
-		String name = null;
-		
-		switch (state) {
-			case IN_CONTEXT_ROOT:
-				name = DeploymentPlanTextNode.CONTEXT_ROOT;
-				break;
-			case IN_ARTIFACTID:
-				name = DeploymentPlanTextNode.ARTIFACT_ID;
-				break;
-			default:
-				return;
-		}
-		
-		String value = new String(ch, start, length);
-		wtn = new DeploymentPlanTextNode();
-		
-		wtn.setName(name);
-		wtn.setValue(value);
-		try {
-			//ch doesn't contains XML declare statement at the beginning of deployment plan
-			//get the character number of first line
-			int xmlDeclareLength = getXMLDeclareLength();
-			wtn.setOffset(xmlDeclareLength + start);
-		} catch (IOException e) {
-			e.printStackTrace();
-		}
-		nodeList.add(wtn);	
-		
-	}
-
-	public void startElement(String uri, String localName, String qName,
-			Attributes attributes) throws SAXException {
-		switch (state) {
-		case START:
-			if (localName.equals("web-app") || localName.equals("openejb-jar")
-					|| localName.equals("connector")
-					|| localName.equals("application"))
-				state = IN_ROOT_ELEMENT;
-			break;
-		case IN_ROOT_ELEMENT:
-			if (localName.equals("environment"))
-				state = IN_ENVIRONMENT;
-			else if (localName.equals("context-root"))
-				state = IN_CONTEXT_ROOT;
-			break;
-		case IN_ENVIRONMENT:
-			if (localName.equals("moduleId"))
-				state = IN_MODULEID;
-			break;
-		case IN_MODULEID:
-			if (localName.equals("artifactId"))
-				state = IN_ARTIFACTID;
-			break;
-		default:
-			break;
-		}
-	}
-
-	public void endElement(String uri, String localName, String qName)
-			throws SAXException {
-		switch (state) {
-		case IN_ROOT_ELEMENT:
-			if (localName.equals("web-app") || localName.equals("openejb-jar")
-					|| localName.equals("connector")
-					|| localName.equals("application"))
-				state = START;
-			break;
-		case IN_ENVIRONMENT:
-			if (localName.equals("environment"))
-				state = IN_ROOT_ELEMENT;
-			break;
-		case IN_MODULEID:
-			if (localName.equals("moduleId"))
-				state = IN_ENVIRONMENT;
-			break;
-		case IN_ARTIFACTID:
-			if (localName.equals("artifactId"))
-				state = IN_MODULEID;
-			break;
-		case IN_CONTEXT_ROOT:
-			if (localName.equals("context-root"))
-				state = IN_ROOT_ELEMENT;
-			break;
-		default:
-			break;
-		}
-	}
-
-	// return the character number of first line in deployment plan
-	protected int getXMLDeclareLength()
-			throws IOException {
-		BufferedReader br = new BufferedReader(new FileReader(file));
-
-		int current;
-		int offset = 0;
-
-		do {
-			current = br.read();
-			offset++;
-		} while (current != '>');
-
-		br.close();
-
-		return offset;
-	}
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.st.ui.refactoring;
+
+import java.io.BufferedReader;
+import java.io.FileReader;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.xml.sax.Attributes;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.DefaultHandler;
+
+/**
+ * A SAX Handler for geronimo deployment plan
+ */
+public class DeploymentPlanHandler extends DefaultHandler {
+	protected String file;
+	protected List<DeploymentPlanTextNode> nodeList = new ArrayList<DeploymentPlanTextNode>();
+
+	protected static final int START = 0, IN_ROOT_ELEMENT = 1,
+			IN_CONTEXT_ROOT = 2, IN_ENVIRONMENT = 3, IN_MODULEID = 4,
+			IN_ARTIFACTID = 5;
+
+	protected int state = START;
+
+	public DeploymentPlanHandler(String file) {
+		this.file = file;
+	}
+
+	public List<DeploymentPlanTextNode> getNodeList() {
+		return nodeList;
+	}
+
+	public int getNodeOffset(String nodeName) {
+		for (DeploymentPlanTextNode n : nodeList) {
+			if (n.getName().equals(nodeName))
+				return n.getOffset();
+		}
+		return -1;
+	}
+
+	public String getNodeValue(String nodeName) {
+		for (DeploymentPlanTextNode n : nodeList) {
+			if (n.getName().equals(nodeName))
+				return n.getValue();
+		}
+		return null;
+	}
+	
+	public void characters(char[] ch, int start, int length)
+			throws SAXException {
+		DeploymentPlanTextNode wtn = null;
+		String name = null;
+		
+		switch (state) {
+			case IN_CONTEXT_ROOT:
+				name = DeploymentPlanTextNode.CONTEXT_ROOT;
+				break;
+			case IN_ARTIFACTID:
+				name = DeploymentPlanTextNode.ARTIFACT_ID;
+				break;
+			default:
+				return;
+		}
+		
+		String value = new String(ch, start, length);
+		wtn = new DeploymentPlanTextNode();
+		
+		wtn.setName(name);
+		wtn.setValue(value);
+		try {
+			//ch doesn't contains XML declare statement at the beginning of deployment plan
+			//get the character number of first line
+			int xmlDeclareLength = getXMLDeclareLength();
+			wtn.setOffset(xmlDeclareLength + start);
+		} catch (IOException e) {
+			e.printStackTrace();
+		}
+		nodeList.add(wtn);	
+		
+	}
+
+	public void startElement(String uri, String localName, String qName,
+			Attributes attributes) throws SAXException {
+		switch (state) {
+		case START:
+			if (localName.equals("web-app") || localName.equals("openejb-jar")
+					|| localName.equals("connector")
+					|| localName.equals("application"))
+				state = IN_ROOT_ELEMENT;
+			break;
+		case IN_ROOT_ELEMENT:
+			if (localName.equals("environment"))
+				state = IN_ENVIRONMENT;
+			else if (localName.equals("context-root"))
+				state = IN_CONTEXT_ROOT;
+			break;
+		case IN_ENVIRONMENT:
+			if (localName.equals("moduleId"))
+				state = IN_MODULEID;
+			break;
+		case IN_MODULEID:
+			if (localName.equals("artifactId"))
+				state = IN_ARTIFACTID;
+			break;
+		default:
+			break;
+		}
+	}
+
+	public void endElement(String uri, String localName, String qName)
+			throws SAXException {
+		switch (state) {
+		case IN_ROOT_ELEMENT:
+			if (localName.equals("web-app") || localName.equals("openejb-jar")
+					|| localName.equals("connector")
+					|| localName.equals("application"))
+				state = START;
+			break;
+		case IN_ENVIRONMENT:
+			if (localName.equals("environment"))
+				state = IN_ROOT_ELEMENT;
+			break;
+		case IN_MODULEID:
+			if (localName.equals("moduleId"))
+				state = IN_ENVIRONMENT;
+			break;
+		case IN_ARTIFACTID:
+			if (localName.equals("artifactId"))
+				state = IN_MODULEID;
+			break;
+		case IN_CONTEXT_ROOT:
+			if (localName.equals("context-root"))
+				state = IN_ROOT_ELEMENT;
+			break;
+		default:
+			break;
+		}
+	}
+
+	// return the character number of first line in deployment plan
+	protected int getXMLDeclareLength()
+			throws IOException {
+		BufferedReader br = new BufferedReader(new FileReader(file));
+
+		int current;
+		int offset = 0;
+
+		do {
+			current = br.read();
+			offset++;
+		} while (current != '>');
+
+		br.close();
+
+		return offset;
+	}
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanHandler.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanTextNode.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanTextNode.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanTextNode.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanTextNode.java Thu Nov 17 02:19:12 2011
@@ -1,60 +1,60 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.st.ui.refactoring;
-
-public class DeploymentPlanTextNode {
-	private String name;
-	private String value;
-	private int offset;	
-	
-	public static final String CONTEXT_ROOT="context-root",ARTIFACT_ID="artifactId";
-	
-	public DeploymentPlanTextNode() {
-		this(null,null,-1);
-	}
-
-	public DeploymentPlanTextNode(String name, String value, int offset) {
-		this.name = name;
-		this.value = value;
-		this.offset = offset;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public String getValue() {
-		return value;
-	}
-
-	public void setValue(String value) {
-		this.value = value;
-	}
-
-	public int getOffset() {
-		return offset;
-	}
-
-	public void setOffset(int offset) {
-		this.offset = offset;
-	}
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.st.ui.refactoring;
+
+public class DeploymentPlanTextNode {
+	private String name;
+	private String value;
+	private int offset;	
+	
+	public static final String CONTEXT_ROOT="context-root",ARTIFACT_ID="artifactId";
+	
+	public DeploymentPlanTextNode() {
+		this(null,null,-1);
+	}
+
+	public DeploymentPlanTextNode(String name, String value, int offset) {
+		this.name = name;
+		this.value = value;
+		this.offset = offset;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+
+	public String getValue() {
+		return value;
+	}
+
+	public void setValue(String value) {
+		this.value = value;
+	}
+
+	public int getOffset() {
+		return offset;
+	}
+
+	public void setOffset(int offset) {
+		this.offset = offset;
+	}
+
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanTextNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanTextNode.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/DeploymentPlanTextNode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message