JBoss Tools SVN: r42002 - in trunk/esb/plugins/org.jboss.tools.esb.core: src/org/jboss/tools/esb/core/model and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2012-06-15 13:11:28 -0400 (Fri, 15 Jun 2012)
New Revision: 42002
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBUtil.java
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBResourceTree.java
Log:
JBIDE-12082
https://issues.jboss.org/browse/JBIDE-12082
ESB content folder is added to attachment selector.
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF 2012-06-15 15:20:33 UTC (rev 42001)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF 2012-06-15 17:11:28 UTC (rev 42002)
@@ -14,6 +14,10 @@
Require-Bundle: org.eclipse.core.resources;visibility:=reexport,
org.jboss.tools.common.model;visibility:=reexport,
org.eclipse.ui,
- org.jboss.tools.esb.project.core
+ org.jboss.tools.esb.project.core,
+ org.eclipse.wst.common.core,
+ org.eclipse.wst.common.project.facet.core,
+ org.eclipse.wst.common.modulecore,
+ org.eclipse.jst.j2ee
Bundle-Version: 1.5.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBResourceTree.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBResourceTree.java 2012-06-15 15:20:33 UTC (rev 42001)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBResourceTree.java 2012-06-15 17:11:28 UTC (rev 42002)
@@ -25,6 +25,7 @@
}
public XModelObject[] getChildren(XModelObject object) {
+ ESBUtil.updateModel(object.getModel());
if(object == getRoot()) {
XModelObject[] os = object.getChildren();
List<XModelObject> list = new ArrayList<XModelObject>();
@@ -32,6 +33,10 @@
if(r != null) {
list.add(r);
}
+ r = ESBUtil.getESBRoot(model);
+ if(r != null) {
+ list.add(r);
+ }
for (int i = 0; i < os.length; i++) {
String name = os[i].getAttributeValue(XModelObjectConstants.ATTR_NAME);
if(name.startsWith("src")) {
Added: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBUtil.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBUtil.java (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBUtil.java 2012-06-15 17:11:28 UTC (rev 42002)
@@ -0,0 +1,117 @@
+/*******************************************************************************
+ * Copyright (c) 2012 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.tools.esb.core.model;
+
+import java.util.ArrayList;
+import java.util.Properties;
+
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
+import org.eclipse.wst.common.project.facet.core.IFacetedProject;
+import org.eclipse.wst.common.project.facet.core.IProjectFacet;
+import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
+import org.jboss.tools.common.CommonPlugin;
+import org.jboss.tools.common.model.XModel;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.XModelObjectConstants;
+import org.jboss.tools.common.model.filesystems.FileSystemsHelper;
+import org.jboss.tools.common.model.filesystems.impl.FileSystemImpl;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.esb.core.facet.IJBossESBFacetDataModelProperties;
+
+/**
+ *
+ * @author Viacheslav Kabanovich
+ *
+ */
+public class ESBUtil {
+ static String ESB_CHECKED = "esbChecked"; //$NON-NLS-1$
+ static String ESB_ROOT = "ESB-ROOT"; //$NON-NLS-1$
+
+ public static XModelObject getESBRoot(XModel model) {
+ return model.getByPath(FileSystemsHelper.FILE_SYSTEMS + "/" + ESB_ROOT); //$NON-NLS-1$
+ }
+
+ public static void updateModel(XModel model) {
+ if("true".equals(model.getProperties().getProperty(ESB_CHECKED))) { //$NON-NLS-1$
+ return;
+ }
+ model.getProperties().setProperty(ESB_CHECKED, "true"); //$NON-NLS-1$
+
+ IProject project = EclipseResourceUtil.getProject(model.getRoot());
+
+ IContainer[] roots = getESBRootFolders(project, true);
+
+ if(roots.length == 0) return;
+
+ IContainer esbContentFolder = roots.length > 1 ? roots[1] : roots[0];
+ if(!esbContentFolder.exists()) {
+ return;
+ }
+
+ String fsLoc = esbContentFolder.getLocation().toString().replace('\\', '/');
+ XModelObject fs = FileSystemsHelper.getFileSystems(model);
+ XModelObject[] cs = fs.getChildren();
+ for (XModelObject c: cs) {
+ if(fsLoc.equals(c.getAttributeValue(XModelObjectConstants.ATTR_NAME_LOCATION))) {
+ String name = c.getAttributeValue(XModelObjectConstants.ATTR_NAME);
+ if(ESB_ROOT.equals(name)) return;
+ if(fsLoc.endsWith("/" + name)) { //$NON-NLS-1$
+ c.setAttributeValue(XModelObjectConstants.ATTR_NAME, ESB_ROOT);
+ return;
+ }
+ }
+ }
+ Properties properties = new Properties();
+ properties.setProperty(XModelObjectConstants.ATTR_NAME_LOCATION, fsLoc);
+ properties.setProperty(XModelObjectConstants.ATTR_NAME, ESB_ROOT);
+ FileSystemImpl s = (FileSystemImpl)model.createModelObject(XModelObjectConstants.ENT_FILE_SYSTEM_FOLDER, properties);
+ fs.addChild(s);
+ }
+
+ public static IContainer[] getESBRootFolders(IProject project, boolean ignoreDerived) {
+ IFacetedProject facetedProject = null;
+ try {
+ facetedProject = ProjectFacetsManager.create(project);
+ } catch (CoreException e) {
+ CommonPlugin.getDefault().logError(e);
+ }
+ IProjectFacet facet = ProjectFacetsManager.getProjectFacet(IJBossESBFacetDataModelProperties.JBOSS_ESB_FACET_ID);
+ if(facet != null && facetedProject!=null && facetedProject.getProjectFacetVersion(facet)!=null) {
+ IVirtualComponent component = ComponentCore.createComponent(project);
+ if(component!=null) {
+ IVirtualFolder webRootVirtFolder = component.getRootFolder().getFolder(new Path("/")); //$NON-NLS-1$
+
+ IContainer[] folders = webRootVirtFolder.getUnderlyingFolders();
+ if(folders.length > 1){
+ ArrayList<IContainer> containers = new ArrayList<IContainer>();
+ for(IContainer container : folders){
+ if(!ignoreDerived || !container.isDerived(IResource.CHECK_ANCESTORS)) {
+ containers.add(container);
+ }
+ }
+ return containers.toArray(new IContainer[containers.size()]);
+ } else {
+ return folders;
+ }
+ }
+ }
+ return EMPTY_ARRAY;
+ }
+
+ private static final IContainer[] EMPTY_ARRAY = new IContainer[0];
+}
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBUtil.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 10 months
JBoss Tools SVN: r42001 - trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-06-15 11:20:33 -0400 (Fri, 15 Jun 2012)
New Revision: 42001
Modified:
trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml
Log:
JBIDE-11714
Used maven-download-plugin on jbpm
Modified: trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml
===================================================================
--- trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml 2012-06-15 14:55:40 UTC (rev 42000)
+++ trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml 2012-06-15 15:20:33 UTC (rev 42001)
@@ -35,6 +35,26 @@
</configuration>
</plugin>
<plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <version>0.2-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>install-jbpm</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://downloads.sourceforge.net/project/jbpm/jBPM%203/jbpm-3.1.4/jbpm-3....</url>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}/jbpm-3.1.4</outputDirectory>
+ <md5>df65b5642f33676313ebe4d5b69a3fff</md5>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven.antrun.plugin.version}</version>
<dependencies>
@@ -68,7 +88,7 @@
<property name="jboss.tools.jre.6" value="${java.home}" />
</then>
</if>
- <echo file="swtbot.properties" append="false">JBPM=3.1.4,${requirement.build.root}/jbpm-3.1.4</echo>
+ <echo file="swtbot.properties" append="false">JBPM=3.1.4,${project.build.directory}/jbpm-3.1.4</echo>
</tasks>
</configuration>
</execution>
13 years, 10 months
JBoss Tools SVN: r42000 - trunk/build/parent.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-06-15 10:55:40 -0400 (Fri, 15 Jun 2012)
New Revision: 42000
Modified:
trunk/build/parent/pom.xml
Log:
* Removed an old Tycho staging repo
* Added OSS sonatype repo for maven-download-plugin (among others)
Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml 2012-06-15 14:43:27 UTC (rev 41999)
+++ trunk/build/parent/pom.xml 2012-06-15 14:55:40 UTC (rev 42000)
@@ -887,9 +887,14 @@
<url>https://repository.sonatype.org/content/groups/sonatype-public-grid</url>
</pluginRepository>
<pluginRepository>
- <id>tycho-0.15-staging</id>
- <name>tycho-0.15-staging</name>
- <url>https://oss.sonatype.org/content/repositories/orgeclipsetycho-115/</url>
+ <id>sonatype-public-repository</id>
+ <url>https://oss.sonatype.org/content/groups/public</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
</pluginRepository>
<pluginRepository>
<id>repository.sonatype.org-snapshots</id>
13 years, 10 months
JBoss Tools SVN: r41999 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2012-06-15 10:43:27 -0400 (Fri, 15 Jun 2012)
New Revision: 41999
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java
Log:
JBIDE-12188 : create tempDeploy folder if needed before zipping child modules
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java 2012-06-15 14:30:40 UTC (rev 41998)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java 2012-06-15 14:43:27 UTC (rev 41999)
@@ -250,8 +250,14 @@
tmpTree, new Path("/"), resources, path, childFile); //$NON-NLS-1$
}
+ File tempDeployFolder = deployRoot.toFile();
+ //JBIDE-12188 : EAP server created by the JBDS installer doesn't create the temp folder
+ if (!tempDeployFolder.exists()) {
+ tempDeployFolder.mkdirs();
+ }
+
// Make output
- temp = File.createTempFile(module.getName(), ".tmp", deployRoot.toFile()); //$NON-NLS-1$
+ temp = File.createTempFile(module.getName(), ".tmp", tempDeployFolder); //$NON-NLS-1$
IPath tempFile = new Path(temp.getAbsolutePath());
IStatus[] e2 = PublishUtil.packModuleIntoJar(moduleTree[moduleTree.length-1].getName(),
resources, tempFile, getPathFilter(moduleTree));;
13 years, 10 months
JBoss Tools SVN: r41998 - branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2012-06-15 10:30:40 -0400 (Fri, 15 Jun 2012)
New Revision: 41998
Modified:
branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java
Log:
JBIDE-12188 : create tempDeploy folder if needed before zipping child modules
Modified: branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java
===================================================================
--- branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java 2012-06-15 13:58:53 UTC (rev 41997)
+++ branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java 2012-06-15 14:30:40 UTC (rev 41998)
@@ -249,9 +249,15 @@
resources = ResourceModuleResourceUtil.addFileToModuleResources(
tmpTree, new Path("/"), resources, path, childFile); //$NON-NLS-1$
}
+
+ File tempDeployFolder = deployRoot.toFile();
+ //JBIDE-12188 : EAP server created by the JBDS installer doesn't create the temp folder
+ if (!tempDeployFolder.exists()) {
+ tempDeployFolder.mkdirs();
+ }
// Make output
- temp = File.createTempFile(module.getName(), ".tmp", deployRoot.toFile()); //$NON-NLS-1$
+ temp = File.createTempFile(module.getName(), ".tmp", tempDeployFolder); //$NON-NLS-1$
IPath tempFile = new Path(temp.getAbsolutePath());
IStatus[] e2 = PublishUtil.packModuleIntoJar(moduleTree[moduleTree.length-1].getName(),
resources, tempFile, getPathFilter(moduleTree));;
13 years, 10 months
JBoss Tools SVN: r41997 - trunk/build/parent.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-06-15 09:58:53 -0400 (Fri, 15 Jun 2012)
New Revision: 41997
Modified:
trunk/build/parent/pom.xml
Log:
Choose better location for Jacoco to integrate better with Sonar or Jenkins plugin later
Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml 2012-06-15 10:25:51 UTC (rev 41996)
+++ trunk/build/parent/pom.xml 2012-06-15 13:58:53 UTC (rev 41997)
@@ -263,9 +263,9 @@
<goal>prepare-agent</goal>
</goals>
<configuration>
- <!-- Where to put jacoco coverage report, basically in the tests/target folder
- for each component -->
- <destFile>../target/jacoco.exec</destFile>
+ <!-- Where to put jacoco coverage report, basically in the target/ folder
+ at the top-level for each component -->
+ <destFile>../../target/jacoco.exec</destFile>
<includes>
<include>${coverage.filter}</include>
</includes>
13 years, 10 months
JBoss Tools SVN: r41996 - branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-06-15 06:25:51 -0400 (Fri, 15 Jun 2012)
New Revision: 41996
Modified:
branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSERemotePublishHandler.java
Log:
JBIDE-12185 to GA
Modified: branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSERemotePublishHandler.java
===================================================================
--- branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSERemotePublishHandler.java 2012-06-15 10:25:24 UTC (rev 41995)
+++ branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSERemotePublishHandler.java 2012-06-15 10:25:51 UTC (rev 41996)
@@ -137,7 +137,7 @@
}
};
- return wrapRemoteCall(run, remotePath.toString(), "failed to delete {0} on host {1}", monitor);
+ return wrapRemoteCall(run, remotePath.toString(), "failed to delete {0} on host {1}", false, monitor);
}
public IStatus[] makeDirectoryIfRequired(final IPath dir,
13 years, 10 months
JBoss Tools SVN: r41995 - trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-06-15 06:25:24 -0400 (Fri, 15 Jun 2012)
New Revision: 41995
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSERemotePublishHandler.java
Log:
JBIDE-12185 to trunk
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSERemotePublishHandler.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSERemotePublishHandler.java 2012-06-15 00:03:51 UTC (rev 41994)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSERemotePublishHandler.java 2012-06-15 10:25:24 UTC (rev 41995)
@@ -137,7 +137,7 @@
}
};
- return wrapRemoteCall(run, remotePath.toString(), "failed to delete {0} on host {1}", monitor);
+ return wrapRemoteCall(run, remotePath.toString(), "failed to delete {0} on host {1}", false, monitor);
}
public IStatus[] makeDirectoryIfRequired(final IPath dir,
13 years, 10 months
JBoss Tools SVN: r41994 - trunk/seam/docs/reference/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-06-14 20:03:51 -0400 (Thu, 14 Jun 2012)
New Revision: 41994
Modified:
trunk/seam/docs/reference/en-US/Book_Info.xml
trunk/seam/docs/reference/en-US/creating_mavenized_seam.xml
trunk/seam/docs/reference/en-US/creating_new_seam.xml
trunk/seam/docs/reference/en-US/crud_application_walkthrough.xml
trunk/seam/docs/reference/en-US/crud_database_application.xml
trunk/seam/docs/reference/en-US/directory_structure.xml
Log:
updated for JBDS-2022
Modified: trunk/seam/docs/reference/en-US/Book_Info.xml
===================================================================
--- trunk/seam/docs/reference/en-US/Book_Info.xml 2012-06-14 22:48:56 UTC (rev 41993)
+++ trunk/seam/docs/reference/en-US/Book_Info.xml 2012-06-15 00:03:51 UTC (rev 41994)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>5.0</productnumber>
<edition>5.0.0</edition>
- <pubsnumber>6</pubsnumber>
+ <pubsnumber>8</pubsnumber>
<abstract>
<para>The Seam Developer Tools Reference Guide explains how to use the Seam Developer Tools module to create Seam projects for deployment.</para>
</abstract>
Modified: trunk/seam/docs/reference/en-US/creating_mavenized_seam.xml
===================================================================
--- trunk/seam/docs/reference/en-US/creating_mavenized_seam.xml 2012-06-14 22:48:56 UTC (rev 41993)
+++ trunk/seam/docs/reference/en-US/creating_mavenized_seam.xml 2012-06-15 00:03:51 UTC (rev 41994)
@@ -28,7 +28,12 @@
<itemizedlist>
<listitem>
<para>
- Navigate to <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Seam Project</guimenuitem></menuchoice>. Give the project a meaningful name, specify a target runtime and server and select the proper configuration for your Seam project:
+ Navigate to <menuchoice>
+ <guimenuitem>File</guimenuitem>
+ <guimenuitem>New</guimenuitem>
+ <guimenuitem>Other</guimenuitem>
+ <guimenuitem>Seam Web Project</guimenuitem>
+ </menuchoice>. Give the project a meaningful name, specify a target runtime and server and select the proper configuration for your Seam project:
</para>
<figure>
Modified: trunk/seam/docs/reference/en-US/creating_new_seam.xml
===================================================================
--- trunk/seam/docs/reference/en-US/creating_new_seam.xml 2012-06-14 22:48:56 UTC (rev 41993)
+++ trunk/seam/docs/reference/en-US/creating_new_seam.xml 2012-06-15 00:03:51 UTC (rev 41994)
@@ -214,10 +214,10 @@
Clicking the <guibutton>OK</guibutton> button will bring you to the <property>Web Module</property> wizard form again.
</para>
-<!-- <section id="seamWithJPA">
+ <section id="seamWithJPA">
<title>Seam project with JPA facets</title>
<para>
- For creating Seam project with JPA support you need to select<property> Java Persistent</property> facet on <property>Project Facets</property> page and click <guibutton>OK</guibutton>.
+ For creating a Seam project with JPA support you need to select<property> Java Persistent</property> facet on <property>Project Facets</property> page and click <guibutton>OK</guibutton>.
</para>
<para>
@@ -241,12 +241,6 @@
On this page you can choose <property>Platform</property> (vendor-specific JPA implementation) for your project, type of JPA Implementation, and configure the <property>Connection</property> to database in the <property
>Connection</property> area.
</para>
-
- <para>
- More about <property>JPA facet</property> page you can read in <ulink
- url="http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.jpt.doc.user..."
- >Eclipse documentation</ulink>.
- </para>
<para>
The next page concerns <property>Web Module Settings</property>. Accept the default values and press the <guibutton>Next</guibutton> button.
@@ -255,7 +249,7 @@
<para>
On the next step you will see <property>JSF Capabilities</property> and <property>Seam facet</property> pages, which are mostly the same as in general Seam project.
</para>
- </section> -->
+ </section>
</section>
<section id="configureJava">
Modified: trunk/seam/docs/reference/en-US/crud_application_walkthrough.xml
===================================================================
--- trunk/seam/docs/reference/en-US/crud_application_walkthrough.xml 2012-06-14 22:48:56 UTC (rev 41993)
+++ trunk/seam/docs/reference/en-US/crud_application_walkthrough.xml 2012-06-15 00:03:51 UTC (rev 41994)
@@ -88,7 +88,7 @@
</para>
<para>
- Hover the mouse over <guibutton>Browse</guibutton> in the very top menu and select <guimenuitem>Employees List</guimenuitem> from the expanded list. Observe that data from the <emphasis> <property>employee</property> </emphasis> database is displayed.
+ Hover the mouse over <guibutton>Browse data</guibutton> in the very top menu and select <guimenuitem>Employees List</guimenuitem> from the expanded list. Observe that data from the <emphasis> <property>employee</property> </emphasis> database is displayed.
</para>
<figure>
Modified: trunk/seam/docs/reference/en-US/crud_database_application.xml
===================================================================
--- trunk/seam/docs/reference/en-US/crud_database_application.xml 2012-06-14 22:48:56 UTC (rev 41993)
+++ trunk/seam/docs/reference/en-US/crud_database_application.xml 2012-06-15 00:03:51 UTC (rev 41994)
@@ -277,7 +277,7 @@
<itemizedlist>
<listitem>
<para>
- You can expand the <property>WEB_CONTENT</property> folder of the application and open <property>home.xhtml</property> or <property>login.xhtml</property> with <property>JBoss Visual Editor</property>.
+ You can expand the <property>WebContent</property> folder of the crudapp project in the <guilabel>Project Explorer</guilabel> and open <property>home.xhtml</property> or <property>login.xhtml</property> with <property>JBoss Visual Editor</property>.
</para>
</listitem>
</itemizedlist>
@@ -296,8 +296,13 @@
<itemizedlist>
<listitem>
<para>
- Connect to the <emphasis> <property>cruddb</property> </emphasis> database if not already connected to it.
+ Switch to <guilabel>Database Development</guilabel> perspective with <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open Perspective</guimenuitem><guimenuitem>Other</guimenuitem></menuchoice>.
</para>
+ <para>
+ Connect to the <emphasis>
+ <property>cruddb</property>
+ </emphasis> database if not already connected to it.
+ </para>
</listitem>
</itemizedlist>
Modified: trunk/seam/docs/reference/en-US/directory_structure.xml
===================================================================
--- trunk/seam/docs/reference/en-US/directory_structure.xml 2012-06-14 22:48:56 UTC (rev 41993)
+++ trunk/seam/docs/reference/en-US/directory_structure.xml 2012-06-15 00:03:51 UTC (rev 41994)
@@ -51,7 +51,10 @@
</note>
<para>
- Furthermore the Seam Project wizard generates a test project that is setup to run <xref linkend="testNG"/> directly against the proper libraries and server runtime libraries. You can run tests via <menuchoice><guimenuitem>Run As</guimenuitem><guimenuitem>TestNG Test.</guimenuitem></menuchoice>
+ Furthermore the Seam Project wizard generates a test project that is setup to run directly against the proper libraries and server runtime libraries. You can run tests via <menuchoice>
+ <guimenuitem>Run As</guimenuitem>
+ <guimenuitem>TestNG Test.</guimenuitem>
+ </menuchoice>: <xref linkend="testNG"/>.
</para>
<para>
13 years, 10 months
JBoss Tools SVN: r41993 - trunk/jmx/docs/reference/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-06-14 18:48:56 -0400 (Thu, 14 Jun 2012)
New Revision: 41993
Modified:
trunk/jmx/docs/reference/en-US/Book_Info.xml
trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.ent
trunk/jmx/docs/reference/en-US/introduction.xml
trunk/jmx/docs/reference/en-US/tasks.xml
Log:
updated with QE feedback
Modified: trunk/jmx/docs/reference/en-US/Book_Info.xml
===================================================================
--- trunk/jmx/docs/reference/en-US/Book_Info.xml 2012-06-14 21:29:40 UTC (rev 41992)
+++ trunk/jmx/docs/reference/en-US/Book_Info.xml 2012-06-14 22:48:56 UTC (rev 41993)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>5.0</productnumber>
<edition>5.0.0</edition>
- <pubsnumber>3</pubsnumber>
+ <pubsnumber>5</pubsnumber>
<abstract>
<para>The JMX Tools Reference Guide explains how to use the JMX Tools module to setup multiple JMX connections and explore the JMX tree and execute operations.</para>
</abstract>
Modified: trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.ent
===================================================================
--- trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.ent 2012-06-14 21:29:40 UTC (rev 41992)
+++ trunk/jmx/docs/reference/en-US/JMX_Tools_Reference_Guide.ent 2012-06-14 22:48:56 UTC (rev 41993)
@@ -1,7 +1,7 @@
<!ENTITY PRODUCT "JBoss">
<!ENTITY BOOKID "JMX_Tools_Reference_Guide">
-<!ENTITY YEAR "2011">
+<!ENTITY YEAR "2012">
<!ENTITY HOLDER "Red Hat">
<!ENTITY BZPRODUCT "JBoss Developer Studio">
<!ENTITY BZCOMPONENT "JMX Tools Reference Guide">
-<!ENTITY BZURL "<ulink url='https://bugzilla.redhat.com/enter_bug.cgi?product=JBoss%20Develope...'>http://bugzilla.redhat.com/</ulink>">
+<!ENTITY BZURL "<ulink url='https://bugzilla.redhat.com/enter_bug.cgi?product=JBoss%20Develope...'>http://bugzilla.redhat.com/</ulink>">
Modified: trunk/jmx/docs/reference/en-US/introduction.xml
===================================================================
--- trunk/jmx/docs/reference/en-US/introduction.xml 2012-06-14 21:29:40 UTC (rev 41992)
+++ trunk/jmx/docs/reference/en-US/introduction.xml 2012-06-14 22:48:56 UTC (rev 41993)
@@ -1,13 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<chapter id="intruduction">
- <?dbhtml filename="introduction.html"?>
<title>Introduction</title>
<para>
- <property>JBoss Tools</property>' JMX project is a fork of <ulink url="http://code.google.com/p/eclipse-jmx/">eclipse-jmx</ulink>, a project by Jeff Mesnil.
- It was forked with permission. </para>
+ <property>JBoss Tools</property>' JMX project is a fork of <ulink url="http://code.google.com/p/eclipse-jmx/">eclipse-jmx</ulink>, a project by Jeff Mesnil. It was forked with permission. </para>
- <section>
+ <!-- <section>
<title>What is JMX?</title>
<para>
The Java Management Extensions (JMX) technology is a standard part of the Java Platform, Standard Edition (Java SE platform). The JMX technology was added to the platform in the Java 2 Platform, Standard Edition (J2SE) 5.0 release.
@@ -31,10 +29,10 @@
<para>
The JMX technology defines standard connectors (known as JMX connectors) that enable you to access JMX agents from remote management applications. JMX connectors using different protocols provide the same management interface. Consequently, a management application can manage resources transparently, regardless of the communication protocol used. JMX agents can also be used by systems or applications that are not compliant with the JMX specification, as long as those systems or applications support JMX agents.
</para>
- <!-- <para>
+ <para>
<ulink url="http://java.sun.com/docs/books/tutorial/jmx/overview/index.html">Read more about JMX</ulink>.
- </para> -->
- </section>
+ </para>
+ </section> -->
<section>
<title>What is JMX Tools?</title>
Modified: trunk/jmx/docs/reference/en-US/tasks.xml
===================================================================
--- trunk/jmx/docs/reference/en-US/tasks.xml 2012-06-14 21:29:40 UTC (rev 41992)
+++ trunk/jmx/docs/reference/en-US/tasks.xml 2012-06-14 22:48:56 UTC (rev 41993)
@@ -39,7 +39,7 @@
<title>Managing Application</title>
<para>
- As it has been said earlier in the guide, the JMX technology allows you to monitor and manage Java applications. In this section we will show you how to get connected to a sample Java application and run the <code>sayHello()</code> method remotely from inside of the <guilabel>MBean Explorer</guilabel>.
+ In this section we will show you how to get connected to a sample Java application and run the <code>sayHello()</code> method remotely from inside of the <guilabel>MBean Explorer</guilabel>.
</para>
<orderedlist>
@@ -167,7 +167,7 @@
</section>
- <section>
+<!-- <section>
<title>Eclipse Equinox Managing</title>
<para>You can manage Equinox through the Equinox monitoring framework.</para>
@@ -183,13 +183,13 @@
</para>
</listitem>
- <!--<listitem>
+ <listitem>
<para>Select <emphasis>
<property>JMX Server > Open Connection</property>
</emphasis> and click <emphasis>
<property>OK</property>
</emphasis></para>
- </listitem>-->
+ </listitem>
<listitem>
<para>
@@ -219,14 +219,14 @@
</orderedlist>
<para>You now have access to the MBeans exposed by Equinox.</para>
- </section>
+ </section> -->
- <section>
+<!-- <section>
<title>Managing a JBoss application server</title>
<para>
- Managing JBoss instances is not supported with the <guilabel>JMX Tools</guilabel> alone. <!-- You must also download and install the <guilabel>AS Tools</guilabel> portion of the <guilabel>JBoss Tools</guilabel> distribution Even after installing the proper tooling, you cannot create a JBoss JMX connection yourself or through the Connection Wizard. --> The first step is to create a JBoss Server. The full instructions for this can be found in the application server Tools section; however, the short summary is:
+ Managing JBoss instances is not supported with the <guilabel>JMX Tools</guilabel> alone. You must also download and install the <guilabel>AS Tools</guilabel> portion of the <guilabel>JBoss Tools</guilabel> distribution Even after installing the proper tooling, you cannot create a JBoss JMX connection yourself or through the Connection Wizard. The first step is to create a JBoss Server. The full instructions for this can be found in the application server Tools section; however, the short summary is:
</para>
<orderedlist>
<listitem>
@@ -260,13 +260,17 @@
</orderedlist>
<para>Now you can explore MBeans exposed by a JBoss instance.</para>
- </section>
+ </section> -->
<section>
<title>Managing a JBoss application server Remotely</title>
-
+ <important>
+ <para>
+ If you are running JBos Enterprise Application Platform 6, JBoss Application Server 7 or later, you can connect automatically to a remote server through the <guilabel>Server Behaviour</guilabel> tab in the server settings. For further information on this see the <emphasis>JBoss Server Manager Reference Guide</emphasis> for this release.
+ </para>
+ </important>
<para>
- The JBoss JMX Tools allow you to easily access and manage a JBoss AS server remotely. In order to connect to an instance of a JBoss server remotely, you need to run the server or make sure the server is launched.
+ The JBoss JMX Tools allow you to easily access and manage a JBoss server remotely. In order to connect to a remote instance of a JBoss server, you need to run the server or make sure the server is launched.
</para>
<orderedlist>
<listitem>
13 years, 10 months