JBoss Tools SVN: r13229 - trunk/hibernatetools/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-01-23 07:05:55 -0500 (Fri, 23 Jan 2009)
New Revision: 13229
Modified:
trunk/hibernatetools/docs/reference/en/modules/plugins.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-571 - adding the markers;
Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-01-23 12:05:02 UTC (rev 13228)
+++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-01-23 12:05:55 UTC (rev 13229)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="plugins">
+<chapter id="plugins" role="updated">
<title>Eclipse Plugins</title>
<para>This chapter will introduce you to the functionality that <property>Hibernate
@@ -622,7 +622,7 @@
</figure>
</section>
- <section id="refeng_codegen">
+ <section id="refeng_codegen" role="updated">
<title>Reverse Engineering and Code Generation</title>
<para>A "click-and-generate" reverse engineering and code generation facility
15 years, 11 months
JBoss Tools SVN: r13228 - trunk/documentation/guides/GettingStartedGuide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-01-23 07:05:02 -0500 (Fri, 23 Jan 2009)
New Revision: 13228
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/gsg_faq.xml
trunk/documentation/guides/GettingStartedGuide/en/modules/project_examples.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-571 - adding the markers;
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/gsg_faq.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/gsg_faq.xml 2009-01-23 12:04:25 UTC (rev 13227)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/gsg_faq.xml 2009-01-23 12:05:02 UTC (rev 13228)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="gsg_faq" xreflabel="gsg_faq">
+<chapter id="gsg_faq" xreflabel="gsg_faq" role="updated">
<?dbhtml filename="gsg_faq.html"?>
<chapterinfo>
<keywordset>
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/project_examples.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/project_examples.xml 2009-01-23 12:04:25 UTC (rev 13227)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/project_examples.xml 2009-01-23 12:05:02 UTC (rev 13228)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="project_examples" xreflabel="project_examples">
+<chapter id="project_examples" xreflabel="project_examples" role="new">
<?dbhtml filename="project_examples.html"?>
<chapterinfo>
<keywordset>
15 years, 11 months
JBoss Tools SVN: r13227 - trunk/as/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-01-23 07:04:25 -0500 (Fri, 23 Jan 2009)
New Revision: 13227
Modified:
trunk/as/docs/reference/en/modules/perspective.xml
trunk/as/docs/reference/en/modules/quick_start.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-571 - adding markers;
Modified: trunk/as/docs/reference/en/modules/perspective.xml
===================================================================
--- trunk/as/docs/reference/en/modules/perspective.xml 2009-01-23 10:06:53 UTC (rev 13226)
+++ trunk/as/docs/reference/en/modules/perspective.xml 2009-01-23 12:04:25 UTC (rev 13227)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="perspective" xreflabel="perspective">
+<chapter id="perspective" xreflabel="perspective" role="updated">
<?dbhtml filename="perspective.html"?>
<chapterinfo>
<keywordset>
@@ -22,7 +22,7 @@
<property>Project archives view</property> and the <property>JBoss Server
View</property>.</para>
- <section id="JBossServerView">
+ <section id="JBossServerView" role="updated">
<?dbhtml filename="JBossServerView.html"?>
<title>The JBoss Server View</title>
@@ -641,7 +641,7 @@
</section>
</section>
- <section id="Project_archivesView">
+ <section id="Project_archivesView" role="updated">
<title>Project Archives View</title>
<para>Every application, whether Plain Old Java, J2EE, or some other language altogether,
needs to be packaged in some way. In Java-related projects, many people use ANT. </para>
Modified: trunk/as/docs/reference/en/modules/quick_start.xml
===================================================================
--- trunk/as/docs/reference/en/modules/quick_start.xml 2009-01-23 10:06:53 UTC (rev 13226)
+++ trunk/as/docs/reference/en/modules/quick_start.xml 2009-01-23 12:04:25 UTC (rev 13227)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<chapter id="quick_start">
+<chapter id="quick_start" role="updated">
<title>Quick Start with JBoss Server</title>
<para>This chapter covers the basics of working with the <property>JBoss Server</property>. If you
15 years, 11 months
JBoss Tools SVN: r13226 - in trunk/as/plugins: org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-23 05:06:53 -0500 (Fri, 23 Jan 2009)
New Revision: 13226
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DeployableServer.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/StrippedServerWizardFragment.java
Log:
JBIDE-3565 - deploy only server now functioning
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DeployableServer.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DeployableServer.java 2009-01-23 08:22:19 UTC (rev 13225)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DeployableServer.java 2009-01-23 10:06:53 UTC (rev 13226)
@@ -182,7 +182,7 @@
}
public static IPath makeRelative(IJBossServerRuntime rt, IPath p) {
- if( p.isAbsolute()) {
+ if( p.isAbsolute() && rt != null) {
if(rt.getRuntime().getLocation().isPrefixOf(p)) {
int size = rt.getRuntime().getLocation().toOSString().length();
return new Path(p.toOSString().substring(size)).makeRelative();
@@ -192,7 +192,7 @@
}
public static IPath makeGlobal(IJBossServerRuntime rt, IPath p) {
- if( !p.isAbsolute()) {
+ if( !p.isAbsolute() && rt != null) {
return rt.getRuntime().getLocation().append(p).makeAbsolute();
}
return p;
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java 2009-01-23 08:22:19 UTC (rev 13225)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java 2009-01-23 10:06:53 UTC (rev 13226)
@@ -42,6 +42,7 @@
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.DirectoryDialog;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
@@ -53,7 +54,6 @@
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.Section;
import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.internal.ServerPlugin;
import org.eclipse.wst.server.ui.editor.ServerEditorSection;
import org.eclipse.wst.server.ui.internal.command.ServerCommand;
import org.jboss.ide.eclipse.as.core.JBossServerCorePlugin;
@@ -61,7 +61,6 @@
import org.jboss.ide.eclipse.as.core.server.IJBossServerConstants;
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.JBossServer;
import org.jboss.ide.eclipse.as.core.server.internal.ServerAttributeHelper;
import org.jboss.ide.eclipse.as.ui.Messages;
@@ -102,34 +101,44 @@
composite.setLayout(new FormLayout());
Label descriptionLabel = toolkit.createLabel(composite, Messages.swf_DeploymentDescription);
+ Control top = descriptionLabel;
+ if( getRuntime() != null ) {
+ Composite inner = toolkit.createComposite(composite);
+ inner.setLayout(new GridLayout(1, false));
+ metadataRadio = toolkit.createButton(inner, Messages.EditorUseWorkspaceMetadata, SWT.RADIO);
+ serverRadio = toolkit.createButton(inner, Messages.EditorUseServersDeployFolder, SWT.RADIO);
+ customRadio = toolkit.createButton(inner, Messages.EditorUseCustomDeployFolder, SWT.RADIO);
+
+ metadataRadio.setSelection(getDeployType().equals(IDeployableServer.DEPLOY_METADATA));
+ serverRadio.setSelection(getDeployType().equals(IDeployableServer.DEPLOY_SERVER));
+ customRadio.setSelection(getDeployType().equals(IDeployableServer.DEPLOY_CUSTOM));
+ currentSelection = metadataRadio.getSelection() ? metadataRadio :
+ serverRadio.getSelection() ? serverRadio :
+ customRadio;
+
+ radioListener = new SelectionListener() {
+ public void widgetDefaultSelected(SelectionEvent e) {
+ widgetSelected(e);
+ }
+ public void widgetSelected(SelectionEvent e) {
+ if( e.getSource() == currentSelection )
+ return; // do nothing
+ execute(new RadioClickedCommand((Button)e.getSource(), currentSelection));
+ currentSelection = (Button)e.getSource();
+ } };
+ metadataRadio.addSelectionListener(radioListener);
+ serverRadio.addSelectionListener(radioListener);
+ customRadio.addSelectionListener(radioListener);
+
+ FormData radios = new FormData();
+ radios.top = new FormAttachment(descriptionLabel,5);
+ radios.left = new FormAttachment(0,5);
+ radios.right = new FormAttachment(100,-5);
+ inner.setLayoutData(radios);
+ top = inner;
+ }
- Composite inner = toolkit.createComposite(composite);
- inner.setLayout(new GridLayout(1, false));
- metadataRadio = toolkit.createButton(inner, Messages.EditorUseWorkspaceMetadata, SWT.RADIO);
- serverRadio = toolkit.createButton(inner, Messages.EditorUseServersDeployFolder, SWT.RADIO);
- customRadio = toolkit.createButton(inner, Messages.EditorUseCustomDeployFolder, SWT.RADIO);
- metadataRadio.setSelection(getDeployType().equals(IDeployableServer.DEPLOY_METADATA));
- serverRadio.setSelection(getDeployType().equals(IDeployableServer.DEPLOY_SERVER));
- customRadio.setSelection(getDeployType().equals(IDeployableServer.DEPLOY_CUSTOM));
- currentSelection = metadataRadio.getSelection() ? metadataRadio :
- serverRadio.getSelection() ? serverRadio :
- customRadio;
-
- radioListener = new SelectionListener() {
- public void widgetDefaultSelected(SelectionEvent e) {
- widgetSelected(e);
- }
- public void widgetSelected(SelectionEvent e) {
- if( e.getSource() == currentSelection )
- return; // do nothing
- execute(new RadioClickedCommand((Button)e.getSource(), currentSelection));
- currentSelection = (Button)e.getSource();
- } };
- metadataRadio.addSelectionListener(radioListener);
- serverRadio.addSelectionListener(radioListener);
- customRadio.addSelectionListener(radioListener);
-
Label label = toolkit.createLabel(composite, Messages.swf_DeployDirectory);
label.setForeground(toolkit.getColors().getColor(IFormColors.TITLE));
deployText = toolkit.createText(composite, getDeployDir(), SWT.BORDER);
@@ -178,38 +187,31 @@
}
});
- deployText.setEnabled(customRadio.getSelection());
- tempDeployText.setEnabled(customRadio.getSelection());
+ deployText.setEnabled(customRadio == null || customRadio.getSelection());
+ tempDeployText.setEnabled(customRadio == null || customRadio.getSelection());
FormData descriptionLabelData = new FormData();
descriptionLabelData.left = new FormAttachment(0,5);
descriptionLabelData.top = new FormAttachment(0,5);
descriptionLabel.setLayoutData(descriptionLabelData);
- FormData radios = new FormData();
- radios.top = new FormAttachment(descriptionLabel,5);
- radios.left = new FormAttachment(0,5);
- radios.right = new FormAttachment(100,-5);
- inner.setLayoutData(radios);
-
-
// first row
FormData labelData = new FormData();
labelData.left = new FormAttachment(0,5);
labelData.right = new FormAttachment(deployText,-5);
- labelData.top = new FormAttachment(inner,5);
+ labelData.top = new FormAttachment(top,5);
label.setLayoutData(labelData);
FormData textData = new FormData();
textData.left = new FormAttachment(deployButton, -305);
- textData.top = new FormAttachment(inner,5);
+ textData.top = new FormAttachment(top,5);
textData.right = new FormAttachment(deployButton, -5);
deployText.setLayoutData(textData);
FormData buttonData = new FormData();
buttonData.right = new FormAttachment(100,-5);
buttonData.left = new FormAttachment(100, -100);
- buttonData.top = new FormAttachment(inner,2);
+ buttonData.top = new FormAttachment(top,2);
deployButton.setLayoutData(buttonData);
// second row
@@ -439,7 +441,7 @@
private String makeRelative(String path) {
if (getRuntime() == null) {
- return "";
+ return path;
}
return DeployableServer.makeRelative(getRuntime(), new Path(path)).toString();
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/StrippedServerWizardFragment.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/StrippedServerWizardFragment.java 2009-01-23 08:22:19 UTC (rev 13225)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/StrippedServerWizardFragment.java 2009-01-23 10:06:53 UTC (rev 13226)
@@ -63,10 +63,10 @@
private IWizardHandle handle;
- private Label deployLabel, nameLabel;
- private Text deployText, nameText;
- private Button browse;
- private String name, deployLoc;
+ private Label deployLabel, tempDeployLabel, nameLabel;
+ private Text deployText, tempDeployText, nameText;
+ private Button browse, tempBrowse;
+ private String name, deployLoc, tempDeployLoc;
public StrippedServerWizardFragment() {
}
@@ -75,7 +75,7 @@
this.handle = handle;
Composite main = new Composite(parent, SWT.NONE);
main.setLayout(new FormLayout());
-
+
nameLabel = new Label(main, SWT.NONE);
nameText = new Text(main, SWT.BORDER);
nameLabel.setText(Messages.serverName);
@@ -86,17 +86,12 @@
deployLabel.setText(Messages.swf_DeployDirectory);
browse.setText(Messages.browse);
- FormData lData = new FormData();
- lData.top = new FormAttachment(nameText,5);
- lData.left = new FormAttachment(0,5);
- deployLabel.setLayoutData(lData);
+ tempDeployLabel = new Label(main, SWT.NONE);
+ tempDeployText = new Text(main, SWT.BORDER);
+ tempBrowse = new Button(main, SWT.PUSH);
+ tempDeployLabel.setText(Messages.swf_TempDeployDirectory);
+ tempBrowse.setText(Messages.browse);
- FormData tData = new FormData();
- tData.top = new FormAttachment(nameText,5);
- tData.left = new FormAttachment(deployLabel,5);
- tData.right = new FormAttachment(browse, -5);
- deployText.setLayoutData(tData);
-
FormData namelData = new FormData();
namelData.top = new FormAttachment(0,5);
namelData.left = new FormAttachment(0,5);
@@ -108,11 +103,40 @@
nametData.right = new FormAttachment(100,-5);
nameText.setLayoutData(nametData);
+ FormData lData = new FormData();
+ lData.top = new FormAttachment(nameText,5);
+ lData.left = new FormAttachment(0,5);
+ deployLabel.setLayoutData(lData);
+
+ FormData tData = new FormData();
+ tData.top = new FormAttachment(nameText,5);
+ tData.left = new FormAttachment(deployLabel,5);
+ tData.right = new FormAttachment(browse, -5);
+ deployText.setLayoutData(tData);
+
FormData bData = new FormData();
bData.right = new FormAttachment(100,-5);
bData.top = new FormAttachment(nameText,5);
browse.setLayoutData(bData);
+
+ FormData templData = new FormData();
+ templData.top = new FormAttachment(deployText,5);
+ templData.left = new FormAttachment(0,5);
+ tempDeployLabel.setLayoutData(templData);
+
+ FormData temptData = new FormData();
+ temptData.top = new FormAttachment(deployText,5);
+ temptData.left = new FormAttachment(tempDeployLabel,5);
+ temptData.right = new FormAttachment(tempBrowse, -5);
+ tempDeployText.setLayoutData(temptData);
+
+ FormData tempbData = new FormData();
+ tempbData.right = new FormAttachment(100,-5);
+ tempbData.top = new FormAttachment(deployText,5);
+ tempBrowse.setLayoutData(tempbData);
+
+
ModifyListener ml = new ModifyListener() {
public void modifyText(ModifyEvent e) {
textChanged();
@@ -131,7 +155,21 @@
}
});
+ tempBrowse.addSelectionListener(new SelectionListener() {
+ public void widgetDefaultSelected(SelectionEvent e) {
+ }
+ public void widgetSelected(SelectionEvent e) {
+ DirectoryDialog d = new DirectoryDialog(new Shell());
+ d.setFilterPath(tempDeployText.getText());
+ String x = d.open();
+ if( x != null )
+ tempDeployText.setText(x);
+ }
+ });
+
+
deployText.addModifyListener(ml);
+ tempDeployText.addModifyListener(ml);
nameText.addModifyListener(ml);
nameText.setText(getDefaultNameText());
handle.setImageDescriptor(JBossServerUISharedImages.getImageDescriptor(JBossServerUISharedImages.WIZBAN_DEPLOY_ONLY_LOGO));
@@ -142,6 +180,7 @@
IStatus status = checkErrors();
if( status.isOK() ) {
deployLoc = deployText.getText();
+ tempDeployLoc = tempDeployText.getText();
name = nameText.getText();
handle.setMessage("", IStatus.OK);
handle.update();
@@ -156,8 +195,12 @@
}
File f = new File(deployText.getText());
if( !f.exists() || !f.isDirectory() ) {
- return new Status(IStatus.WARNING, JBossServerUIPlugin.PLUGIN_ID, IStatus.OK, "Folder does not exist", null);
+ return new Status(IStatus.WARNING, JBossServerUIPlugin.PLUGIN_ID, IStatus.OK, "Deploy Folder does not exist", null);
}
+ f = new File(tempDeployText.getText());
+ if( !f.exists() || !f.isDirectory() ) {
+ return new Status(IStatus.WARNING, JBossServerUIPlugin.PLUGIN_ID, IStatus.OK, "Temporary Deploy Folder does not exist", null);
+ }
return new Status(IStatus.OK, JBossServerUIPlugin.PLUGIN_ID, IStatus.OK, "", null);
}
@@ -191,6 +234,7 @@
swcInternal = (ServerWorkingCopy)swc;
swcInternal.setName(name);
swcInternal.setAttribute(DeployableServer.DEPLOY_DIRECTORY, deployLoc);
+ swcInternal.setAttribute(DeployableServer.TEMP_DEPLOY_DIRECTORY, tempDeployLoc);
getTaskModel().putObject(TaskModel.TASK_SERVER, swcInternal);
}
}
15 years, 11 months
JBoss Tools SVN: r13225 - trunk/jmx/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-23 03:22:19 -0500 (Fri, 23 Jan 2009)
New Revision: 13225
Added:
trunk/jmx/docs/reference/en/modules/extensions.xml
Log:
added page
Added: trunk/jmx/docs/reference/en/modules/extensions.xml
===================================================================
--- trunk/jmx/docs/reference/en/modules/extensions.xml (rev 0)
+++ trunk/jmx/docs/reference/en/modules/extensions.xml 2009-01-23 08:22:19 UTC (rev 13225)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<chapter id="extensions" xreflabel="extensions">
+ <?dbhtml filename="extensions"?>
+ <title>Extension API</title>
+ <para>This chapter will outline how to contribute your own Server type with some default behavior</para>
+
+ <section>
+ <title>Why??</title>
+ <para>You might be asking yourself why you'd need to extend this framework if JMX is a standard.
+ Perhaps you want a connection to be automatically created after some specific action,
+ or perhaps you want your connection wizard to do more than simply set a host and port.
+ JBoss, for example, requires setting some credentials on the client machine, but
+ using JBoss classes to do it. This requires that the connection have access to
+ JBoss jars.</para>
+ </section>
+
+ <section><title>Core Extensions</title>
+ <para>To create your own JMX Connection type, you must use the org.jboss.tools.jmx.core.MBeanServerConnectionProvider extension point. This point takes one child, a connectionProvider with a class that implements org.jboss.tools.jmx.core.IConnectionProvider.</para>
+ <para>An IConnectionProvider is resposnbile for creation and deletion of IConnectionWrapper objects. It must also keep a list of listeners that it is expected to inform when a connection is added or removed from its list. </para>
+ <para>Each IConnectionWrapper is expected to handle running arbitrary JMX runnables or getting a "Root" object representing all JMX nodes. There are some utility methods the IConnectionWrapper can make use of.</para>
+ </section>
+
+
+ <section><title>UI Extensions</title>
+ <para>There are two extension points currently approved for use in the UI</para>
+ <itemizedlist>
+ <listitem><para>org.jboss.tools.jmx.ui.providerUI - provide an icon, id, displayable name, and wizardPage class for creation of new connections</para></listitem>
+ <listitem><para>org.jboss.tools.jmx.ui.attribute.controls - allows you to map class types to some Control to present them in the MBean Editor</para></listitem>
+ </itemizedlist>
+ </section>
+
+</chapter>
15 years, 11 months
JBoss Tools SVN: r13224 - trunk/jmx/docs/reference/en.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-23 03:21:25 -0500 (Fri, 23 Jan 2009)
New Revision: 13224
Modified:
trunk/jmx/docs/reference/en/master.xml
Log:
added extensions page
Modified: trunk/jmx/docs/reference/en/master.xml
===================================================================
--- trunk/jmx/docs/reference/en/master.xml 2009-01-23 08:01:34 UTC (rev 13223)
+++ trunk/jmx/docs/reference/en/master.xml 2009-01-23 08:21:25 UTC (rev 13224)
@@ -7,7 +7,8 @@
<!ENTITY mbean_editor SYSTEM "modules/mbean_editor.xml">
<!ENTITY connection SYSTEM "modules/connection.xml">
<!ENTITY how_to SYSTEM "modules/how_to.xml">
-
+<!ENTITY extensions SYSTEM "modules/extensions.xml">
+
<!ENTITY seamlink "../../seam/html_single/index.html">
<!ENTITY aslink "../../as/html_single/index.html">
@@ -59,5 +60,5 @@
&mbean_editor;
&connection;
&how_to;
-
+ &extensions;
</book>
15 years, 11 months
JBoss Tools SVN: r13223 - trunk/documentation/guides/GettingStartedGuide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: msorokin
Date: 2009-01-23 03:01:34 -0500 (Fri, 23 Jan 2009)
New Revision: 13223
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/project_examples.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-476
The chapter about Project Examples is added to the Getting Started guide
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/project_examples.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/project_examples.xml 2009-01-23 07:34:43 UTC (rev 13222)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/project_examples.xml 2009-01-23 08:01:34 UTC (rev 13223)
@@ -37,7 +37,7 @@
</figure>
<itemizedlist>
- <listitem><para>Now in the New Project Example dialog you can select a project you would like to explore.</para></listitem>
+ <listitem><para>Now in the New Project Example dialog you can select a project you would like to explore</para></listitem>
</itemizedlist>
@@ -52,7 +52,7 @@
</figure>
<itemizedlist>
- <listitem><para>Press <emphasis><property>Finish</property></emphasis> to start downloading the project from the repository.
+ <listitem><para>Press <emphasis><property>Finish</property></emphasis> to start downloading the project from the repository
</para></listitem>
</itemizedlist>
15 years, 11 months
JBoss Tools SVN: r13222 - trunk/jmx/docs/reference/en/images.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-23 02:34:43 -0500 (Fri, 23 Jan 2009)
New Revision: 13222
Added:
trunk/jmx/docs/reference/en/images/mbean-explorer-features.png
trunk/jmx/docs/reference/en/images/mbean-explorer-query.png
Log:
forgot images
Added: trunk/jmx/docs/reference/en/images/mbean-explorer-features.png
===================================================================
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en/images/mbean-explorer-features.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en/images/mbean-explorer-query.png
===================================================================
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en/images/mbean-explorer-query.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 11 months
JBoss Tools SVN: r13221 - in trunk/jmx/docs/reference/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-23 02:34:01 -0500 (Fri, 23 Jan 2009)
New Revision: 13221
Modified:
trunk/jmx/docs/reference/en/master.xml
trunk/jmx/docs/reference/en/modules/connection.xml
trunk/jmx/docs/reference/en/modules/how_to.xml
trunk/jmx/docs/reference/en/modules/introduction.xml
trunk/jmx/docs/reference/en/modules/mbean_editor.xml
trunk/jmx/docs/reference/en/modules/mbean_explorer.xml
Log:
fixing up / improving docs
Modified: trunk/jmx/docs/reference/en/master.xml
===================================================================
--- trunk/jmx/docs/reference/en/master.xml 2009-01-23 00:40:39 UTC (rev 13220)
+++ trunk/jmx/docs/reference/en/master.xml 2009-01-23 07:34:01 UTC (rev 13221)
@@ -3,8 +3,8 @@
"http://www.docbook.org/xml/4.3/docbookx.dtd"
[<!ENTITY introduction SYSTEM "modules/introduction.xml">
+<!ENTITY mbean_explorer SYSTEM "modules/mbean_explorer.xml">
<!ENTITY mbean_editor SYSTEM "modules/mbean_editor.xml">
-<!ENTITY mbean_explorer SYSTEM "modules/mbean_explorer.xml">
<!ENTITY connection SYSTEM "modules/connection.xml">
<!ENTITY how_to SYSTEM "modules/how_to.xml">
@@ -41,7 +41,7 @@
<holder>JBoss, a division of Red Hat Inc.</holder>
</copyright>
<releaseinfo>
- Version: 0.5.0.CR1
+ Version: 1.0.0.CR2
</releaseinfo>
<abstract>
<title/>
@@ -55,8 +55,8 @@
<toc/>
&introduction;
+ &mbean_explorer;
&mbean_editor;
- &mbean_explorer;
&connection;
&how_to;
Modified: trunk/jmx/docs/reference/en/modules/connection.xml
===================================================================
--- trunk/jmx/docs/reference/en/modules/connection.xml 2009-01-23 00:40:39 UTC (rev 13220)
+++ trunk/jmx/docs/reference/en/modules/connection.xml 2009-01-23 07:34:01 UTC (rev 13221)
@@ -2,20 +2,38 @@
<chapter id="connection" xreflabel="connection">
<?dbhtml filename="connection.html"?>
- <title>Connection</title>
- <para> There are two ways to connect to an application with remote management enabled:</para>
- <para> The first step is the same for both - to connect to a MBean Server - click on the
- Connect... icon () in the MBean Explorer menu bar, </para>
- <para>Then to follow the simple one you just need to specify host, port (and optionally user
- name & password) and click OK</para>
- <para>The default JMX URL is service:jmx:rmi:///jndi/rmi://localhost:3000/jmxrmi </para>
+ <title>Connections</title>
+
+ <para>The MBean Explorer supports several different types of connections.
+ The tooling itself comes only with a default connection type, however other
+ adopters can provide additional connection types that may require additional
+ or non-spec behavior. Connections can be in either the connected state or
+ the disconnected state. Some connection types (such as the default connection type)
+ allow you to control the current state. Other connection types may not. </para>
- <para> In case you need to connect to an application which has not used the "standard" JMX URL
- (e.g. Eclipse Equinox), you need chose more advance way, where it's necessary to specify
- explicitly a JMX URL in the Advanced Tab of the JMX Connection window </para>
+ <para>Similarly, some connection types may be able to be created, and others may not.
+ The default connection type, for example, can be created and deleted by you
+ at will. The ASTools connection type, which represents a JBoss server, does not
+ allow you this level of control. A JBoss JMX connection is created when a JBoss server is created
+ in the server's view, and deleted when said server is deleted. The JMX connection for
+ this server is in the connected state only when the server is started. </para>
+
+
+ <section><title>The Default Connection</title>
+ <para> There are two ways to connect to an application with remote management enabled:</para>
+ <para> The first step is the same for both - to connect to a MBean Server - click on the
+ Connect... icon () in the MBean Explorer menu bar, </para>
+ <para>Then to follow the simple one you just need to specify host, port (and optionally user
+ name & password) and click OK</para>
+ <para>The default JMX URL is service:jmx:rmi:///jndi/rmi://localhost:3000/jmxrmi </para>
- <note>
- <title>Note</title>
- <para>only JMX URL based on RMI are supported </para>
- </note>
-</chapter>
\ No newline at end of file
+ <para> In case you need to connect to an application which has not used the "standard" JMX URL
+ (e.g. Eclipse Equinox), you need chose more advance way, where it's necessary to specify
+ explicitly a JMX URL in the Advanced Tab of the JMX Connection window </para>
+
+ <note>
+ <title>Note</title>
+ <para>only JMX URL based on RMI are supported </para>
+ </note>
+ </section>
+</chapter>
Modified: trunk/jmx/docs/reference/en/modules/how_to.xml
===================================================================
--- trunk/jmx/docs/reference/en/modules/how_to.xml 2009-01-23 00:40:39 UTC (rev 13220)
+++ trunk/jmx/docs/reference/en/modules/how_to.xml 2009-01-23 07:34:01 UTC (rev 13221)
@@ -16,14 +16,14 @@
</section>
<section>
- <title>How to manage Eclipse Equinox using eclipse-jmx</title>
+ <title>How to manage Eclipse Equinox</title>
- <para> You can manage Equinox using eclipse-jmx through Equinox monitoring framework.</para>
- <para> Once you have installed Equinox monitoring framework and restarted Eclipse:</para>
+ <para> You can manage Equinox through the Equinox monitoring framework.</para>
+ <para> Once you have installed the Equinox monitoring framework and restarted Eclipse:</para>
<itemizedlist>
<listitem><para> Go to Window > Open Perspective > Other... and select the JMX Resource Management perspective</para></listitem>
<listitem><para> Select JMX Server > Open Connection and click on OK</para></listitem>
- <listitem><para> Switch to eclipse-jmx perspective by going to Window > Open Perspective > Other... and selecting the JMX perspective</para></listitem>
+ <listitem><para> Switch to the MBean explorer by going to Window > Show View > Other... and selecting the MBean Explorer</para></listitem>
<listitem><para> click on the Connect... icon () in the MBean Explorer menu bar </para></listitem>
<listitem><para> select the Advanced tab and set the JMX URL to service:jmx:rmi:///jndi/rmi://:8118/jmxserver </para></listitem>
</itemizedlist>
@@ -31,6 +31,25 @@
</section>
+ <section>
+ <title>Managing JBoss Instances</title>
+ <para>Managing JBoss instnaces is not supported with the JMX Tools alone.
+ You must also download and install the ASTools portion of the JBossTools 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 AS Tools section, however,
+ the short summary is: </para>
+ <itemizedlist>
+ <listitem><para>Open the JBoss Servers View or the Servers View</para></listitem>
+ <listitem><para>Right-click in the view and select New -> Server</para></listitem>
+ <listitem><para>In the "JBoss, a division of Red Hat" section, select a server version</para></listitem>
+ <listitem><para>If a runtime has not yet been created, you'll be prompted for the server's home directory, JDK, and configuration.</para></listitem>
+ <listitem><para>Finish the wizard and note that you have a new entry in both the Server View and the MBean Explorer</para></listitem>
+ <listitem><para>Start the server by right-clicking it and selecting Start</para></listitem>
+ <listitem><para>Note that once the server is started, the JMX connection can be expanded</para></listitem>
+ </itemizedlist>
+
+ <para>Now you can explore MBeans exposed by a JBoss instance</para>
+ </section>
-
-</chapter>
\ No newline at end of file
+</chapter>
Modified: trunk/jmx/docs/reference/en/modules/introduction.xml
===================================================================
--- trunk/jmx/docs/reference/en/modules/introduction.xml 2009-01-23 00:40:39 UTC (rev 13220)
+++ trunk/jmx/docs/reference/en/modules/introduction.xml 2009-01-23 07:34:01 UTC (rev 13221)
@@ -8,7 +8,7 @@
applications through JMX and its RMI Connector.</para>
<figure>
- <title>Eclipse JMX</title>
+ <title>JMX Tools</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/eclipse-jmx_0.2.png"/>
@@ -18,87 +18,59 @@
<section>
<title> Requirements </title>
- <para> Requirements to use eclipse-jmx are the following: </para>
+ <para> Requirements to use JMX Tools are the following: </para>
<itemizedlist>
<listitem>
- <para> eclipse-jmx is developed on Eclipse 3.3 milestones. It is also tested on latest
- stable 3.2 release.</para>
+ <para> JMX Tools is developed on Eclipse 3.4.x milestones.</para>
</listitem>
<listitem>
- <para> eclipse-jmx requires that Eclipse is run on a JDK 1.5.0 or above (due to dependencies
+ <para> JMX Tools requires that Eclipse is run on a JDK 1.5.0 or above (due to dependencies
on JMX packages which were introduced in Java 1.5.0)</para>
</listitem>
</itemizedlist>
</section>
+ <section><title>History</title>
+ <para>JBossTools' JMX Tools 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>Installation</title>
-
- <para>eclipse-jmx can be installed either by using Eclipse update manager or by downloading it and installing it manually in Eclipse.</para>
-
- <tip><title>Tip</title>
- <para>Check Requirements to see what is required to install and use eclipse-jmx. </para></tip>
-
- <section> <title>Manual Installation</title>
- <para> Follow the next steps to install the plugin manually: </para>
-
- <itemizedlist>
- <listitem> <para>Download the latest release from http://code.google.com/p/eclipse-jmx/downloads/list</para></listitem>
- <listitem> <para> Unzip the file in you Eclipse installation</para></listitem>
- <listitem><para>(Re)Start Eclipse </para></listitem>
- </itemizedlist>
- </section>
-
- <section> <title> Installation using Eclipes update manager</title>
-
- <para>In Eclipse:</para>
-
- <itemizedlist>
- <listitem> <para> go to Help > Software Updates > Find and Install...</para></listitem>
- <listitem> <para> check Search for new features to install and click Next </para></listitem>
- <listitem> <para> click on New Remote Site...</para></listitem>
- <listitem> <para> in the New Update Site window, type:</para></listitem>
- <listitem> <para> Name: eclipse-jmx</para></listitem>
- <listitem> <para> URL: http://eclipse-jmx.googlecode.com/svn/trunk/net.jmesnil.jmx.update/ </para></listitem>
- <listitem> <para> click on OK</para></listitem>
- <listitem> <para> check eclipse-jmx and click on Finish</para></listitem>
- <listitem> <para> expand the features and select the latest one. Then click on Next </para></listitem>
- <listitem> <para> check I accept the terms in the license agreement and click on Next </para></listitem>
- <listitem> <para> click on Finish</para></listitem>
- <listitem> <para> once all the plug-ins are downloaded, click on Install All</para></listitem>
- <listitem> <para> finally, when ask to restart Eclipse, click on Yes</para></listitem>
- </itemizedlist>
- </section>
-
+ <para>Here, we are going to explain how to install the JMX plugins into Eclipse.</para>
+
+ <para>JMX Tools is one module of the JBoss Tools project. JMX Tools has no dependency on any other part of JBossTools, and can be downloaded standalone. Even though the JMX Tools have no dependencies, other plugins, such as ASTools, do depend on the JMX Tooling and even extend it. </para>
+
+ <para>You can find the JBossTools plugins over at the <ulink url="http://labs.jboss.com/tools/download/index.html">download pages</ulink>. The only package you'll need to get is the JMX Tooling, however the AS Tools would give you a more full experience when using JMX with JBoss Servers.
+You can find further download and installation instructions on the JBoss Wiki in the <ulink url="http://labs.jboss.com/wiki/InstallingJBossTools">InstallingJBossTools</ulink> section.</para>
</section>
-
+
+
<section>
<title>Quick Start</title>
- <para>To start using it, it's necessary to open JMX perspective. Go to Window > Open Perspective >
- Other... and then select JMX and click OK </para>
+ <para>To start using the JMX Tools, it's necessary to open MBean explorer. Go to Window > Show View >
+ Other... and then select MBean Explorer and click OK </para>
- <para>The JMX perspective is composed of a single view - MBean Explorer which lists the mbeans.
+ <para>The MBean Explorer lists all of the domains, mbeans, attributes, and operations inside a connection.
When you double-click on a MBean in the MBean Explorer view, it opens a multi-page editor to
manage the MBean. The MBeanEditor is composed of these pages:</para>
<itemizedlist>
<listitem>
- <para> Attributes to get/set the attributes of the MBean</para>
+ <para> Attributes page, to get/set the attributes of the MBean</para>
</listitem>
<listitem>
- <para>Operations to invoke operations on the MBean</para>
+ <para>Operations page, to invoke operations on the MBean</para>
</listitem>
<listitem>
- <para> Notifications to receive notifications from the MBean</para>
+ <para> Notifications page, to receive notifications from the MBean</para>
</listitem>
<listitem>
- <para> Info which displays general information about the MBean </para>
+ <para> Info page, which displays general information about the MBean </para>
</listitem>
</itemizedlist>
- <para>There is a button to update the MBean attribute value (if it is writable)</para>
</section>
-</chapter>
\ No newline at end of file
+</chapter>
Modified: trunk/jmx/docs/reference/en/modules/mbean_editor.xml
===================================================================
--- trunk/jmx/docs/reference/en/modules/mbean_editor.xml 2009-01-23 00:40:39 UTC (rev 13220)
+++ trunk/jmx/docs/reference/en/modules/mbean_editor.xml 2009-01-23 07:34:01 UTC (rev 13221)
@@ -50,34 +50,5 @@
<para>It is only possible to subscribe to MBean, which emits notifications (they must be NotificationBroadcaster).</para></note>
</section>
- <section id="AttributeDisplayExtensionPoints">
- <title>Attribute Display Extension Points</title>
-
- <para>The value of the MBean attributes that are displayed in the MBean Editor is now contributed through 2 extension points:</para>
- <orderedlist>
- <listitem><para>net.jmesnil.jmx.ui.attribute.controls</para></listitem>
- <listitem><para>net.jmesnil.jmx.ui.attribute.bindings</para> </listitem>
- </orderedlist>
- <para>This means that you can now contribute new display for MBean attributes (see some use cases and a simple example in net.jmesnil.jmx.ui.test.interactive plugin.xml)</para>
-
- </section>
-
-
- <section id="OpenMBeanAction">
- <title>Open MBean Action </title>
- <para>A Navigation action helps opening MBeans in a MBean Editor. This action is available
- either through the menu Navigate > Open MBean... or using the key shortcut Ctrl + Shift + M
- (⌘+ Shift + M on Mac OS X)</para>
-
- <figure>
- <title>Opening MBean Dialog</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/open-mbean-dialog_0.2.0.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- </section>
-
-</chapter>
\ No newline at end of file
+
+</chapter>
Modified: trunk/jmx/docs/reference/en/modules/mbean_explorer.xml
===================================================================
--- trunk/jmx/docs/reference/en/modules/mbean_explorer.xml 2009-01-23 00:40:39 UTC (rev 13220)
+++ trunk/jmx/docs/reference/en/modules/mbean_explorer.xml 2009-01-23 07:34:01 UTC (rev 13221)
@@ -33,7 +33,20 @@
the few ones, which interest you.</para>
<para>For example, if you are only interested by MBeans related to memory, typing memo will show
- only the MBeans registered under an ObjectName, which contains memo: </para>
+ any node (domain, mbean, attribute, or operation) that matches that text, as well as
+ that node's parents and children. So if an MBean matches, all attributes and operations from
+ that bean will show. If, however, an attribute or operation name (a leaf node) matches,
+ only that node and its parents in the tree will show.</para>
+
+ <figure>
+ <title>Query Filter</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/mbean-explorer-query.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
<para>A Collapse All button on the MBean Explorer toolbar is used to collapse all the MBeans and
display only the domains. It is also possible to double click on a node to expand/collapse it. </para>
15 years, 11 months
JBoss Tools SVN: r13220 - trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-01-22 19:40:39 -0500 (Thu, 22 Jan 2009)
New Revision: 13220
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java
Log:
Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java
===================================================================
--- trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2009-01-23 00:39:02 UTC (rev 13219)
+++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2009-01-23 00:40:39 UTC (rev 13220)
@@ -219,7 +219,6 @@
importOp.run(null);
JobUtils.waitForIdle(IMPORT_DELAY);
ResourcesUtils.setBuildAutomatically(state);
- JobUtils.waitForIdle(IMPORT_DELAY);
} catch (InvocationTargetException ite) {
// TePlugin.getDefault().logError(ite.getCause());
15 years, 11 months