JBoss Tools SVN: r2800 - trunk/core/features/org.jboss.ide.eclipse.feature.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-07-31 19:58:34 -0400 (Tue, 31 Jul 2007)
New Revision: 2800
Modified:
trunk/core/features/org.jboss.ide.eclipse.feature/feature.xml
Log:
removed product plugin
Modified: trunk/core/features/org.jboss.ide.eclipse.feature/feature.xml
===================================================================
--- trunk/core/features/org.jboss.ide.eclipse.feature/feature.xml 2007-07-31 23:38:53 UTC (rev 2799)
+++ trunk/core/features/org.jboss.ide.eclipse.feature/feature.xml 2007-07-31 23:58:34 UTC (rev 2800)
@@ -504,13 +504,6 @@
version="0.0.0"/>
<plugin
- id="org.jboss.ide.eclipse.product"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
id="org.jboss.ide.eclipse.archives.core"
download-size="0"
install-size="0"
17 years, 5 months
JBoss Tools SVN: r2799 - in trunk: legacy and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-07-31 19:38:53 -0400 (Tue, 31 Jul 2007)
New Revision: 2799
Added:
trunk/legacy/releng/
Removed:
trunk/releng/
Log:
releng is old and moved to legacy
Copied: trunk/legacy/releng (from rev 2790, trunk/releng)
17 years, 5 months
JBoss Tools SVN: r2798 - in trunk: legacy and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-07-31 19:19:56 -0400 (Tue, 31 Jul 2007)
New Revision: 2798
Added:
trunk/legacy/ejb3/
Removed:
trunk/ejb3/
Log:
EJB3 plugins are now legacy
Copied: trunk/legacy/ejb3 (from rev 2790, trunk/ejb3)
17 years, 5 months
JBoss Tools SVN: r2797 - trunk/as/features/org.jboss.ide.eclipse.as.feature.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-07-31 19:13:30 -0400 (Tue, 31 Jul 2007)
New Revision: 2797
Modified:
trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml
Log:
feature updated for new classpath plugins
Modified: trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml
===================================================================
--- trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml 2007-07-31 23:03:28 UTC (rev 2796)
+++ trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml 2007-07-31 23:13:30 UTC (rev 2797)
@@ -497,4 +497,18 @@
version="0.0.0"
unpack="false"/>
+ <plugin
+ id="org.jboss.ide.eclipse.as.classpath.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.ide.eclipse.as.classpath.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
17 years, 5 months
JBoss Tools SVN: r2796 - in trunk/as/plugins: org.jboss.ide.eclipse.as.classpath.core and 39 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-07-31 19:03:28 -0400 (Tue, 31 Jul 2007)
New Revision: 2796
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/.classpath
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/.project
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/META-INF/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/META-INF/MANIFEST.MF
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ClasspathCorePlugin.class
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ejb3/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.class
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainerInitializer.class
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/build.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/plugin.xml
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ClasspathCorePlugin.java
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainerInitializer.java
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/.classpath
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/.project
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/META-INF/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/META-INF/MANIFEST.MF
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ClasspathUIPlugin.class
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossEJB3LibrariesPage.class
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage$1.class
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage$2.class
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage.class
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/build.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/plugin.xml
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ClasspathUIPlugin.java
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossEJB3LibrariesPage.java
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage.java
Log:
new classpath plugins will be responsible for classpath libraries, containers, etc for all AS and generic JEE uses
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/.classpath
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/.classpath (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/.classpath 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/.project
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/.project (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/.project 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.ide.eclipse.as.classpath.core</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/META-INF/MANIFEST.MF 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Core Plug-in
+Bundle-SymbolicName: org.jboss.ide.eclipse.as.classpath.core;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.ide.eclipse.as.classpath.core.ClasspathCorePlugin
+Require-Bundle: org.eclipse.core.runtime,
+ org.jboss.ide.eclipse.as.core,
+ org.eclipse.jdt.core,
+ org.eclipse.wst.server.core,
+ org.eclipse.core.resources,
+ org.eclipse.jdt.launching
+Eclipse-LazyStart: true
+Export-Package: org.jboss.ide.eclipse.as.classpath.core,
+ org.jboss.ide.eclipse.as.classpath.core.ejb3
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ClasspathCorePlugin.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ClasspathCorePlugin.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainerInitializer.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/bin/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainerInitializer.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/build.properties (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/build.properties 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/plugin.xml (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/plugin.xml 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+ <extension
+ point="org.eclipse.jdt.core.classpathContainerInitializer">
+ <classpathContainerInitializer
+ class="org.jboss.ide.eclipse.as.classpath.core.ejb3.EJB3ClasspathContainerInitializer"
+ id="org.jboss.ide.eclipse.as.classpath.core.ejb3.classpathContainer"/>
+ </extension>
+</plugin>
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ClasspathCorePlugin.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ClasspathCorePlugin.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ClasspathCorePlugin.java 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,50 @@
+package org.jboss.ide.eclipse.as.classpath.core;
+
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class ClasspathCorePlugin extends Plugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.ide.eclipse.as.classpath.core";
+
+ // The shared instance
+ private static ClasspathCorePlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public ClasspathCorePlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static ClasspathCorePlugin getDefault() {
+ return plugin;
+ }
+
+}
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,173 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ide.eclipse.as.classpath.core.ejb3;
+
+import java.util.ArrayList;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.QualifiedName;
+import org.eclipse.jdt.core.IClasspathContainer;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IPackageFragmentRoot;
+import org.eclipse.jdt.internal.core.ClasspathEntry;
+import org.eclipse.jdt.launching.JavaRuntime;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.ServerCore;
+import org.jboss.ide.eclipse.as.core.server.JBossServer;
+
+/**
+ * @author Marshall
+ */
+public class EJB3ClasspathContainer implements IClasspathContainer {
+ public static final String CONTAINER_ID = "org.jboss.ide.eclipse.as.classpath.core.ejb3.classpathContainer";
+
+ public static final String DESCRIPTION = "JBoss EJB3 Libraries";
+
+ public static final QualifiedName JBOSS_EJB3_CONFIGURATION = new QualifiedName(
+ "org.jboss.ide.eclipse.ejb3.wizards.core.classpath", "jboss-ejb3-configuration");
+
+ protected IJavaProject javaProject;
+ protected JBossServer jbossServer;
+ protected IPath path;
+
+ protected IPath configPath = new Path("");
+ protected IPath homePath = new Path("home");
+
+
+ public EJB3ClasspathContainer(IPath path, IJavaProject project) {
+ this.path = path;
+ this.javaProject = project;
+
+ try {
+ String configName = path.segment(1);
+ IServer servers[] = ServerCore.getServers();
+
+ if (configName == null) {
+ // old classpath container, try finding the persisten property
+ configName = project.getProject().getPersistentProperty(JBOSS_EJB3_CONFIGURATION);
+ if (configName != null) {
+ // go ahead and remove the persistent property
+ project.getProject().setPersistentProperty(JBOSS_EJB3_CONFIGURATION, null);
+ }
+ }
+
+ for (int i = 0; i < servers.length; i++) {
+ if (servers[i].getName().equals(configName)) {
+ jbossServer = (JBossServer) servers[i].loadAdapter(JBossServer.class, new NullProgressMonitor());
+ try {
+ homePath = jbossServer.getServer().getRuntime().getLocation();
+ configPath = new Path(jbossServer.getConfigDirectory());
+ } catch( Exception e ) { e.printStackTrace(); }
+ break;
+ }
+ }
+ } catch (CoreException e) {
+ }
+
+ }
+
+ public String getDescription() {
+ return "JBoss EJB 3.0 Libraries";
+ }
+
+ public JBossServer getJBossServer() {
+ return jbossServer;
+ }
+
+ public void setJBossServer(JBossServer jbossServer) {
+ this.jbossServer = jbossServer;
+ }
+
+ public int getKind() {
+ return K_APPLICATION;
+ }
+
+ public IPath getPath() {
+ return path;
+ }
+
+ public IClasspathEntry[] getClasspathEntries() {
+ ArrayList entries = new ArrayList();
+ String id = jbossServer.getServer().getServerType().getId();
+ if( id.equals("org.jboss.ide.eclipse.as.40")) return get40Jars();
+ if( id.equals("org.jboss.ide.eclipse.as.42")) return get42Jars();
+ return (IClasspathEntry[]) entries.toArray(new IClasspathEntry[entries.size()]);
+ }
+
+ public IClasspathEntry[] get40Jars() {
+ ArrayList list = new ArrayList();
+
+ // path roots
+ IPath deploy = configPath.append("deploy");
+ IPath deployer = deploy.append("ejb3.deployer");
+ IPath aopDeployer = deploy.append("jboss-aop-jdk50.deployer");
+
+ // ejb3
+ list.add(getEntry(deployer.append("jboss-ejb3x.jar")));
+ list.add(getEntry(deployer.append("jboss-ejb3.jar")));
+ list.add(getEntry(deployer.append("jboss-annotations-ejb3.jar")));
+
+ // aop
+ list.add(getEntry(aopDeployer.append("jboss-aop-jdk50.jar")));
+ list.add(getEntry(aopDeployer.append("jboss-aspect-library-jdk50.jar")));
+
+ // hibernate
+ list.add(getEntry(homePath.append("client").append("hibernate-client.jar")));
+ return (IClasspathEntry[]) list.toArray(new IClasspathEntry[list.size()]);
+ }
+
+ public IClasspathEntry[] get42Jars() {
+ ArrayList list = new ArrayList();
+
+ // path roots
+ IPath deploy = configPath.append("deploy");
+ IPath deployer = deploy.append("ejb3.deployer");
+ IPath aopDeployer = deploy.append("jboss-aop-jdk50.deployer");
+ IPath client = homePath.append("client");
+
+ list.add(getEntry(configPath.append("lib").append("jboss-ejb3x.jar")));
+ list.add(getEntry(deployer.append("jboss-ejb3.jar")));
+ list.add(getEntry(deployer.append("jboss-annotations-ejb3.jar")));
+
+ // aop
+ list.add(getEntry(aopDeployer.append("jboss-aop-jdk50.jar")));
+ list.add(getEntry(aopDeployer.append("jboss-aspect-library-jdk50.jar")));
+
+ // hibernate
+ list.add(getEntry(homePath.append("client").append("hibernate-client.jar")));
+
+ // persistence jar
+ list.add(getEntry(client.append("ejb3-persistence.jar")));
+ return (IClasspathEntry[]) list.toArray(new IClasspathEntry[list.size()]);
+ }
+
+
+ protected IClasspathEntry getEntry(IPath path) {
+ return JavaRuntime.newArchiveRuntimeClasspathEntry(path).getClasspathEntry();
+ }
+
+}
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainerInitializer.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainerInitializer.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainerInitializer.java 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ide.eclipse.as.classpath.core.ejb3;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.jdt.core.ClasspathContainerInitializer;
+import org.eclipse.jdt.core.IClasspathContainer;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.JavaCore;
+
+/**
+ * @author Marshall
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class EJB3ClasspathContainerInitializer extends ClasspathContainerInitializer {
+
+ public void initialize(IPath containerPath, IJavaProject project) throws CoreException {
+ String containerId = containerPath.segment(0);
+ IClasspathContainer container = null;
+
+ if (containerId.equals(EJB3ClasspathContainer.CONTAINER_ID)) {
+ container = new EJB3ClasspathContainer(containerPath, project);
+ }
+
+ if (container != null)
+ JavaCore.setClasspathContainer(containerPath,
+ new IJavaProject[] {project},
+ new IClasspathContainer[] {container}, null);
+ }
+
+ public String getDescription(IPath containerPath, IJavaProject project) {
+ String containerId = containerPath.segment(0);
+ if (containerId.equals(EJB3ClasspathContainer.CONTAINER_ID)) {
+ return EJB3ClasspathContainer.DESCRIPTION;
+ }
+
+ return "";
+ }
+}
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainerInitializer.java
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/.classpath
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/.classpath (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/.classpath 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/.project
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/.project (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/.project 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.ide.eclipse.as.classpath.ui</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/META-INF/MANIFEST.MF 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Ui Plug-in
+Bundle-SymbolicName: org.jboss.ide.eclipse.as.classpath.ui;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.ide.eclipse.as.classpath.ui.ClasspathUIPlugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.ide.eclipse.as.classpath.core,
+ org.jboss.ide.eclipse.as.core,
+ org.eclipse.wst.server.core,
+ org.eclipse.wst.server.ui,
+ org.eclipse.jdt.ui,
+ org.eclipse.jdt.core
+Eclipse-LazyStart: true
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ClasspathUIPlugin.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ClasspathUIPlugin.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossEJB3LibrariesPage.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossEJB3LibrariesPage.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage$1.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage$1.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage$2.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage$2.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/bin/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/build.properties (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/build.properties 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/plugin.xml (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/plugin.xml 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+ <extension
+ point="org.eclipse.jdt.ui.classpathContainerPage">
+ <classpathContainerPage
+ class="org.jboss.ide.eclipse.as.classpath.ui.ejb3.JBossEJB3LibrariesPage"
+ id="org.jboss.ide.eclipse.as.classpath.ui.ejb3.containerPage"
+ name="JBoss EJB3 Libraries"/>
+ </extension>
+</plugin>
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ClasspathUIPlugin.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ClasspathUIPlugin.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ClasspathUIPlugin.java 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,84 @@
+package org.jboss.ide.eclipse.as.classpath.ui;
+
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class ClasspathUIPlugin extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.ide.eclipse.as.classpath.ui";
+
+ // The shared instance
+ private static ClasspathUIPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public ClasspathUIPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static ClasspathUIPlugin getDefault() {
+ return plugin;
+ }
+
+ public static void alert(String string) {
+ MessageDialog dialog = new MessageDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
+ "EJB3 Tools - Alert", Display.getDefault().getSystemImage(SWT.ICON_INFORMATION), string,
+ MessageDialog.INFORMATION, new String[]
+ {"OK",}, 0);
+
+ dialog.setBlockOnOpen(true);
+ dialog.open();
+ }
+
+ public static void error(String string) {
+ MessageDialog dialog = new MessageDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
+ "EJB3 Tools - Error", Display.getDefault().getSystemImage(SWT.ICON_ERROR), string, MessageDialog.ERROR,
+ new String[]
+ {"OK",}, 0);
+
+ dialog.setBlockOnOpen(true);
+ dialog.open();
+ }
+
+ public static void warn(String string) {
+ MessageDialog dialog = new MessageDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
+ "EJB3 Tools - Warning", Display.getDefault().getSystemImage(SWT.ICON_WARNING), string,
+ MessageDialog.WARNING, new String[]
+ {"OK",}, 0);
+
+ dialog.setBlockOnOpen(true);
+ dialog.open();
+ }
+
+}
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossEJB3LibrariesPage.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossEJB3LibrariesPage.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossEJB3LibrariesPage.java 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,77 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ide.eclipse.as.classpath.ui.ejb3;
+
+import org.eclipse.core.runtime.Path;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jdt.ui.wizards.IClasspathContainerPage;
+import org.jboss.ide.eclipse.as.classpath.core.ejb3.EJB3ClasspathContainer;
+import org.jboss.ide.eclipse.as.classpath.ui.ClasspathUIPlugin;
+import org.jboss.ide.eclipse.as.core.runtime.EJB30SupportVerifier;
+import org.jboss.ide.eclipse.as.core.server.JBossServer;
+
+public class JBossEJB3LibrariesPage extends JBossSelectionPage implements IClasspathContainerPage
+{
+
+ private IClasspathEntry classpathEntry;
+
+ public JBossEJB3LibrariesPage() {
+ super();
+ }
+
+ private boolean jbossServerHasEJB3(JBossServer jbossServer) {
+ return EJB30SupportVerifier.verify(jbossServer.getServer().getRuntime());
+ }
+
+ public boolean finish() {
+
+ if (jbossServer != null) {
+ if (jbossServerHasEJB3(jbossServer)) {
+ classpathEntry = JavaCore.newContainerEntry(new Path(EJB3ClasspathContainer.CONTAINER_ID)
+ .append(jbossServer.getServer().getName()), true);
+ return true;
+ } else {
+ ClasspathUIPlugin
+ .error("The selected configuration (\""
+ + jbossServer.getServer().getName()
+ + "\")"
+ + " does not contain the expected EJB3 libraries. Please install JBoss with EJB3 enabled, or try another configuration. ");
+ }
+ }
+
+ return false;
+ }
+
+ public boolean isPageComplete() {
+ return jbossServer != null && isCurrentPage();
+ }
+
+ public IClasspathEntry getSelection() {
+ return classpathEntry;
+ }
+
+ public void setSelection(IClasspathEntry containerEntry) {
+ classpathEntry = containerEntry;
+ }
+
+}
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossEJB3LibrariesPage.java
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage.java 2007-07-31 23:03:28 UTC (rev 2796)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ide.eclipse.as.classpath.ui.ejb3;
+
+import org.eclipse.jface.viewers.ArrayContentProvider;
+import org.eclipse.jface.viewers.ISelectionChangedListener;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.viewers.SelectionChangedEvent;
+import org.eclipse.jface.viewers.TableViewer;
+import org.eclipse.jface.wizard.WizardPage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.layout.FillLayout;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.layout.RowLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.ServerCore;
+import org.eclipse.wst.server.ui.ServerUICore;
+import org.eclipse.wst.server.ui.internal.actions.NewServerAction;
+import org.jboss.ide.eclipse.as.core.server.JBossServer;
+import org.jboss.ide.eclipse.as.core.util.ServerConverter;
+
+public class JBossSelectionPage extends WizardPage {
+
+ protected TableViewer servers;
+ protected JBossServer jbossServer;
+ protected Button newServer;
+
+ public JBossSelectionPage() {
+ super("JBoss Server Selection");
+ }
+
+ public void createControl(Composite parent) {
+
+ Composite main = new Composite(parent, SWT.NONE);
+ main.setLayout(new GridLayout());
+
+ Composite configurationComposite = new Composite(main, SWT.NONE);
+ configurationComposite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
+ configurationComposite.setLayout(new FillLayout());
+
+ servers = new TableViewer(configurationComposite);
+ servers.setContentProvider(new ArrayContentProvider());
+ servers.setLabelProvider(ServerUICore.getLabelProvider());
+ servers.addSelectionChangedListener(new ISelectionChangedListener() {
+ public void selectionChanged(SelectionChangedEvent event) {
+ serverSelected();
+ }
+ });
+
+ refreshConfigurations();
+
+ Composite links = new Composite(main, SWT.NONE);
+ links.setLayout(new RowLayout());
+
+ newServer = new Button(links, SWT.NONE);
+ newServer.setText("Create a JBoss Server");
+ newServer.addSelectionListener(new SelectionListener() {
+ public void widgetDefaultSelected(SelectionEvent e) {
+ widgetSelected(e);
+ }
+
+ public void widgetSelected(SelectionEvent e) {
+ createJBossServer();
+ }
+ });
+
+ setControl(main);
+ }
+
+ private void refreshConfigurations() {
+ servers.setInput(ServerConverter.getJBossServersAsIServers());
+ }
+
+ private void createJBossServer() {
+ NewServerAction action = new NewServerAction();
+ action.init(PlatformUI.getWorkbench().getActiveWorkbenchWindow());
+ action.run(null);
+
+ refreshConfigurations();
+ }
+
+ protected void serverSelected() {
+ IStructuredSelection selection = (IStructuredSelection) servers.getSelection();
+ IServer server = (IServer) selection.getFirstElement();
+ jbossServer = (JBossServer) server.getAdapter(JBossServer.class);
+ getWizard().getContainer().updateButtons();
+ }
+
+ public JBossServer getServer() {
+ return jbossServer;
+ }
+}
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/src/org/jboss/ide/eclipse/as/classpath/ui/ejb3/JBossSelectionPage.java
___________________________________________________________________
Name: svn:executable
+ *
17 years, 5 months
JBoss Tools SVN: r2795 - trunk/core/plugins.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-07-31 18:01:02 -0400 (Tue, 31 Jul 2007)
New Revision: 2795
Removed:
trunk/core/plugins/org.jboss.ide.eclipse.product/
Log:
product is now legacy
17 years, 5 months
JBoss Tools SVN: r2794 - trunk/legacy/core/plugins.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-07-31 18:00:11 -0400 (Tue, 31 Jul 2007)
New Revision: 2794
Added:
trunk/legacy/core/plugins/org.jboss.ide.eclipse.product/
Log:
product is now legacy
Copied: trunk/legacy/core/plugins/org.jboss.ide.eclipse.product (from rev 2790, trunk/core/plugins/org.jboss.ide.eclipse.product)
17 years, 5 months
JBoss Tools SVN: r2793 - trunk/tests/features/org.jboss.ide.eclipse.test.feature.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-07-31 16:37:20 -0400 (Tue, 31 Jul 2007)
New Revision: 2793
Modified:
trunk/tests/features/org.jboss.ide.eclipse.test.feature/feature.xml
Log:
removed xdoclet test plugin
Modified: trunk/tests/features/org.jboss.ide.eclipse.test.feature/feature.xml
===================================================================
--- trunk/tests/features/org.jboss.ide.eclipse.test.feature/feature.xml 2007-07-31 19:46:31 UTC (rev 2792)
+++ trunk/tests/features/org.jboss.ide.eclipse.test.feature/feature.xml 2007-07-31 20:37:20 UTC (rev 2793)
@@ -423,10 +423,4 @@
install-size="0"
version="1.0.0"/>
- <plugin
- id="org.jboss.ide.eclipse.xdoclet.test"
- download-size="0"
- install-size="0"
- version="1.0.0"/>
-
</feature>
17 years, 5 months
JBoss Tools SVN: r2792 - in trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui: META-INF and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-07-31 15:46:31 -0400 (Tue, 31 Jul 2007)
New Revision: 2792
Removed:
trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/src/main/org/jboss/ide/eclipse/jdt/j2ee/ui/actions/
trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/src/main/org/jboss/ide/eclipse/jdt/j2ee/ui/wizards/
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/META-INF/MANIFEST.MF
trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/plugin.properties
trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/plugin.xml
Log:
removed obsolete wizards / code that are superceded by webtools
Modified: trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/META-INF/MANIFEST.MF 2007-07-31 19:45:41 UTC (rev 2791)
+++ trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/META-INF/MANIFEST.MF 2007-07-31 19:46:31 UTC (rev 2792)
@@ -8,16 +8,7 @@
Bundle-Vendor: %plugin.provider
Bundle-Localization: plugin
Export-Package: org.jboss.ide.eclipse.jdt.j2ee.ui,
- org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb,
- org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.fields,
- org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods,
- org.jboss.ide.eclipse.jdt.j2ee.ui.pages,
- org.jboss.ide.eclipse.jdt.j2ee.ui.wizards,
- org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb,
- org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.fields,
- org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.methods,
- org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.projects,
- org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web
+ org.jboss.ide.eclipse.jdt.j2ee.ui.pages
Require-Bundle: org.eclipse.ui.ide,
org.eclipse.ui.views,
org.eclipse.jface.text,
@@ -36,7 +27,5 @@
org.eclipse.debug.ui,
org.eclipse.debug.core,
org.jboss.ide.eclipse.jdt.j2ee.core,
- org.jboss.ide.eclipse.jdt.test.core,
- org.jboss.ide.eclipse.jdt.ws.core,
org.eclipse.core.runtime
Eclipse-AutoStart: true
Modified: trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/plugin.properties
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/plugin.properties 2007-07-31 19:45:41 UTC (rev 2791)
+++ trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/plugin.properties 2007-07-31 19:46:31 UTC (rev 2792)
@@ -1,9 +1,9 @@
plugin.name=JBoss Development J2EE UI Plug-in
plugin.provider=JBoss, a division of Red Hat
-org.jboss.ide.eclipse.jdt.core.classpath.j2ee-1.3=J2EE 1.3 Libraries (JBoss-IDE)
-org.jboss.ide.eclipse.jdt.core.classpath.j2ee-1.4=J2EE 1.4 Libraries (JBoss-IDE)
-org.jboss.ide.eclipse.jdt.core.classpath.wsi-1.0=WebServices 1.0 Libraries (JBoss-IDE)
+org.jboss.ide.eclipse.jdt.core.classpath.j2ee-1.3=J2EE 1.3 Libraries (JBossTools)
+org.jboss.ide.eclipse.jdt.core.classpath.j2ee-1.4=J2EE 1.4 Libraries (JBossTools)
+org.jboss.ide.eclipse.jdt.core.classpath.wsi-1.0=WebServices 1.0 Libraries (JBossTools)
org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.projects.J2EE13ProjectCreationWizard=J2EE 1.3 Project
org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.projects.J2EE14ProjectCreationWizard=J2EE 1.4 Project
Modified: trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/plugin.xml
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/plugin.xml 2007-07-31 19:45:41 UTC (rev 2791)
+++ trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.ui/plugin.xml 2007-07-31 19:46:31 UTC (rev 2792)
@@ -15,186 +15,5 @@
id="org.jboss.ide.eclipse.jdt.core.classpath.j2ee-1.4">
</classpathContainerPage>
</extension>
- <extension
- point="org.eclipse.ui.newWizards">
- <wizard
- name="%org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.projects.J2EE13ProjectCreationWizard"
- icon="icons/full/ctool16/newjprj_wiz.gif"
- category="org.jboss.ide.eclipse.ui.wizards/org.jboss.ide.eclipse.ui.wizards.projects"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.projects.J2EE13ProjectCreationWizard"
- project="true"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.projects.J2EE13ProjectCreationWizard">
- </wizard>
- <wizard
- name="%org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.projects.J2EE14ProjectCreationWizard"
- icon="icons/full/ctool16/newjprj_wiz.gif"
- category="org.jboss.ide.eclipse.ui.wizards/org.jboss.ide.eclipse.ui.wizards.projects"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.projects.J2EE14ProjectCreationWizard"
- project="true"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.projects.J2EE14ProjectCreationWizard">
- </wizard>
- </extension>
- <extension
- point="org.eclipse.ui.newWizards">
- <wizard
- name="%org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web.NewServletWizard"
- icon="icons/full/ctool16/newclass_wiz.gif"
- category="org.jboss.ide.eclipse.ui.wizards/org.jboss.ide.eclipse.ui.wizards.web"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web.NewServletWizard"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web.NewServletWizard">
- </wizard>
- <wizard
- name="%org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web.NewFilterWizard"
- icon="icons/full/ctool16/newclass_wiz.gif"
- category="org.jboss.ide.eclipse.ui.wizards/org.jboss.ide.eclipse.ui.wizards.web"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web.NewFilterWizard"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web.NewFilterWizard">
- </wizard>
- <wizard
- name="%org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web.NewJSPTagHandlerWizard"
- icon="icons/full/ctool16/newclass_wiz.gif"
- category="org.jboss.ide.eclipse.ui.wizards/org.jboss.ide.eclipse.ui.wizards.web"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web.NewJSPTagHandlerWizard"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.web.NewJSPTagHandlerWizard">
- </wizard>
- </extension>
- <extension
- point="org.eclipse.ui.newWizards">
- <wizard
- name="%org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewSessionEJBWizard"
- icon="icons/full/ctool16/newclass_wiz.gif"
- category="org.jboss.ide.eclipse.ui.wizards/org.jboss.ide.eclipse.ui.wizards.ejb"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewSessionEJBWizard"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewSessionEJBWizard">
- </wizard>
- <wizard
- name="%org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewEntityEJBWizard"
- icon="icons/full/ctool16/newclass_wiz.gif"
- category="org.jboss.ide.eclipse.ui.wizards/org.jboss.ide.eclipse.ui.wizards.ejb"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewEntityEJBWizard"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewEntityEJBWizard">
- </wizard>
- <wizard
- name="%org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewMessageDrivenEJBWizard"
- icon="icons/full/ctool16/newclass_wiz.gif"
- category="org.jboss.ide.eclipse.ui.wizards/org.jboss.ide.eclipse.ui.wizards.ejb"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewMessageDrivenEJBWizard"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewMessageDrivenEJBWizard">
- </wizard>
- <wizard
- name="%org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewEJBTestClientWizard"
- icon="icons/full/ctool16/newclass_wiz.gif"
- category="org.jboss.ide.eclipse.ui.wizards/org.jboss.ide.eclipse.ui.wizards.ejb"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewEJBTestClientWizard"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.wizards.ejb.NewEJBTestClientWizard">
- </wizard>
- </extension>
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- adaptable="true"
- objectClass="org.eclipse.jdt.core.IMember"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus.IMemberContributions">
- <menu
- label="%org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus"
- path="group.generate"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus">
- <separator
- name="fields">
- </separator>
- <separator
- name="methods">
- </separator>
- </menu>
- </objectContribution>
- </extension>
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- adaptable="true"
- objectClass="org.eclipse.jdt.core.IMember"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus.IMemberContributions">
- <action
- label="%org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.fields.AddCMPFieldAction"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.fields.AddCMPFieldAction"
- menubarPath="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus/fields"
- enablesFor="1"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.fields.AddCMPFieldAction">
- <enablement>
- <objectClass
- name="org.eclipse.jdt.core.IType">
- </objectClass>
- </enablement>
- </action>
- <action
- label="%org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.fields.AddCMRRelationshipAction"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.fields.AddCMRRelationshipAction"
- menubarPath="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus/fields"
- enablesFor="1"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.fields.AddCMRRelationshipAction">
- <enablement>
- <objectClass
- name="org.eclipse.jdt.core.IType">
- </objectClass>
- </enablement>
- </action>
- </objectContribution>
- </extension>
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- adaptable="true"
- objectClass="org.eclipse.jdt.core.IMember"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus.IMemberContributions">
- <action
- label="%org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddBusinessMethodAction"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddBusinessMethodAction"
- menubarPath="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus/methods"
- enablesFor="1"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddBusinessMethodAction">
- <enablement>
- <objectClass
- name="org.eclipse.jdt.core.IType">
- </objectClass>
- </enablement>
- </action>
- <action
- label="%org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddCreateMethodAction"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddCreateMethodAction"
- menubarPath="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus/methods"
- enablesFor="1"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddCreateMethodAction">
- <enablement>
- <objectClass
- name="org.eclipse.jdt.core.IType">
- </objectClass>
- </enablement>
- </action>
- <action
- label="%org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddHomeMethodAction"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddHomeMethodAction"
- menubarPath="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus/methods"
- enablesFor="1"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddHomeMethodAction">
- <enablement>
- <objectClass
- name="org.eclipse.jdt.core.IType">
- </objectClass>
- </enablement>
- </action>
- <action
- label="%org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddSelectMethodAction"
- class="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddSelectMethodAction"
- menubarPath="org.jboss.ide.eclipse.jdt.j2ee.ui.popupMenus/methods"
- enablesFor="1"
- id="org.jboss.ide.eclipse.jdt.j2ee.ui.actions.ejb.methods.AddSelectMethodAction">
- <enablement>
- <objectClass
- name="org.eclipse.jdt.core.IType">
- </objectClass>
- </enablement>
- </action>
- </objectContribution>
- </extension>
</plugin>
17 years, 5 months
JBoss Tools SVN: r2791 - in trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.core: src/main/org/jboss/ide/eclipse/jdt/j2ee/core and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-07-31 15:45:41 -0400 (Tue, 31 Jul 2007)
New Revision: 2791
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.core/META-INF/MANIFEST.MF
trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.core/src/main/org/jboss/ide/eclipse/jdt/j2ee/core/JDTJ2EECorePlugin.java
Log:
removed references to webservices/test plugins
Modified: trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.core/META-INF/MANIFEST.MF 2007-07-31 18:28:51 UTC (rev 2790)
+++ trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.core/META-INF/MANIFEST.MF 2007-07-31 19:45:41 UTC (rev 2791)
@@ -22,7 +22,5 @@
org.eclipse.jdt.core,
org.eclipse.jdt.ui,
org.jboss.ide.eclipse.jdt.core,
- org.jboss.ide.eclipse.jdt.test.core,
- org.jboss.ide.eclipse.jdt.ws.core,
org.eclipse.core.runtime
Eclipse-AutoStart: true
Modified: trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.core/src/main/org/jboss/ide/eclipse/jdt/j2ee/core/JDTJ2EECorePlugin.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.core/src/main/org/jboss/ide/eclipse/jdt/j2ee/core/JDTJ2EECorePlugin.java 2007-07-31 18:28:51 UTC (rev 2790)
+++ trunk/core/plugins/org.jboss.ide.eclipse.jdt.j2ee.core/src/main/org/jboss/ide/eclipse/jdt/j2ee/core/JDTJ2EECorePlugin.java 2007-07-31 19:45:41 UTC (rev 2791)
@@ -25,8 +25,6 @@
import org.jboss.ide.eclipse.jdt.core.classpath.ClassPathContainerRepository;
import org.jboss.ide.eclipse.jdt.j2ee.core.classpath.J2EE13ClasspathContainer;
import org.jboss.ide.eclipse.jdt.j2ee.core.classpath.J2EE14ClasspathContainer;
-import org.jboss.ide.eclipse.jdt.test.core.JDTTestCorePlugin;
-import org.jboss.ide.eclipse.jdt.ws.core.JDTWSCorePlugin;
import org.osgi.framework.BundleContext;
/**
@@ -63,9 +61,6 @@
ClassPathContainerRepository.getInstance().addClassPathEntry(J2EE13ClasspathContainer.CLASSPATH_CONTAINER);
ClassPathContainerRepository.getInstance().addClassPathEntry(J2EE14ClasspathContainer.CLASSPATH_CONTAINER);
- // Force the plugin load
- JDTTestCorePlugin.getDefault().getBaseDir();
- JDTWSCorePlugin.getDefault().getBaseDir();
}
/**
17 years, 5 months