JBoss Tools SVN: r31031 - in trunk/as: plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/management/as7/deployment and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-03 08:10:45 -0400 (Tue, 03 May 2011)
New Revision: 31031
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerState.java
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/management/as7/deployment/AS7Manager.java
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/management/as7/deployment/ModelDescriptionConstants.java
trunk/as/tests/org.jboss.ide.eclipse.as.management.as7.tests/src/org/jboss/ide/eclipse/as/management/as7/tests/AS7ManagerIntegrationTest.java
Log:
[JBIDE-8836] added capability to query the as7 for its state
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerState.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerState.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerState.java 2011-05-03 12:10:45 UTC (rev 31031)
@@ -0,0 +1,18 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.ide.eclipse.as.core.server.internal.v7;
+
+/**
+ * @author André Dietisheim
+ */
+public enum JBoss7ServerState {
+ STARTING, RUNNING, RESTART_REQUIRED;
+}
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerState.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/management/as7/deployment/AS7Manager.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/management/as7/deployment/AS7Manager.java 2011-05-03 11:19:31 UTC (rev 31030)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/management/as7/deployment/AS7Manager.java 2011-05-03 12:10:45 UTC (rev 31031)
@@ -14,9 +14,12 @@
import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.DEPLOYMENT;
import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.ENABLED;
import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.FAILURE_DESCRIPTION;
+import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.NAME;
import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.OP;
+import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.READ_ATTRIBUTE_OPERATION;
import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.READ_RESOURCE_OPERATION;
import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.RESULT;
+import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.SERVER_STATE;
import static org.jboss.ide.eclipse.as.management.as7.deployment.ModelDescriptionConstants.SHUTDOWN;
import java.io.EOFException;
@@ -38,6 +41,7 @@
import org.jboss.ide.eclipse.as.core.server.internal.v7.IJBoss7DeploymentResult;
import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7DeploymentState;
import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7ManangerException;
+import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7ServerState;
import org.jboss.ide.eclipse.as.management.as7.AS7Messages;
/**
@@ -153,6 +157,22 @@
quietlyExecute(request);
}
+ public JBoss7ServerState getServerState() throws JBoss7ManangerException {
+ ModelNode request = new ModelNode();
+ request.get(OP).set(READ_ATTRIBUTE_OPERATION);
+ request.get(NAME).set(SERVER_STATE);
+ ModelNode response = execute(request);
+ return toJBoss7ServerState(response);
+ }
+
+ private JBoss7ServerState toJBoss7ServerState(ModelNode response) throws JBoss7ManangerException {
+ try {
+ return JBoss7ServerState.valueOf(response.asString());
+ } catch (IllegalArgumentException e) {
+ throw new JBoss7ManangerException(e);
+ }
+ }
+
public void dispose() {
StreamUtils.safeClose(client);
}
@@ -185,7 +205,7 @@
}
private boolean isConnectionCloseException(Exception e) {
- return e instanceof IOException
+ return e instanceof IOException
&& e.getCause() instanceof ExecutionException
&& e.getCause().getCause() instanceof EOFException
&& e.getCause().getCause().getMessage().indexOf("Connection closed") > -1;
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/management/as7/deployment/ModelDescriptionConstants.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/management/as7/deployment/ModelDescriptionConstants.java 2011-05-03 11:19:31 UTC (rev 31030)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/management/as7/deployment/ModelDescriptionConstants.java 2011-05-03 12:10:45 UTC (rev 31031)
@@ -151,6 +151,7 @@
public static final String SERVER_GROUP = "server-group";
public static final String SERVER_GROUPS = "server-groups";
public static final String SERVER_OPERATIONS = "server-operations";
+ public static final String SERVER_STATE = "server-state";
public static final String SHUTDOWN = "shutdown";
public static final String SOCKET_BINDING = "socket-binding";
public static final String SOCKET_BINDING_GROUP = "socket-binding-group";
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.management.as7.tests/src/org/jboss/ide/eclipse/as/management/as7/tests/AS7ManagerIntegrationTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.management.as7.tests/src/org/jboss/ide/eclipse/as/management/as7/tests/AS7ManagerIntegrationTest.java 2011-05-03 11:19:31 UTC (rev 31030)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.management.as7.tests/src/org/jboss/ide/eclipse/as/management/as7/tests/AS7ManagerIntegrationTest.java 2011-05-03 12:10:45 UTC (rev 31031)
@@ -12,6 +12,7 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
+import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
@@ -24,6 +25,7 @@
import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7DeploymentState;
import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7ManangerException;
+import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7ServerState;
import org.jboss.ide.eclipse.as.management.as7.deployment.AS7Manager;
import org.junit.After;
import org.junit.Before;
@@ -160,11 +162,16 @@
}
@Test
+ public void canGetServerState() throws JBoss7ManangerException {
+ assertEquals(JBoss7ServerState.RUNNING, manager.getServerState());
+ }
+
+ @Test
public void canStopServer() throws JBoss7ManangerException, UnknownHostException, IOException {
- assertTrue(
- AS7ManagerTestUtils.isListening(AS7ManagerTestUtils.HOST, AS7Manager.MGMT_PORT));
manager.stopServer();
assertFalse(
AS7ManagerTestUtils.isListening(AS7ManagerTestUtils.HOST, AS7Manager.MGMT_PORT));
}
+
+
}
\ No newline at end of file
13 years, 6 months
JBoss Tools SVN: r31030 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-03 07:19:31 -0400 (Tue, 03 May 2011)
New Revision: 31030
Removed:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java
Log:
[JBIDE-8793] extracted methods to util class
Deleted: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java 2011-05-03 11:19:16 UTC (rev 31029)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java 2011-05-03 11:19:31 UTC (rev 31030)
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.ide.eclipse.as.core.server.internal.v7;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
-import org.eclipse.jdt.launching.IVMInstall;
-import org.eclipse.jdt.launching.JavaRuntime;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IServer;
-import org.jboss.ide.eclipse.as.core.server.IJBossServerRuntime;
-import org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossLaunchConfigType;
-import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants;
-
-public class JBossRuntimeLaunchConfigBuilder {
-
- private ILaunchConfigurationWorkingCopy launchConfig;
- private IJBossServerRuntime jbossRuntime;
-
- public JBossRuntimeLaunchConfigBuilder(ILaunchConfigurationWorkingCopy launchConfig, IJBossServerRuntime runtime) {
- this.launchConfig = launchConfig;
- this.jbossRuntime = runtime;
- }
-
- public JBossRuntimeLaunchConfigBuilder setVmContainer() {
- IVMInstall vmInstall = jbossRuntime.getVM();
- if (vmInstall != null) {
- setVmContainer(JavaRuntime.newJREContainerPath(vmInstall).toPortableString());
- }
- return this;
- }
-
- public JBossRuntimeLaunchConfigBuilder setVmContainer(String vmPath) {
- launchConfig.setAttribute(
- IJavaLaunchConfigurationConstants.ATTR_JRE_CONTAINER_PATH, vmPath);
- return this;
- }
-
- public JBossRuntimeLaunchConfigBuilder setDefaultArguments() {
- launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
- jbossRuntime.getDefaultRunArgs());
- launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS,
- jbossRuntime.getDefaultRunVMArgs());
- return this;
- }
-
- public JBossRuntimeLaunchConfigBuilder setClassPath(IServer server) throws CoreException {
- return setClassPath(JBoss7RuntimeClasspathUtil.getClasspath(server, jbossRuntime.getVM()));
- }
-
- public JBossRuntimeLaunchConfigBuilder setClassPath(List<String> entries) throws CoreException {
- launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH_PROVIDER,
- JBoss7ServerBehavior.DEFAULT_CP_PROVIDER_ID);
- launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH, entries);
- launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_DEFAULT_CLASSPATH, false);
- return this;
- }
-
- public JBossRuntimeLaunchConfigBuilder setMainType(String mainType) {
- launchConfig.setAttribute(
- IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, mainType);
- return this;
- }
-
- public JBossRuntimeLaunchConfigBuilder setWorkingDirectory(IRuntime runtime) {
- setWorkingDirectory(runtime.getLocation().append(IJBossRuntimeResourceConstants.BIN).toString());
- return this;
- }
-
- public JBossRuntimeLaunchConfigBuilder setWorkingDirectory(String directory) {
- launchConfig.setAttribute(
- IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY, directory);
- return this;
- }
-
- public void setServerId(IServer server) {
- launchConfig.setAttribute(AbstractJBossLaunchConfigType.SERVER_ID, server.getId());
- }
-}
13 years, 6 months
JBoss Tools SVN: r31029 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-03 07:19:16 -0400 (Tue, 03 May 2011)
New Revision: 31029
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeLaunchConfigBuilder.java
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerBehavior.java
Log:
[JBIDE-8793] extracted methods to util class
Copied: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeLaunchConfigBuilder.java (from rev 31028, trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java)
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeLaunchConfigBuilder.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeLaunchConfigBuilder.java 2011-05-03 11:19:16 UTC (rev 31029)
@@ -0,0 +1,90 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.ide.eclipse.as.core.server.internal.v7;
+
+import java.util.List;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
+import org.eclipse.jdt.launching.IVMInstall;
+import org.eclipse.jdt.launching.JavaRuntime;
+import org.eclipse.wst.server.core.IRuntime;
+import org.eclipse.wst.server.core.IServer;
+import org.jboss.ide.eclipse.as.core.server.IJBossServerRuntime;
+import org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossLaunchConfigType;
+import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants;
+
+public class JBoss7RuntimeLaunchConfigBuilder {
+
+ private ILaunchConfigurationWorkingCopy launchConfig;
+ private IJBossServerRuntime jbossRuntime;
+
+ public JBoss7RuntimeLaunchConfigBuilder(ILaunchConfigurationWorkingCopy launchConfig, IJBossServerRuntime runtime) {
+ this.launchConfig = launchConfig;
+ this.jbossRuntime = runtime;
+ }
+
+ public JBoss7RuntimeLaunchConfigBuilder setVmContainer() {
+ IVMInstall vmInstall = jbossRuntime.getVM();
+ if (vmInstall != null) {
+ setVmContainer(JavaRuntime.newJREContainerPath(vmInstall).toPortableString());
+ }
+ return this;
+ }
+
+ public JBoss7RuntimeLaunchConfigBuilder setVmContainer(String vmPath) {
+ launchConfig.setAttribute(
+ IJavaLaunchConfigurationConstants.ATTR_JRE_CONTAINER_PATH, vmPath);
+ return this;
+ }
+
+ public JBoss7RuntimeLaunchConfigBuilder setDefaultArguments() {
+ launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
+ jbossRuntime.getDefaultRunArgs());
+ launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS,
+ jbossRuntime.getDefaultRunVMArgs());
+ return this;
+ }
+
+ public JBoss7RuntimeLaunchConfigBuilder setClassPath(IServer server) throws CoreException {
+ return setClassPath(JBoss7RuntimeClasspathUtil.getClasspath(server, jbossRuntime.getVM()));
+ }
+
+ public JBoss7RuntimeLaunchConfigBuilder setClassPath(List<String> entries) throws CoreException {
+ launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH_PROVIDER,
+ JBoss7ServerBehavior.DEFAULT_CP_PROVIDER_ID);
+ launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH, entries);
+ launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_DEFAULT_CLASSPATH, false);
+ return this;
+ }
+
+ public JBoss7RuntimeLaunchConfigBuilder setMainType(String mainType) {
+ launchConfig.setAttribute(
+ IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, mainType);
+ return this;
+ }
+
+ public JBoss7RuntimeLaunchConfigBuilder setWorkingDirectory(IRuntime runtime) {
+ setWorkingDirectory(runtime.getLocation().append(IJBossRuntimeResourceConstants.BIN).toString());
+ return this;
+ }
+
+ public JBoss7RuntimeLaunchConfigBuilder setWorkingDirectory(String directory) {
+ launchConfig.setAttribute(
+ IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY, directory);
+ return this;
+ }
+
+ public void setServerId(IServer server) {
+ launchConfig.setAttribute(AbstractJBossLaunchConfigType.SERVER_ID, server.getId());
+ }
+}
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeLaunchConfigBuilder.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerBehavior.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerBehavior.java 2011-05-03 11:18:20 UTC (rev 31028)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerBehavior.java 2011-05-03 11:19:16 UTC (rev 31029)
@@ -74,7 +74,7 @@
IRuntime runtime = server.getRuntime();
IJBossServerRuntime serverRuntime =
(IJBossServerRuntime) runtime.loadAdapter(LocalJBoss7ServerRuntime.class, null);
- new JBossRuntimeLaunchConfigBuilder(launchConfig, serverRuntime)
+ new JBoss7RuntimeLaunchConfigBuilder(launchConfig, serverRuntime)
.setVmContainer()
.setClassPath(server)
.setDefaultArguments()
13 years, 6 months
JBoss Tools SVN: r31028 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-03 07:18:20 -0400 (Tue, 03 May 2011)
New Revision: 31028
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java
Log:
[JBIDE-8793] extracted methods to util class
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java 2011-05-03 11:14:55 UTC (rev 31027)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java 2011-05-03 11:18:20 UTC (rev 31028)
@@ -36,12 +36,17 @@
public JBossRuntimeLaunchConfigBuilder setVmContainer() {
IVMInstall vmInstall = jbossRuntime.getVM();
if (vmInstall != null) {
- launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_JRE_CONTAINER_PATH,
- JavaRuntime.newJREContainerPath(vmInstall).toPortableString());
+ setVmContainer(JavaRuntime.newJREContainerPath(vmInstall).toPortableString());
}
return this;
}
+ public JBossRuntimeLaunchConfigBuilder setVmContainer(String vmPath) {
+ launchConfig.setAttribute(
+ IJavaLaunchConfigurationConstants.ATTR_JRE_CONTAINER_PATH, vmPath);
+ return this;
+ }
+
public JBossRuntimeLaunchConfigBuilder setDefaultArguments() {
launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
jbossRuntime.getDefaultRunArgs());
@@ -69,8 +74,7 @@
}
public JBossRuntimeLaunchConfigBuilder setWorkingDirectory(IRuntime runtime) {
- setWorkingDirectory(
- runtime.getLocation().append(IJBossRuntimeResourceConstants.BIN).toString());
+ setWorkingDirectory(runtime.getLocation().append(IJBossRuntimeResourceConstants.BIN).toString());
return this;
}
13 years, 6 months
JBoss Tools SVN: r31027 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-03 07:14:55 -0400 (Tue, 03 May 2011)
New Revision: 31027
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java
Log:
[JBIDE-8793] extracted methods to util class
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java 2011-05-03 10:58:16 UTC (rev 31026)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java 2011-05-03 11:14:55 UTC (rev 31027)
@@ -13,7 +13,6 @@
import java.util.List;
import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
import org.eclipse.jdt.launching.IVMInstall;
@@ -70,12 +69,17 @@
}
public JBossRuntimeLaunchConfigBuilder setWorkingDirectory(IRuntime runtime) {
- IPath location = runtime.getLocation();
- launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
- location.append(IJBossRuntimeResourceConstants.BIN).toString());
+ setWorkingDirectory(
+ runtime.getLocation().append(IJBossRuntimeResourceConstants.BIN).toString());
return this;
}
+ public JBossRuntimeLaunchConfigBuilder setWorkingDirectory(String directory) {
+ launchConfig.setAttribute(
+ IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY, directory);
+ return this;
+ }
+
public void setServerId(IServer server) {
launchConfig.setAttribute(AbstractJBossLaunchConfigType.SERVER_ID, server.getId());
}
13 years, 6 months
JBoss Tools SVN: r31026 - trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-03 06:58:16 -0400 (Tue, 03 May 2011)
New Revision: 31026
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java
Log:
corrected warning
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java 2011-05-03 10:11:56 UTC (rev 31025)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java 2011-05-03 10:58:16 UTC (rev 31026)
@@ -27,23 +27,15 @@
import org.eclipse.swt.widgets.Display;
import org.eclipse.wst.server.core.IModule;
import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IRuntimeType;
-import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.IServer.IOperationListener;
-import org.eclipse.wst.server.core.IServerType;
import org.eclipse.wst.server.core.IServerWorkingCopy;
import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.ServerUtil;
-import org.eclipse.wst.server.core.internal.RuntimeWorkingCopy;
-import org.eclipse.wst.server.core.internal.ServerWorkingCopy;
import org.jboss.ide.eclipse.as.core.extensions.polling.ProcessTerminatedPoller.IProcessProvider;
import org.jboss.ide.eclipse.as.core.server.IDeployableServer;
-import org.jboss.ide.eclipse.as.core.server.IJBossServerRuntime;
import org.jboss.ide.eclipse.as.core.server.internal.DeployableServer;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServerBehavior;
import org.jboss.ide.eclipse.as.core.server.internal.ServerAttributeHelper;
-import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7Server;
import org.jboss.ide.eclipse.as.core.util.FileUtil;
import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
import org.jboss.ide.eclipse.as.core.util.ServerConverter;
@@ -108,7 +100,7 @@
public static IServer createMockJBoss7Server(String deployLocation, String tempDeployLocation) throws CoreException {
IServer s = ServerCreationUtils.createServer(IJBossToolingConstants.AS_70, IJBossToolingConstants.SERVER_AS_70,
"/", "default");
- ServerWorkingCopy swc = (ServerWorkingCopy) s.createWorkingCopy();
+ IServerWorkingCopy swc = s.createWorkingCopy();
swc.setServerConfiguration(null);
swc.setAttribute(DeployableServer.DEPLOY_DIRECTORY, deployLocation);
swc.setAttribute(DeployableServer.TEMP_DEPLOY_DIRECTORY, tempDeployLocation);
13 years, 6 months
JBoss Tools SVN: r31025 - in trunk: seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2011-05-03 06:11:56 -0400 (Tue, 03 May 2011)
New Revision: 31025
Added:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/parts/SWTBotRadioExt.java
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/AbstractSeamTestBase.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/DeleteSeamProjects.java
Log:
Fixes for JBDS 4.1.0.M1
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/AbstractSeamTestBase.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/AbstractSeamTestBase.java 2011-05-03 09:28:57 UTC (rev 31024)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/AbstractSeamTestBase.java 2011-05-03 10:11:56 UTC (rev 31025)
@@ -1,21 +1,13 @@
package org.jboss.tools.seam.ui.bot.test;
-import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.waits.Conditions;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotCLabel;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotLabel;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
-import org.jboss.tools.ui.bot.ext.SWTBotExt;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.jboss.tools.ui.bot.ext.Timing;
import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
-import org.jboss.tools.ui.bot.ext.view.ProjectExplorer;
-import org.jboss.tools.ui.bot.test.JBTSWTBotTestCase;
-import org.jboss.tools.ui.bot.test.SWTJBTBot;
-import org.junit.BeforeClass;
public abstract class AbstractSeamTestBase extends SWTTestExt {
@@ -53,7 +45,7 @@
SWTBot viewBot = bot.activeView().bot();
- SWTBotTreeItem suiteItem = projectExplorer.selectTreeItem("Seam" + unitType + "Test.java", new String[] {
+ projectExplorer.selectTreeItem("Seam" + unitType + "Test.java", new String[] {
testProjectName + type + "-test",
"test-src",
getTestPackageName(type)
@@ -61,11 +53,10 @@
ContextMenuHelper.clickContextMenu(viewBot.tree(), "Run As", "2 TestNG Test");
SWTTestExt.util.waitForNonIgnoredJobs(120000);
-
- SWTBotView ngView = bot.viewByTitle("Results of running test class");
+ SWTBotView ngView = bot.viewByTitle("Results of running class Seam" + unitType + "Test");
+ bot.sleep(Timing.time20S());
SWTBot ngBot = ngView.bot();
int k = 0;
- util.displayAllBotWidgets(ngBot);
SWTBotCLabel l = ngBot.clabel(k);
int passed = -1;
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java 2011-05-03 09:28:57 UTC (rev 31024)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java 2011-05-03 10:11:56 UTC (rev 31025)
@@ -25,6 +25,7 @@
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
import org.jboss.tools.ui.bot.ext.parts.SWTBotBrowserExt;
+import org.jboss.tools.ui.bot.ext.parts.SWTBotRadioExt;
import org.jboss.tools.ui.bot.ext.view.ProblemsView;
import org.jboss.tools.ui.bot.test.SWTJBTBot;
import org.junit.Test;
@@ -87,7 +88,7 @@
bot.button("Next >").click();
bot.button("Next >").click();
bot.comboBoxWithLabel("Seam Runtime:").setSelection(SWTTestExt.configuredState.getSeam().name);
- bot.radio(type).click();
+ new SWTBotRadioExt(bot.radio(type).widget).clickWithoutDeselectionEvent();
bot.comboBoxWithLabel("Connection profile:").setSelection(CONN_PROFILE);
SWTBotShell seamPrjShell = bot.activeShell();
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/DeleteSeamProjects.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/DeleteSeamProjects.java 2011-05-03 09:28:57 UTC (rev 31024)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/DeleteSeamProjects.java 2011-05-03 10:11:56 UTC (rev 31025)
@@ -1,14 +1,10 @@
package org.jboss.tools.seam.ui.bot.test.create;
-import java.util.Properties;
-
import org.jboss.tools.seam.ui.bot.test.AbstractSeamTestBase;
import org.jboss.tools.seam.ui.bot.test.EARTests;
import org.jboss.tools.seam.ui.bot.test.TestControl;
import org.jboss.tools.seam.ui.bot.test.WARTests;
import org.jboss.tools.ui.bot.ext.SWTJBTExt;
-import org.jboss.tools.ui.bot.ext.SWTUtilExt;
-import org.jboss.tools.ui.bot.test.SWTJBTBot;
import org.junit.Test;
import org.junit.experimental.categories.Category;
Added: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/parts/SWTBotRadioExt.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/parts/SWTBotRadioExt.java (rev 0)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/parts/SWTBotRadioExt.java 2011-05-03 10:11:56 UTC (rev 31025)
@@ -0,0 +1,89 @@
+ /*******************************************************************************
+ * Copyright (c) 2007-2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.ui.bot.ext.parts;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
+import org.eclipse.swtbot.swt.finder.results.BoolResult;
+import org.eclipse.swtbot.swt.finder.results.VoidResult;
+import org.eclipse.swtbot.swt.finder.utils.MessageFormat;
+import org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotRadio;
+/**
+ * SWTBot Radio Button component
+ * @author vpakan
+ *
+ */
+public class SWTBotRadioExt extends AbstractSWTBotControl<Button> {
+
+ private SWTBotRadio botRadio = null;
+
+ public SWTBotRadioExt(Button radioButton) throws WidgetNotFoundException {
+ super(radioButton);
+ this.botRadio = new SWTBotRadio(radioButton);
+ }
+
+ /**
+ * Return the current value of the slider.
+ *
+ * @return the current selection in the slider.
+ */
+ public boolean getSelection() {
+ return syncExec(new BoolResult() {
+ public Boolean run() {
+ return widget.getSelection();
+ }
+ });
+ }
+
+ /**
+ * Set the selection to the specified value.
+ *
+ * @param value the value to set into the slider.
+ */
+ public void setSelection(final boolean value) {
+ log.debug(MessageFormat.format("Setting selection on {0} to {1}", this, value)); //$NON-NLS-1$
+ waitForEnabled();
+ asyncExec(new VoidResult() {
+ public void run() {
+ widget.setSelection(value);
+ }
+ });
+ notify(SWT.Selection);
+ log.debug(MessageFormat.format("Set selection on {0} to {1}", this, value)); //$NON-NLS-1$
+ }
+
+ /**
+ * Clicks on the radio button without firing deselection event for previously selected radio button.
+ */
+ public SWTBotRadio clickWithoutDeselectionEvent() {
+ if (botRadio.isSelected()) {
+ log.debug(MessageFormat.format("Widget {0} is already selected, not clicking again.", this)); //$NON-NLS-1$
+ return botRadio;
+ }
+ waitForEnabled();
+
+ log.debug(MessageFormat.format("Clicking on {0}", this)); //$NON-NLS-1$
+
+ notify(SWT.Activate);
+ notify(SWT.MouseDown, createMouseEvent(0, 0, 1, 0, 1));
+ notify(SWT.MouseUp, createMouseEvent(0, 0, 1, SWT.BUTTON1, 1));
+ asyncExec(new VoidResult() {
+ public void run() {
+ widget.setSelection(true);
+ }
+ });
+ notify(SWT.Selection);
+ log.debug(MessageFormat.format("Clicked on {0}", this)); //$NON-NLS-1$
+ return botRadio;
+ }
+}
Property changes on: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/parts/SWTBotRadioExt.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 6 months
JBoss Tools SVN: r31024 - in trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core: server/internal/v7 and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-03 05:28:57 -0400 (Tue, 03 May 2011)
New Revision: 31024
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeClasspathUtil.java
Removed:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeClasspathUtil.java
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java
Log:
[JBIDE-8793] corrected warning due to usage of internal jdt classes
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java 2011-05-03 03:18:21 UTC (rev 31023)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java 2011-05-03 09:28:57 UTC (rev 31024)
@@ -46,7 +46,7 @@
import org.jboss.ide.eclipse.as.core.server.internal.LocalJBossBehaviorDelegate;
import org.jboss.ide.eclipse.as.core.server.internal.launch.JBossServerStartupLaunchConfiguration.IStartLaunchSetupParticipant;
import org.jboss.ide.eclipse.as.core.server.internal.launch.JBossServerStartupLaunchConfiguration.StartLaunchDelegate;
-import org.jboss.ide.eclipse.as.core.server.internal.v7.JBossRuntimeClasspathUtil;
+import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7RuntimeClasspathUtil;
import org.jboss.ide.eclipse.as.core.util.ArgsUtil;
import org.jboss.ide.eclipse.as.core.util.IConstants;
import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeConstants;
@@ -226,12 +226,11 @@
ArrayList<String> runtimeClassPaths = AbstractJBossLaunchConfigType.convertClasspath(classpath);
return runtimeClassPaths;
-
}
protected static IRuntimeClasspathEntry getRunJarRuntimeCPEntry(IServer server) throws CoreException {
if (server.getServerType().getId().endsWith("70")) { //$NON-NLS-1$
- return JBossRuntimeClasspathUtil.getModulesClasspathEntry(server);
+ return JBoss7RuntimeClasspathUtil.getModulesClasspathEntry(server);
} else {
IPath containerPath = new Path(RunJarContainerWrapper.ID).append(server.getName());
return JavaRuntime.newRuntimeContainerClasspathEntry(containerPath, IRuntimeClasspathEntry.USER_CLASSES);
Copied: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeClasspathUtil.java (from rev 31023, trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeClasspathUtil.java)
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeClasspathUtil.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeClasspathUtil.java 2011-05-03 09:28:57 UTC (rev 31024)
@@ -0,0 +1,40 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.ide.eclipse.as.core.server.internal.v7;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
+import org.eclipse.jdt.launching.IVMInstall;
+import org.eclipse.jdt.launching.JavaRuntime;
+import org.eclipse.wst.server.core.IServer;
+import org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossLaunchConfigType;
+import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants;
+
+public class JBoss7RuntimeClasspathUtil {
+
+ public static List<String> getClasspath(IServer server, IVMInstall vmInstall) throws CoreException {
+ List<IRuntimeClasspathEntry> classpath = new ArrayList<IRuntimeClasspathEntry>();
+ classpath.add(getModulesClasspathEntry(server));
+ AbstractJBossLaunchConfigType.addJREEntry(classpath, vmInstall);
+ List<String> runtimeClassPaths = AbstractJBossLaunchConfigType.convertClasspath(classpath);
+ return runtimeClassPaths;
+ }
+
+ public static IRuntimeClasspathEntry getModulesClasspathEntry(IServer server) throws CoreException {
+ IPath runtimeLocation = server.getRuntime().getLocation();
+ IPath modulesLocation = runtimeLocation.append(IJBossRuntimeResourceConstants.JBOSS_MODULES_JAR);
+ return JavaRuntime.newArchiveRuntimeClasspathEntry(modulesLocation);
+ }
+}
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7RuntimeClasspathUtil.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Deleted: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeClasspathUtil.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeClasspathUtil.java 2011-05-03 03:18:21 UTC (rev 31023)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeClasspathUtil.java 2011-05-03 09:28:57 UTC (rev 31024)
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.ide.eclipse.as.core.server.internal.v7;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.internal.launching.RuntimeClasspathEntry;
-import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
-import org.eclipse.jdt.launching.IVMInstall;
-import org.eclipse.jdt.launching.JavaRuntime;
-import org.eclipse.wst.server.core.IServer;
-import org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossLaunchConfigType;
-
-public class JBossRuntimeClasspathUtil {
-
- private static final String JBOSS_MODULES_JAR = "jboss-modules.jar"; //$NON-NLS-1$
-
- public static List<String> getClasspath(IServer server, IVMInstall vmInstall) throws CoreException {
- List<IRuntimeClasspathEntry> classpath = new ArrayList<IRuntimeClasspathEntry>();
- classpath.add(getModulesClasspathEntry(server));
- AbstractJBossLaunchConfigType.addJREEntry(classpath, vmInstall);
- List<String> runtimeClassPaths = AbstractJBossLaunchConfigType.convertClasspath(classpath);
- return runtimeClassPaths;
- }
-
- public static IRuntimeClasspathEntry getModulesClasspathEntry(IServer server) throws CoreException {
- IPath runtimeLocation = server.getRuntime().getLocation();
- IPath modulesLocation = runtimeLocation.append(JBOSS_MODULES_JAR);
- IClasspathEntry entry =
- JavaRuntime.newArchiveRuntimeClasspathEntry(modulesLocation).getClasspathEntry();
- return new RuntimeClasspathEntry(entry);
- }
-
-}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java 2011-05-03 03:18:21 UTC (rev 31023)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBossRuntimeLaunchConfigBuilder.java 2011-05-03 09:28:57 UTC (rev 31024)
@@ -52,7 +52,7 @@
}
public JBossRuntimeLaunchConfigBuilder setClassPath(IServer server) throws CoreException {
- return setClassPath(JBossRuntimeClasspathUtil.getClasspath(server, jbossRuntime.getVM()));
+ return setClassPath(JBoss7RuntimeClasspathUtil.getClasspath(server, jbossRuntime.getVM()));
}
public JBossRuntimeLaunchConfigBuilder setClassPath(List<String> entries) throws CoreException {
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java 2011-05-03 03:18:21 UTC (rev 31023)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java 2011-05-03 09:28:57 UTC (rev 31024)
@@ -11,6 +11,7 @@
package org.jboss.ide.eclipse.as.core.util;
public interface IJBossRuntimeResourceConstants {
+
/* Files and folders that are in various JBoss installations */
public static final String SERVER = "server"; //$NON-NLS-1$
public static final String BIN = "bin"; //$NON-NLS-1$
@@ -38,8 +39,8 @@
public static final String SHUTDOWN_SH = "shutdown.sh"; //$NON-NLS-1$
public static final String START_JAR = "run.jar"; //$NON-NLS-1$
public static final String TOOLS_JAR = "tools.jar"; //$NON-NLS-1$
+ public static final String JBOSS_MODULES_JAR = "jboss-modules.jar"; //$NON-NLS-1$
-
public static final String JSF_LIB = "jsf-libs"; //$NON-NLS-1$
public static final String JBOSSWEB_TOMCAT55_SAR = "jbossweb-tomcat55.sar"; //$NON-NLS-1$
public static final String JBOSSWEB_SAR = "jbossweb.sar"; //$NON-NLS-1$
13 years, 6 months
JBoss Tools SVN: r31023 - branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-05-02 23:18:21 -0400 (Mon, 02 May 2011)
New Revision: 31023
Removed:
branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/exceptions.txt
Log:
removing unnecessary file
Deleted: branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/exceptions.txt
===================================================================
--- branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/exceptions.txt 2011-05-03 00:39:37 UTC (rev 31022)
+++ branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/exceptions.txt 2011-05-03 03:18:21 UTC (rev 31023)
@@ -1,38 +0,0 @@
-JBIDE-6640 -> not in buglist but should be included in Release Notes
-
-Documented but without 'new_and_noteworthy' tag:
-
-NOTFOUND_JBIDE-6640
-
-Documented only for JBT release notes (comments in JBDS):
-
-NOTFOUND_JBIDE-7554
-NOTFOUND_JBIDE-7569
-NOTFOUND_JBIDE-7774
-NOTFOUND_JBIDE-7911
-NOTFOUND_JBIDE-7435
-NOTFOUND_JBIDE-7144
-NOTFOUND_JBIDE-7142
-NOTFOUND_JBIDE-7082
-NOTFOUND_JBIDE-7041
-NOTFOUND_JBIDE-7034
-NOTFOUND_JBIDE-6837
-NOTFOUND_JBIDE-6836
-NOTFOUND_JBIDE-6695
-NOTFOUND_JBIDE-6576
-NOTFOUND_JBIDE-6487
-NOTFOUND_JBIDE-6412
-NOTFOUND_JBIDE-6376
-NOTFOUND_JBIDE-6293
-NOTFOUND_JBIDE-5960
-
-Has 'new_and_noteworthy' tag but not documented as it is a sub-task of a JIRA already in the Release Notes:
-
-NOTFOUND_JBIDE-6575
-
-To quote Andre "Unfortunately this bug showed up again (is a regression) since the current version of the deltacloud tools does not offer this action for the "Cloud Viewer" any more."
-
-NOTFOUND_JBIDE-7761
-
-
-Still to be documented:
13 years, 6 months
JBoss Tools SVN: r31022 - in tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes: en-US and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-05-02 20:39:37 -0400 (Mon, 02 May 2011)
New Revision: 31022
Added:
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.ent
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.xml
Removed:
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.ent
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.xml
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/exceptions.txt
Modified:
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Revision_History.xml
tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/pom.xml
Log:
updated to the release notes released for JBDS 4.0
Added: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.ent
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.ent (rev 0)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.ent 2011-05-03 00:39:37 UTC (rev 31022)
@@ -0,0 +1,4 @@
+<!ENTITY PRODUCT "JBoss Developer Studio">
+<!ENTITY BOOKID "4.0.0_Release_Notes">
+<!ENTITY YEAR "2011">
+<!ENTITY HOLDER "Red Hat">
Property changes on: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.ent
___________________________________________________________________
Added: svn:executable
+ *
Added: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.xml
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.xml (rev 0)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.xml 2011-05-03 00:39:37 UTC (rev 31022)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<!-- This article will dsplay the release notes for version 4.0.0, and be found at http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/4.0/html-single/... -->
+
+<article>
+ <xi:include href="Article_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Component_Versions.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Fixed_Issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Known_Issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+</article>
Property changes on: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.xml
___________________________________________________________________
Added: svn:executable
+ *
Modified: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-05-03 00:39:37 UTC (rev 31022)
@@ -1,12 +1,14 @@
<?xml version='1.0' encoding='utf-8' ?>
+<!-- Modify the title tag to change which book will be built -->
+
<articleinfo>
- <title>Release Notes</title>
+ <title>4.0.0 Release Notes</title>
<subtitle>Information about the changes made for this release of the JBoss Developer Studio.</subtitle>
<productname>JBoss Developer Studio</productname>
<productnumber>4.0</productnumber>
<edition>0</edition>
- <pubsnumber>7</pubsnumber>
+ <pubsnumber>21</pubsnumber>
<abstract>
<para>
These release notes contain important information related to the JBoss Developer Studio. New features,<!-- known problems,--> resources, and other current issues are addressed here.
Modified: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml 2011-05-03 00:39:37 UTC (rev 31022)
@@ -12,7 +12,7 @@
</listitem>
<listitem>
<para>
- JBoss Tools 3.2.1
+ JBoss Tools 3.2.0
</para>
</listitem>
<listitem>
Modified: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml 2011-05-03 00:39:37 UTC (rev 31022)
@@ -1,13 +1,17 @@
<?xml version='1.0' encoding='utf-8' ?>
<section id="Issues-fixed-in-this-release">
<title>
- Features added and issues fixed in this release
+ Features added and issues fixed in version 4.0.0
</title>
<para>
- Following is a list of new and noteworthy features and bug fixes in this release:
+ The following list highlights new features that have been added to this release, as well as listing some notable bug fixes. You can find a complete list of bug fixes <ulink url="https://issues.jboss.org/browse/JBIDE">here</ulink>.
</para>
- <formalpara>
+ <!--
+
+ BIRT is no longer shipped with JBDS 4.0
+
+ <formalpara>
<title>BIRT</title>
<para>
<itemizedlist>
@@ -18,11 +22,21 @@
</listitem>
</itemizedlist>
</para>
- </formalpara>
+ </formalpara> -->
<formalpara>
<title>Contexts and Dependency Injection (CDI)</title>
<para>
- <itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBIDE-7796">JBIDE-7796</ulink>: Previously the CDI Bean XML schemas were accessed from the Internet by default. This could cause delays as the files were downloaded. Now the CDI Bean XML schemas are included in the <guilabel>XML Catalog</guilabel>. You can access the <guilabel>XML Catalog</guilabel> by selecting <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>XML</guimenuitem><guimenuitem>XML Catalog</guimenuitem></menuchoice>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBIDE-8124">JBIDE-8124</ulink>: The <guilabel>New CDI Bean</guilabel> wizard has been added to provide a convenient way to create new CDI Java classes with the <code>@Named</code>, <code>@Scope</code> and <code>@Qualifier</code> annotations. The wizard can be accessed by selecting <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>CDI (Context and Dependency Injection)</guimenuitem><guimenuitem>Bean</guimenuitem></menuchoice>.
+ </para>
+ </listitem>
<listitem>
<para>
<ulink url="https://issues.jboss.org/browse/JBIDE-7875">JBIDE-7875</ulink>: It is recommended that developers create an Annotation Literal class for every qualifier in their public API. However, writing these classes by hand can be time consuming. To address this the new <guilabel>Annotation Literal Type</guilabel> wizard provides a streamlined way to create these classes. This wizard can be accessed by selecting <menuchoice>
@@ -334,6 +348,11 @@
<title>Deltacloud</title>
<para>
<itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBIDE-7761">JBIDE-7761</ulink>: The <guimenuitem>Show in Remote System Explorer...</guimenuitem> option is now available in the <guilabel>Cloud Viewer<guilabel> context menu.
+ </para>
+ </listitem>
<listitem>
<para>
<ulink url="https://issues.jboss.org/browse/JBIDE-7186">JBIDE-7186</ulink>: Previously when publishing to a remote server the progress bar and percentage indicator provided insufficient information on the actions that were being undertaken during what could be a time consuming process. In this version the progress monitor now shows more detailed information such as the name of the individual file that is being uploaded or the name of the directory that is currently being created.
@@ -461,6 +480,8 @@
</itemizedlist>
</para>
</formalpara>
+ <!-- Google Web Toolkit is only shipped with JBoss.org
+
<formalpara>
<title>Google Web Toolkit</title>
<para>
@@ -503,7 +524,7 @@
</listitem>
</itemizedlist>
</para>
- </formalpara>
+ </formalpara> -->
<formalpara>
<title>Hibernate</title>
<para>
@@ -568,11 +589,12 @@
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-6473">JBIDE-6473</ulink>: A new Hibernate platform has been added called <emphasis>Hibernate JPA 2.0</emphasis>. This platform extends the base JPA 2.0 platform.
</para>
</listitem>
+ <!-- This issue was rolled back
<listitem>
<para>
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-6423">JBIDE-6423</ulink>: A new feature that allows for code generation to be run in external processes has been added. This new feature is accessed through the <guilabel>Hibernate Code Generation Configurations</guilabel> wizard in the form of a checkbox called <guilabel>Use generation in external process</guilabel>.
</para>
- </listitem>
+ </listitem> -->
<listitem>
<para>
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-6120">JBIDE-6120</ulink>: Superclass properties were not shown in code completion, within the <guilabel>HQLEditor</guilabel>. A new feature has been added for this release that enables superclass properties to appear when using code completion within the <guilabel>HQLEditor</guilabel>.
@@ -804,7 +826,13 @@
<title>JBoss Application Server</title>
<para>
<itemizedlist>
- <listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBIDE-7412">JBIDE-7412</ulink>: The Eclipse server editor has been modified to present only the relevant options in the <guilabel>Server Behaviour</guilabel> section, depending on the value selected in the combobox. When you select <guilabel>Local</guilabel> from the combobox, no additional options are presented in the <guilabel>Server Behaviour</guilabel> section. When you select <guilabel>Remote System Deployment</guilabel> from the combobox a number of options are made available in the <guilabel>Server Behaviour</guilabel> section. Selecting either <guilabel>Local</guilabel> or <guilabel>Remote System Deployment</guilabel> will also now enable or disable the appropriate options in the <guilabel>Deployment</guilabel> tab.
+ </para>
+ </listitem>
+
+ <listitem>
<para>
<ulink url="https://issues.jboss.org/browse/JBIDE-7019">JBIDE-7019</ulink>: A <guibutton>Test</guibutton> button has been added to the <guilabel>Server Behaviour</guilabel> section in the JBoss Application Server configuration Editor which will verify that:
<orderedlist>
@@ -883,7 +911,7 @@
<itemizedlist>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-"> </ulink>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>
</para>
</listitem>
</itemizedlist>
@@ -988,7 +1016,7 @@
<itemizedlist>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-"> </ulink>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>
</para>
</listitem>
</itemizedlist>
@@ -1000,7 +1028,7 @@
<itemizedlist>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-"> </ulink>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>
</para>
</listitem>
</itemizedlist>
@@ -1034,7 +1062,7 @@
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7034">JBIDE-7034</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-">JBIDE-</ulink>: New reporting fields were added to the usage plug-in for the gathering of user data. See the individual JIRAs for specific field details.
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7034">JBIDE-7034</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>: New reporting fields were added to the usage plug-in for the gathering of user data. See the individual JIRAs for specific field details.
</para>
</listitem>
<listitem>
@@ -1241,7 +1269,7 @@
<itemizedlist>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-"> </ulink>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>
</para>
</listitem>
</itemizedlist>
@@ -1263,8 +1291,70 @@
<title>General Issues</title>
<para>
<itemizedlist>
+ <listitem>
+ <para>
+ JBoss Developer Studio is certified to run on the following platforms:
+ <itemizedlist>
+ <listitem>
+ <para>Windows XP (i386 and x86_64) running 32-bit Sun JDK 6</para>
+ </listitem>
+ <listitem>
+ <para>Windows XP (i386 and x86_64) running 64-bit Sun JDK 6 (*)</para>
+ </listitem>
+ <listitem>
+ <para>MacOS X 10.6 running 32-bit Apple JDK 6</para>
+ </listitem>
+ <listitem>
+ <para>MacOS X 10.5 running 64-bit Apple JDK 6 (*)</para>
+ </listitem>
+ <listitem>
+ <para>RHEL5 i386 running 32-bit Sun JDK 6 and OpenJDK 6</para>
+ </listitem>
+ <listitem>
+ <para>RHEL5 x86_64 running 64-bit Sun JDK 6 and OpenJDK 6</para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <para> (*) The visual component of the Visual Page Editor is not supported in these configurations.</para>
+
+ <para>
+ The minimum requirements are:
+ <itemizedlist>
+ <listitem>
+ <para>1 GB RAM</para>
+ </listitem>
+ <listitem>
+ <para>450 MB of hard disk space for the non-EAP version</para>
+ </listitem>
+ <listitem>
+ <para>800 MB of hard disk space for the EAP version</para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ The recommended requirements are:
+ <itemizedlist>
+ <listitem>
+ <para>4 GB RAM</para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/TOOLSDOC-134">TOOLSDOC-134</ulink>: Common typographical conventions that were listed at the beginning of each JBoss Developer Studio book have been moved into a seperate book called Document Conventions. JBoss Developer Studio books now link to the Document Conventions book in their preface.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBIDE-7527">JBIDE-7527</ulink>: The the new JBoss Tools Runtime Detection feature provides a way for JBoss runtime components such as jBPM, Drools, JBoss Server and Seam to be discovered when a workspace is created or when Eclipse is started. These runtime components can be found within a user definable list of directories, which can be defined in <menuchoice><guimenuitem>Preferences</guimenuitem><guimenuitem>JBoss Tools</guimenuitem><guimenuitem>JBoss Tools Runtime Detection</guimenuitem></menuchoice>.
+ </para>
+ </listitem>
- <listitem>
+ <listitem>
<para>
<ulink url="https://issues.jboss.org/browse/JBDS-1150">JBDS-1150</ulink>: The Java Virtual Machine used by the JBoss Developer Studio installer will also be used as the default VM for JBDS. This can casuse problems if a 64 bit Java VM is used to install a 32 bit JBDS distribution, as the two are incompatible. This can be fixed by editing the <filename>eclipse.ini</filename> file and modifying the <property>vm</property> argument, or by using the appropiate Java VM when installing JBDS.
</para>
Modified: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2011-05-03 00:39:37 UTC (rev 31022)
@@ -1,17 +1,72 @@
<?xml version='1.0' encoding='utf-8' ?>
<section id="Known_Issues_with_this_release">
- <title>
- Known Issues with this release
+ <title>
+ Known Issues in version 4.0.0
</title>
- <para>
+ <para>
Following is a list of known issues at the time of release.
</para>
- <formalpara>
- <title>General Known Issues</title>
- <para>
- <itemizedlist>
-
- </itemizedlist>
- </para>
- </formalpara>
+ <formalpara>
+ <title>General Known Issues</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1273">JBDS-1273</ulink>: Smooks Editor does not support mapping to Virtual Models.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1548">JBDS-1548</ulink>: JavaDoc and source locations can not be specified for a Drools classpath container.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1554">JBDS-1554</ulink>: The new project wizards do not display their associated Eclipse perspective. The workaround is to manually display the appropriate perspective by selecting <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open Perspective</guimenuitem></menuchoice>. The following is a list of project types and their matching persepctives:
+ <itemizedlist>
+ <listitem>
+ <para>JSF Project: Web Development</para>
+ </listitem>
+ <listitem>
+ <para>Struts Project: Web Development</para>
+ </listitem>
+ <listitem>
+ <para>Seam Web Project: Seam or Web Development</para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1528">JBDS-1528</ulink>: The JBDS uninstaller under Windows XP can leave some files behind.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1226">JBDS-1226</ulink>: The installation progress monitor incorrectly displays <guilabel>2 / 2</guilabel> when not adding a server, even though the installation is only 50% complete.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1230">JBDS-1230</ulink>: No icon is placed in the system <menuchoice><guimenuitem>Applications</guimenuitem><guimenuitem>Programming Tools</guimenuitem></menuchoice> menu when JBDS is installed under RHEL 5.4 until the system is rebooted.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1266">JBDS-1266</ulink>: The credentials used when testing the jBPM deployment process are cached, and are used in place of any additional credentials that are specified.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1519">JBDS-1519</ulink>: The "Could not initialize NSS" error is generated by the Visual Editor.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1509">JBDS-1509</ulink>: JBDS thread can get caught in a loop when interacting with the new connection profile process.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
</section>
Modified: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml 2011-05-03 00:39:37 UTC (rev 31022)
@@ -1,85 +1,98 @@
<?xml version='1.0' encoding='utf-8' ?>
<section id="Overview">
<title>Overview</title>
+ <para>
+ JBoss Developer Studio 4 (JBDS4) is a major release of the Eclipse based IDE developed and supported by Red Hat (the visual tooling components are supported for 3 years, and the runtime platform for 5 years). The IDE, which is available for Windows, Linux and OS X, provides tooling that allows for rapid Web 2.0 application development on the JBoss Enterprise Application Platform. This release also introduces additional support for SOA application development with JBoss Enterprise SOA Platform.
+ </para>
<para>
- JBoss Developer Studio provides an integrated development environment for developers to build rich Web and enterprise applications, and SOA services. The technologies used include:
+ JBDS4 includes many new features including:
</para>
<itemizedlist>
<listitem>
- <para>
- BIRT
- </para>
+ <para>
+ <emphasis role="bold">Improved Eclipse Integration:</emphasis> The installed IDE is now a native Eclipse application, which results in a more streamlined installation and update process, and a smaller download size since unused plugins are no longer included. In addition, the IDE is now based on Eclipse 3.6 (Helios), which is the latest stable release provided by the Eclipse Foundation.
+ </para>
</listitem>
<listitem>
- <para>
- Contexts and Dependency Injection (CDI)
- </para>
+ <para>
+ <emphasis role="bold">Improved Java Performance:</emphasis> The IDE now targets Java 6, resulting in increased performance and reduced memory usage. However, users can still target runtimes relying on different versions of Java as long as they have the matching Java runtime configured in the Java SDK preferences section.
+ </para>
</listitem>
<listitem>
<para>
- Hibernate
+ <emphasis role="bold">New Hibernate Tools Features:</emphasis> Code generation settings can now be exported to an Ant build.xml file, providing a means to run them from the command line or to be included in your own build scripts. The JPA tooling supports both JPA 1 and JPA 2.
</para>
</listitem>
<listitem>
- <para>
- JavaServer Faces (JSF)
- </para>
+ <para>
+ <emphasis role="bold">Additional Visual Page Editing Compatibility:</emphasis> The Visual Page Editor is now configured so it can be installed and used on platforms where XULRunner is not available (i.e. older OS X versions). While this does remove the "Visual" part of the editor, you still benefit from the code completion, navigation and validation features.
+ </para>
</listitem>
<listitem>
- <para>
- JBoss Drools
- </para>
+ <para>
+ <emphasis role="bold">Improved Internationalization:</emphasis> There is now an Externalize Strings action available to help you implement internationalization(i18n) in your XHTML pages.
+ </para>
</listitem>
<listitem>
- <para>
- JBoss ESB
- </para>
+ <para>
+ <emphasis role="bold">New DocBook Support:</emphasis> The editor now supports visual Docbook editing.
+ </para>
</listitem>
<listitem>
<para>
- JBoss jBPM
+ <emphasis role="bold">Spring Support:</emphasis> Support for the Spring tag libraries have been added.
</para>
</listitem>
<listitem>
<para>
- JBoss Portal
+ <emphasis role="bold">Improved JSF and JSTL Support:</emphasis> Additional code completion, validation and refactoring support has been included for JSF and Seam managed beans. JSF and JSTL tag libraries are also now loaded from users classpath to provide code completion and validation for the exact version being used in the project.
</para>
</listitem>
<listitem>
- <para>
- JBoss Seam
- </para>
+ <para>
+ <emphasis role="bold">Additional Seam Features:</emphasis> Additional validation and refactoring features have been included.
+ </para>
</listitem>
<listitem>
<para>
- ModeShape
+ <emphasis role="bold">Additional ESB Features:</emphasis> The latest ESB version is now added as a supported version, the ESB editor has additional shortcuts for configuring action and handlers, and JBDS now supports ESB annotation in the Annotation editor.
</para>
</listitem>
<listitem>
- <para>
- RichFaces
- </para>
+ <para>
+ <emphasis role="bold">Improved JBoss Server Deployment and Configuration:</emphasis> The JBoss server adapter now has support for remote deployment via SSH and SCP, and the server adapter can publish individual files as well as individual folders.
+ </para>
+ <para>
+ A new JBoss Tools Runtimes preference page is available that allows you to configure any server runtime found in a list of directories. This removes the need to manually configuring them all.
+ </para>
</listitem>
<listitem>
- <para>
- Smooks
- </para>
+ <para>
+ <emphasis role="bold">Simplified Web Services Creation and Testing:</emphasis> New simplified Wizards are provided for creating JAX-WS and JAX-RS Web services, while a new Webservice Tester View has been provided to test SOAP and HTTP based webservices.
+ </para>
</listitem>
<listitem>
<para>
- Teiid
+ <emphasis role="bold">New Teiid Support:</emphasis> The Teiid Designer has been added to this release of JBDS. The Teiid Designer is a graphical data modeling tool that enables rapid definition, integration, management and testing of data services without programming using the Teiid runtime engine.
</para>
</listitem>
<listitem>
- <para>
- Web Services
- </para>
+ <para>
+ <emphasis role="bold">New Modeshape Support:</emphasis> Modeshape tooling has been provided to allow users to browse, checkin and checkout of Modeshape servers.
+ </para>
</listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">Technical Previews:</emphasis> A Technical preview of CDI and JSF 2 (including composite components, code completions and validations) tooling is included, along with a JBoss AS 6 compatible server adapter. Technical previews of Servlet 3, Richfaces 4 and BPEL are also available.
+ </para>
+ <para>
+ Information on how to access the tech previews can be found in the <ulink url="http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/4.0/html-single/...">Getting Started Guide</ulink>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">And More:</emphasis> JBDS supports many more libraries and technologies including: Contexts and Dependency Injection (CDI), JBoss Drools, JBoss ESB, JBoss jBPM, JBoss Portal, JBoss Seam, Smooks
+ </para>
+ </listitem>
</itemizedlist>
- <para>
- JBoss Developer Studio includes both certified visual tooling and a runtime platform (that Red Hat supports for 3 years (Limited) and 5 years respectively), ensuring developers of a stable, upgradable, deployable and supportable platform.
- </para>
- <para>
- JBoss Developer Studio is available for Windows, Linux and MacOS.
- </para>
</section>
Deleted: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.ent
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.ent 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.ent 2011-05-03 00:39:37 UTC (rev 31022)
@@ -1,4 +0,0 @@
-<!ENTITY PRODUCT "JBoss Developer Studio">
-<!ENTITY BOOKID "Release_Notes">
-<!ENTITY YEAR "2010">
-<!ENTITY HOLDER "Red Hat">
Deleted: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.xml
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.xml 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.xml 2011-05-03 00:39:37 UTC (rev 31022)
@@ -1,12 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<article>
- <xi:include href="Article_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
- <xi:include href="Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-<!-- <xi:include href="New_Features.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> -->
- <xi:include href="Component_Versions.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-<!-- <xi:include href="Updating_to_the_new_Web_Tools_Platform_packages.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> -->
- <xi:include href="Fixed_Issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-<!-- <xi:include href="Known_Issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> -->
- <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-</article>
Modified: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Revision_History.xml
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Revision_History.xml 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/en-US/Revision_History.xml 2011-05-03 00:39:37 UTC (rev 31022)
@@ -4,6 +4,20 @@
<title>Revision History</title>
<simpara>
<revhistory>
+ <revision>
+ <revnumber>0-1</revnumber>
+ <date>Wed Feb 16 2011</date>
+ <author>
+ <firstname>Matthew</firstname>
+ <surname>Casperson</surname>
+ <email>mcaspers(a)redhat.com</email>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Updated for JBDS 4.0 release</member>
+ </simplelist>
+ </revdescription>
+ </revision>
<revision>
<revnumber>0-0</revnumber>
<date>Tue Nov 09 2010</date>
Deleted: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/exceptions.txt
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/exceptions.txt 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/exceptions.txt 2011-05-03 00:39:37 UTC (rev 31022)
@@ -1,38 +0,0 @@
-JBIDE-6640 -> not in buglist but should be included in Release Notes
-
-Documented but without 'new_and_noteworthy' tag:
-
-NOTFOUND_JBIDE-6640
-
-Documented only for JBT release notes (comments in JBDS):
-
-NOTFOUND_JBIDE-7554
-NOTFOUND_JBIDE-7569
-NOTFOUND_JBIDE-7774
-NOTFOUND_JBIDE-7911
-NOTFOUND_JBIDE-7435
-NOTFOUND_JBIDE-7144
-NOTFOUND_JBIDE-7142
-NOTFOUND_JBIDE-7082
-NOTFOUND_JBIDE-7041
-NOTFOUND_JBIDE-7034
-NOTFOUND_JBIDE-6837
-NOTFOUND_JBIDE-6836
-NOTFOUND_JBIDE-6695
-NOTFOUND_JBIDE-6576
-NOTFOUND_JBIDE-6487
-NOTFOUND_JBIDE-6412
-NOTFOUND_JBIDE-6376
-NOTFOUND_JBIDE-6293
-NOTFOUND_JBIDE-5960
-
-Has 'new_and_noteworthy' tag but not documented as it is a sub-task of a JIRA already in the Release Notes:
-
-NOTFOUND_JBIDE-6575
-
-To quote Andre "Unfortunately this bug showed up again (is a regression) since the current version of the deltacloud tools does not offer this action for the "Cloud Viewer" any more."
-
-NOTFOUND_JBIDE-7761
-
-
-Still to be documented:
Modified: tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/pom.xml
===================================================================
--- tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/pom.xml 2011-05-02 23:41:47 UTC (rev 31021)
+++ tags/jbosstools-3.2.0.Final/documentation/guides/JBDS_Release_Notes/pom.xml 2011-05-03 00:39:37 UTC (rev 31022)
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
@@ -10,229 +8,232 @@
<packaging>jdocbook</packaging>
<name>${bookname}-(${translation})</name>
- <properties>
- <translation>en-US</translation>
- <docname>Release_Notes</docname>
- <bookname>Release Notes</bookname>
- </properties>
-
- <profiles>
+ <properties>
+ <translation>en-US</translation>
+ <docname>Release_Notes</docname>
+ <bookname>Release Notes</bookname>
+ </properties>
+ <profiles>
+
<!-- mvn compile -->
- <profile>
- <id>all</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
+ <profile>
+ <id>all</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.4</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <useRelativeImageUris>true</useRelativeImageUris>
+ </options>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>
<!-- mvn compile -Phtml -->
- <profile>
- <id>html</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
+ <profile>
+ <id>html</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>
<!-- mvn compile -Phtml-single -->
- <profile>
- <id>html-single</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- </plugin>
+ <profile>
+ <id>html-single</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ </plugin>
</plugins>
</build>
</profile>
<!-- mvn compile -Ppdf -->
- <profile>
- <id>pdf</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
+ <profile>
+ <id>pdf</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>
<!-- mvn compile -Peclipse -->
- <profile>
- <id>eclipse</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profile>
+ <id>eclipse</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- </profiles>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>org.jboss.pressgang</groupId>
- <artifactId>pressgang-xslt</artifactId>
- <version>1.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.1</version>
- <type>jdocbook-style</type>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDirectory>${project.basedir}</sourceDirectory>
+ </profiles>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.pressgang</groupId>
+ <artifactId>pressgang-xslt</artifactId>
+ <version>1.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.1</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDirectory>${project.basedir}</sourceDirectory>
<!-- <sourceDocumentName>${docname}.xml</sourceDocumentName> -->
- <sourceDocumentName>master.xml</sourceDocumentName>
- <masterTranslation>en-US</masterTranslation>
- <imageResource>
- <directory>${project.basedir}/en-US</directory>
- <includes>
- <include>images/**/*</include>
- </includes>
- </imageResource>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${pdf.name}</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <options>
- <xincludeSupported>true</xincludeSupported>
- <xmlTransformerType>saxon</xmlTransformerType>
- <docbookVersion>1.72.0</docbookVersion>
- <localeSeparator>-</localeSeparator>
- <transformerParameters>
- <property>
- <name>javax.xml.parsers.DocumentBuilderFactory</name>
- <value>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</value>
- </property>
- <property>
- <name>javax.xml.parsers.SAXParserFactory</name>
- <value>org.apache.xerces.jaxp.SAXParserFactoryImpl</value>
- </property>
- </transformerParameters>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <masterTranslation>en-US</masterTranslation>
+ <imageResource>
+ <directory>${project.basedir}/en-US</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${pdf.name}</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <docbookVersion>1.72.0</docbookVersion>
+ <localeSeparator>-</localeSeparator>
+ <transformerParameters>
+ <property>
+ <name>javax.xml.parsers.DocumentBuilderFactory</name>
+ <value>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</value>
+ </property>
+ <property>
+ <name>javax.xml.parsers.SAXParserFactory</name>
+ <value>org.apache.xerces.jaxp.SAXParserFactoryImpl</value>
+ </property>
+ </transformerParameters>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</project>
13 years, 6 months