JBoss Tools SVN: r25511 - in trunk/vpe: plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template and 6 other directories.
by jbosstools-commits@lists.jboss.org
Author: dvinnichek
Date: 2010-10-06 06:04:15 -0400 (Wed, 06 Oct 2010)
New Revision: 25511
Added:
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookNoteTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookTipTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/ElementWithGeneratedOutputTemplate.java
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml.xml
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/util/Docbook.java
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/vpe-templates-docbook.xml
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml.xml
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/src/org/jboss/tools/vpe/docbook/test/DocbookComponentContentTest.java
Log:
create classes for displaying docbook elements <tip> and <note> in vpe (https://jira.jboss.org/browse/JBIDE-7242)
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2010-10-06 09:44:29 UTC (rev 25510)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2010-10-06 10:04:15 UTC (rev 25511)
@@ -153,6 +153,7 @@
public static final String STYLE_PARAMETER_HEIGHT = "height"; //$NON-NLS-1$
public static final String STYLE_PARAMETER_BACKGROUND_IMAGE = "background-image"; //$NON-NLS-1$
public static final String STYLE_PARAMETER_BACKGROUND_COLOR = "background-color"; //$NON-NLS-1$
+ public static final String STYLE_PARAMETER_BORDER = "border"; //$NON-NLS-1$
public static final String STYLE_PARAMETER_BORDER_WIDTH = "border-width"; //$NON-NLS-1$
public static final String STYLE_PARAMETER_BORDER_STYLE = "border-style"; //$NON-NLS-1$
public static final String STYLE_PARAMETER_MAX_HEIGHT = "max-height"; //$NON-NLS-1$
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookNoteTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookNoteTemplate.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookNoteTemplate.java 2010-10-06 10:04:15 UTC (rev 25511)
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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.vpe.docbook.template;
+
+import org.jboss.tools.vpe.docbook.template.util.Docbook;
+
+/**
+ * Class for <note>
+ *
+ * @author Denis Vinnichek (dvinnichek)
+ */
+public class DocbookNoteTemplate extends ElementWithGeneratedOutputTemplate {
+
+ @Override
+ public String getGeneratedText() {
+ return Docbook.ELEMENT_NOTE.toUpperCase();
+ }
+
+}
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookNoteTemplate.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookTipTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookTipTemplate.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookTipTemplate.java 2010-10-06 10:04:15 UTC (rev 25511)
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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.vpe.docbook.template;
+
+import org.jboss.tools.vpe.docbook.template.util.Docbook;
+
+/**
+ * Class for <tip>
+ *
+ * @author Denis Vinnichek (dvinnichek)
+ */
+public class DocbookTipTemplate extends ElementWithGeneratedOutputTemplate {
+
+ @Override
+ public String getGeneratedText() {
+ return Docbook.ELEMENT_TIP.toUpperCase();
+ }
+
+}
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/DocbookTipTemplate.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/ElementWithGeneratedOutputTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/ElementWithGeneratedOutputTemplate.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/ElementWithGeneratedOutputTemplate.java 2010-10-06 10:04:15 UTC (rev 25511)
@@ -0,0 +1,65 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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.vpe.docbook.template;
+
+import org.jboss.tools.vpe.docbook.template.util.Docbook;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.VisualDomUtil;
+import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
+import org.mozilla.interfaces.nsIDOMCSSStyleDeclaration;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * Abstract Class for elements with generated output
+ *
+ * @author Denis Vinnichek (dvinnichek)
+ */
+public abstract class ElementWithGeneratedOutputTemplate extends
+ VpeAbstractTemplate {
+
+ private static final String BACKGROUND_COLOR = "rgb(236, 243, 255)"; //$NON-NLS-1$
+ private static final String BORDER = "1px solid black"; //$NON-NLS-1$
+
+ @Override
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ Element sourceElement = (Element) sourceNode;
+ nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
+ VisualDomUtil.copyAttributes(sourceNode, div);
+
+ nsIDOMCSSStyleDeclaration style = VpeStyleUtil.getStyle(div);
+ style.setProperty(HTML.STYLE_PARAMETER_BACKGROUND_COLOR,
+ BACKGROUND_COLOR, HTML.STYLE_PRIORITY_DEFAULT);
+ style.setProperty(HTML.STYLE_PARAMETER_BORDER, BORDER,
+ HTML.STYLE_PRIORITY_DEFAULT);
+
+ NodeList titleElements = sourceElement
+ .getElementsByTagName(Docbook.ELEMENT_TITLE);
+ if (titleElements.getLength() == 0) {
+ nsIDOMElement h1 = visualDocument.createElement(HTML.TAG_H1);
+ h1.appendChild(visualDocument.createTextNode(getGeneratedText()));
+ div.appendChild(h1);
+ }
+
+ return new VpeCreationData(div);
+ }
+
+ public abstract String getGeneratedText();
+}
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/ElementWithGeneratedOutputTemplate.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/util/Docbook.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/util/Docbook.java 2010-10-06 09:44:29 UTC (rev 25510)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/src/org/jboss/tools/vpe/docbook/template/util/Docbook.java 2010-10-06 10:04:15 UTC (rev 25511)
@@ -22,4 +22,6 @@
public static final String ATTR_ENDTERM = "endterm"; //$NON-NLS-1$
public static final String ELEMENT_TITLE = "title"; //$NON-NLS-1$
+ public static final String ELEMENT_TIP = "tip"; //$NON-NLS-1$
+ public static final String ELEMENT_NOTE = "note"; //$NON-NLS-1$
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/vpe-templates-docbook.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/vpe-templates-docbook.xml 2010-10-06 09:44:29 UTC (rev 25510)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/vpe-templates-docbook.xml 2010-10-06 10:04:15 UTC (rev 25511)
@@ -394,15 +394,12 @@
</vpe:template>
</vpe:tag>
<vpe:tag name="note" case-sensitive="yes" docbook="yes">
- <vpe:template children="yes" modify="yes">
- <!-- vpe:any background-color="yellow" border="blue" icon="no" /-->
- <div id="{@id}" style="background-color: yellow; border: 1 px solid blue;" />
- </vpe:template>
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.vpe.docbook.template.DocbookNoteTemplate"/>
</vpe:tag>
<vpe:tag name="tip" case-sensitive="yes" docbook="yes">
- <vpe:template children="yes" modify="yes">
- <div id="{@id}" />
- </vpe:template>
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.vpe.docbook.template.DocbookTipTemplate"/>
</vpe:tag>
<vpe:tag name="preface" case-sensitive="yes" docbook="yes">
<vpe:template children="yes" modify="yes">
@@ -641,16 +638,6 @@
<vpe:tag name="xref" case-sensitive="yes" docbook="yes">
<vpe:template children="no" modify="yes"
class="org.jboss.tools.vpe.docbook.template.DocbookXrefTemplate" />
- <!--
- <vpe:if test="attrpresent('linkend')">
- <vpe:template children="no" modify="yes">
- <span id="{@id}"><vpe:value expr="<xref linkend='{@linkend}' />" /></span>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="yes">
- <a href="#{@linkend}">XRef</a>
- </vpe:template>
- -->
</vpe:tag>
<vpe:tag name="legalnotice" case-sensitive="yes" docbook="yes">
<vpe:template children="yes" modify="yes">
Modified: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml 2010-10-06 09:44:29 UTC (rev 25510)
+++ trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml 2010-10-06 10:04:15 UTC (rev 25511)
@@ -1,8 +1,13 @@
<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-<note id="noteEl">
+<note id="note01">
<title>Upcoming Changes</title>
<para>
Future versions of this feature may not be backward-compatible. Consider implementing the revised interface now.
</para>
+</note>
+<note id="note02">
+ <para>
+ Future versions of this feature may not be backward-compatible. Consider implementing the revised interface now.
+ </para>
</note>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml.xml 2010-10-06 09:44:29 UTC (rev 25510)
+++ trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml.xml 2010-10-06 10:04:15 UTC (rev 25511)
@@ -1,6 +1,6 @@
<tests>
- <test id="noteEl">
- <DIV ID="noteEl" STYLE="background-color: yellow;">
+ <test id="note01">
+ <DIV ID="note01" STYLE="border: 1px solid black; background-color: rgb(236, 243, 255);">
<H1>
<SPAN>Upcoming Changes</SPAN>
</H1>
@@ -11,4 +11,16 @@
</P>
</DIV>
</test>
+ <test id="note02">
+ <DIV ID="note02" STYLE="border: 1px solid black; background-color: rgb(236, 243, 255);">
+ <H1>
+ NOTE
+ </H1>
+ <P>
+ <SPAN>
+ Future versions of this feature may not be backward-compatible. Consider implementing the revised interface now.
+ </SPAN>
+ </P>
+ </DIV>
+ </test>
</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml 2010-10-06 10:04:15 UTC (rev 25511)
@@ -0,0 +1,13 @@
+<!DOCTYPE tip PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<tip id="tip01">
+ <title>Title</title>
+ <para>
+ If you tie your shoelaces, you're less likely to trip and fall down.
+ </para>
+</tip>
+<tip id="tip02">
+ <para>
+ If you tie your shoelaces, you're less likely to trip and fall down.
+ </para>
+</tip>
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml.xml 2010-10-06 10:04:15 UTC (rev 25511)
@@ -0,0 +1,20 @@
+<tests>
+ <test id="tip01">
+ <DIV ID="tip01" STYLE="border: 1px solid black; background-color: rgb(236, 243, 255);">
+ <H1>
+ <SPAN>Title</SPAN>
+ </H1>
+ <P>
+ <SPAN>If you tie your shoelaces, you're less likely to trip and fall down.</SPAN>
+ </P>
+ </DIV>
+ </test>
+ <test id="tip02">
+ <DIV ID="tip02" STYLE="border: 1px solid black; background-color: rgb(236, 243, 255);">
+ <H1>TIP</H1>
+ <P>
+ <SPAN>If you tie your shoelaces, you're less likely to trip and fall down.</SPAN>
+ </P>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/tip/tip.xml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/src/org/jboss/tools/vpe/docbook/test/DocbookComponentContentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/src/org/jboss/tools/vpe/docbook/test/DocbookComponentContentTest.java 2010-10-06 09:44:29 UTC (rev 25510)
+++ trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/src/org/jboss/tools/vpe/docbook/test/DocbookComponentContentTest.java 2010-10-06 10:04:15 UTC (rev 25511)
@@ -44,6 +44,10 @@
performContentTest("components/note/note.xml"); //$NON-NLS-1$
}
+ public void testTip() throws Throwable {
+ performContentTest("components/tip/tip.xml"); //$NON-NLS-1$
+ }
+
@Override
protected String getTestProjectName() {
return DocbookAllTests.IMPORT_PROJECT_NAME;
13 years, 8 months
JBoss Tools SVN: r25510 - trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-10-06 05:44:29 -0400 (Wed, 06 Oct 2010)
New Revision: 25510
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java
Log:
https://jira.jboss.org/browse/JBIDE-7264
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java 2010-10-06 08:55:50 UTC (rev 25509)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java 2010-10-06 09:44:29 UTC (rev 25510)
@@ -262,10 +262,10 @@
}
int severity = getSeverity(markerType);
- int existingMarkers = resource.findMarkers(VALIDATION_MARKER, true, IResource.DEPTH_ZERO).length;
- if(existingMarkers>1) {
- return null;
- }
+// int existingMarkers = resource.findMarkers(VALIDATION_MARKER, true, IResource.DEPTH_ZERO).length;
+// if(existingMarkers>1) {
+// return null;
+// }
IMarker item = resource.createMarker(VALIDATION_MARKER); // add a validation marker
13 years, 8 months
JBoss Tools SVN: r25509 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2010-10-06 04:55:50 -0400 (Wed, 06 Oct 2010)
New Revision: 25509
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java
Log:
JBIDE-7267 - grey explore action if file / folder to explore does not exist
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java 2010-10-06 08:36:54 UTC (rev 25508)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java 2010-10-06 08:55:50 UTC (rev 25509)
@@ -86,6 +86,8 @@
if (ExploreUtils.canExplore(server)) {
if (getDeployPath() != null) {
menu.insertBefore(ServerActionProvider.CONTROL_MODULE_SECTION_END_SEPARATOR, exploreAction);
+ boolean exists = getDeployPath().toFile().exists();
+ exploreAction.setEnabled(exists);
}
}
}
13 years, 8 months
JBoss Tools SVN: r25508 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2010-10-06 04:36:54 -0400 (Wed, 06 Oct 2010)
New Revision: 25508
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ExploreUtils.java
Log:
JBIDE-7266 - for nautilus exploring a file should simply open its parent folder
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ExploreUtils.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ExploreUtils.java 2010-10-06 07:42:39 UTC (rev 25507)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ExploreUtils.java 2010-10-06 08:36:54 UTC (rev 25508)
@@ -49,6 +49,9 @@
}
public static String getExploreFileCommand() {
+ exploreFileCommand = null;
+ exploreFolderCommandArray = null;
+ exploreFolderCommand = null;
if (exploreFileCommand == null) {
setExploreCommands();
}
@@ -120,7 +123,8 @@
try {
if (Platform.OS_LINUX.equals(Platform.getOS()) || Platform.OS_MACOSX.equals(Platform.getOS())) {
int len = exploreFolderCommandArray.length;
- exploreFolderCommandArray[len-1] = name;
+ String name2 = file.isFile() ? new Path(name).removeLastSegments(1).toString() : name;
+ exploreFolderCommandArray[len-1] = name2;
Runtime.getRuntime().exec(exploreFolderCommandArray);
} else if (Platform.getOS().equals(Platform.OS_WIN32)) {
command = command.replace(ExploreUtils.PATH, name);
13 years, 8 months
JBoss Tools SVN: r25507 - in trunk/vpe: tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: dvinnichek
Date: 2010-10-06 03:42:39 -0400 (Wed, 06 Oct 2010)
New Revision: 25507
Added:
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml.xml
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/vpe-templates-docbook.xml
trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/src/org/jboss/tools/vpe/docbook/test/DocbookComponentContentTest.java
Log:
some changes with displaying docbook element <note> in vpe (https://jira.jboss.org/browse/JBIDE-7242)
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/vpe-templates-docbook.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/vpe-templates-docbook.xml 2010-10-06 04:47:35 UTC (rev 25506)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/vpe-templates-docbook.xml 2010-10-06 07:42:39 UTC (rev 25507)
@@ -394,7 +394,7 @@
</vpe:template>
</vpe:tag>
<vpe:tag name="note" case-sensitive="yes" docbook="yes">
- <vpe:template children="no" modify="yes">
+ <vpe:template children="yes" modify="yes">
<!-- vpe:any background-color="yellow" border="blue" icon="no" /-->
<div id="{@id}" style="background-color: yellow; border: 1 px solid blue;" />
</vpe:template>
Added: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml 2010-10-06 07:42:39 UTC (rev 25507)
@@ -0,0 +1,8 @@
+<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<note id="noteEl">
+ <title>Upcoming Changes</title>
+ <para>
+ Future versions of this feature may not be backward-compatible. Consider implementing the revised interface now.
+ </para>
+</note>
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml.xml 2010-10-06 07:42:39 UTC (rev 25507)
@@ -0,0 +1,14 @@
+<tests>
+ <test id="noteEl">
+ <DIV ID="noteEl" STYLE="background-color: yellow;">
+ <H1>
+ <SPAN>Upcoming Changes</SPAN>
+ </H1>
+ <P>
+ <SPAN>
+ Future versions of this feature may not be backward-compatible. Consider implementing the revised interface now.
+ </SPAN>
+ </P>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/resources/DocbookTest/WebContent/pages/components/note/note.xml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified: trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/src/org/jboss/tools/vpe/docbook/test/DocbookComponentContentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/src/org/jboss/tools/vpe/docbook/test/DocbookComponentContentTest.java 2010-10-06 04:47:35 UTC (rev 25506)
+++ trunk/vpe/tests/org.jboss.tools.vpe.docbook.test/src/org/jboss/tools/vpe/docbook/test/DocbookComponentContentTest.java 2010-10-06 07:42:39 UTC (rev 25507)
@@ -40,6 +40,10 @@
performContentTest("components/literal/literal.xml"); //$NON-NLS-1$
}
+ public void testNote() throws Throwable {
+ performContentTest("components/note/note.xml"); //$NON-NLS-1$
+ }
+
@Override
protected String getTestProjectName() {
return DocbookAllTests.IMPORT_PROJECT_NAME;
13 years, 8 months
JBoss Tools SVN: r25506 - trunk/build/target-platform.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-10-06 00:47:35 -0400 (Wed, 06 Oct 2010)
New Revision: 25506
Modified:
trunk/build/target-platform/e361-wtp322.target
Log:
regen target from targetUpdateFromRepo.xml
Modified: trunk/build/target-platform/e361-wtp322.target
===================================================================
--- trunk/build/target-platform/e361-wtp322.target 2010-10-06 04:32:44 UTC (rev 25505)
+++ trunk/build/target-platform/e361-wtp322.target 2010-10-06 04:47:35 UTC (rev 25506)
@@ -81,18 +81,18 @@
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit version="1.1.0.v20090119-79318s73533B57" id="com.ibm.icu.base.feature.group"/>
<unit version="1.0.0.v20100510-7K7QErDzbb9z-yqHb55T7I" id="org.eclipse.equinox.server.core.feature.group"/>
- <unit version="1.2.0.v20100427-7B77FKt90GE5h0SDT5FV9A01911" id="org.eclipse.cvs.feature.group"/>
- <unit version="1.2.0.v20100427-7e7jEQFEp4jsWcbqLU9l93" id="org.eclipse.help.feature.group"/>
- <unit version="3.6.1.r361_v20100714-0800-7z8XFUUFLFlmgLc91IWQa85LVkHD" id="org.eclipse.jdt.feature.group"/>
+ <unit version="1.2.0.v20100427-7B77FKt90GE5h0SBT5FV9A01911" id="org.eclipse.cvs.feature.group"/>
+ <unit version="1.2.0.v20100427-7e7jEQFEp4jsWcboLU9l93" id="org.eclipse.help.feature.group"/>
+ <unit version="3.6.1.r361_v20100714-0800-7z8XFUSFLFlmgLc5z-Bvrt8-HVkH" id="org.eclipse.jdt.feature.group"/>
<unit version="3.6.1.r361_v20100910-9gF78GroFrD9Uh-LhvxMFCV2hCz01p6896L" id="org.eclipse.platform.feature.group"/>
<unit version="3.6.1.M20100929-0800" id="org.eclipse.platform.ide"/>
<unit version="3.4.1.R36x_v20100823-7M7K7JF90dnJ-WLf3cf4yi" id="org.eclipse.equinox.executable.feature.group"/>
<unit version="3.4.1.R36x_v20100823-7M7K7JF90dnJ-WLf3cf4yi" id="org.eclipse.equinox.executable"/>
- <unit version="3.6.1.M20100929-0800" id="org.eclipse.platform.sdk"/>
- <unit version="3.6.1.r361_v20100727-7b7mFL-FET3dhESDiE5_bkJ" id="org.eclipse.pde.feature.group"/>
+ <unit version="3.6.1.M20100909-0800" id="org.eclipse.platform.sdk"/>
+ <unit version="3.6.1.r361_v20100727-7b7mFL-FET3dhESDgE5_bkJ" id="org.eclipse.pde.feature.group"/>
<unit version="3.6.1.r361_v20100714-0800-7Q7m6DDaKf5o53L9dz-d8n-yz-tWdHTE5xVLpsrf4c764" id="org.eclipse.sdk.feature.group"/>
- <unit version="3.6.1.r361_v20100827-9OArFLdFjY-ThSQXoKvKz0_T" id="org.eclipse.rcp.feature.group"/>
- <unit version="3.6.0.M20100929-0800" id="org.eclipse.rcp.id"/>
+ <unit version="3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T" id="org.eclipse.rcp.feature.group"/>
+ <unit version="3.6.0.M20100909-0800" id="org.eclipse.rcp.id"/>
<unit version="3.6.0.M20100929-0800" id="org.eclipse.rcp.sdk.id"/>
<unit version="3.3.0.v20100427-44A77w31211642" id="org.eclipse.releng.tools.feature.group"/>
<unit version="3.6.1.M20100929-0800" id="org.eclipse.sdk.ide"/>
@@ -112,7 +112,7 @@
<unit version="1.1.0.M20100929-0800" id="org.eclipse.equinox.p2.ui.admin.rcp.product"/>
<unit version="1.0.0.v20100510-42A79oB5855K5E" id="org.eclipse.equinox.server.servletbridge.feature.group"/>
<unit version="1.0.0.v20100510-44DF8s734C48662444" id="org.eclipse.equinox.server.simple.feature.group"/>
- <unit id="org.eclipse.rcp.feature.group" version="3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T"/>
+ <unit version="3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T" id="org.eclipse.rcp.feature.group"/>
<repository location="http://download.eclipse.org/eclipse/updates/3.6.x/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
@@ -196,4 +196,4 @@
<feature id="org.mozilla.xpcom.feature"/>
</includeBundles>
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-</target>
+</target>
\ No newline at end of file
13 years, 8 months
JBoss Tools SVN: r25505 - trunk/build/target-platform.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-10-06 00:32:44 -0400 (Wed, 06 Oct 2010)
New Revision: 25505
Modified:
trunk/build/target-platform/e361-wtp322.target
trunk/build/target-platform/e361-wtp322.target.p2mirror.xml
Log:
add rcp.feature.group to target
Modified: trunk/build/target-platform/e361-wtp322.target
===================================================================
--- trunk/build/target-platform/e361-wtp322.target 2010-10-06 03:52:22 UTC (rev 25504)
+++ trunk/build/target-platform/e361-wtp322.target 2010-10-06 04:32:44 UTC (rev 25505)
@@ -112,6 +112,7 @@
<unit version="1.1.0.M20100929-0800" id="org.eclipse.equinox.p2.ui.admin.rcp.product"/>
<unit version="1.0.0.v20100510-42A79oB5855K5E" id="org.eclipse.equinox.server.servletbridge.feature.group"/>
<unit version="1.0.0.v20100510-44DF8s734C48662444" id="org.eclipse.equinox.server.simple.feature.group"/>
+ <unit id="org.eclipse.rcp.feature.group" version="3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T"/>
<repository location="http://download.eclipse.org/eclipse/updates/3.6.x/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
@@ -195,4 +196,4 @@
<feature id="org.mozilla.xpcom.feature"/>
</includeBundles>
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-</target>
\ No newline at end of file
+</target>
Modified: trunk/build/target-platform/e361-wtp322.target.p2mirror.xml
===================================================================
--- trunk/build/target-platform/e361-wtp322.target.p2mirror.xml 2010-10-06 03:52:22 UTC (rev 25504)
+++ trunk/build/target-platform/e361-wtp322.target.p2mirror.xml 2010-10-06 04:32:44 UTC (rev 25505)
@@ -110,6 +110,7 @@
<iu version="" id="org.eclipse.equinox.p2.ui.admin.rcp.product"/>
<iu version="" id="org.eclipse.equinox.server.servletbridge.feature.group"/>
<iu version="" id="org.eclipse.equinox.server.simple.feature.group"/>
+<iu version="" id="org.eclipse.rcp.feature.group"/>
<iu version="" id="org.eclipse.birt.feature.group"/>
<iu version="" id="org.eclipse.datatools.connectivity.feature.feature.group"/>
<iu version="" id="org.eclipse.datatools.enablement.feature.feature.group"/>
13 years, 8 months
JBoss Tools SVN: r25504 - in trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-10-05 23:52:22 -0400 (Tue, 05 Oct 2010)
New Revision: 25504
Added:
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Concepts.xml
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Introduction.xml
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/ModeShape_context_submenu.png
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/Preferences_dialog.png
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/Publish_Wizard.png
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/publish_unpublish_console_output.png
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/modeshape-concepts.xml
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/publish_or_unpublish_a_resource-task.xml
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/setting_preferences-task.xml
Modified:
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Book_Info.xml
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/ModeShape_Tools_Reference_Guide.xml
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Tasks.xml
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/master.xml
trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/register_a_new_repository-task.xml
Log:
updated book with new content
Modified: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Book_Info.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Book_Info.xml 2010-10-05 20:20:26 UTC (rev 25503)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Book_Info.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -5,7 +5,7 @@
]>
<bookinfo id="book-ModeShape_Tools_Reference_Guide-ModeShape_Tools_Reference_Guide">
<title>ModeShape Tools Reference Guide</title>
- <subtitle>short description</subtitle>
+ <subtitle>ModeShape tools allow you to interact with the contents of numerious ModeShape repositories.</subtitle>
<productname>JBoss Developer Studio</productname>
<productnumber>4.0</productnumber>
<edition>4.0.0</edition>
Added: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Concepts.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Concepts.xml (rev 0)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Concepts.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!--<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "ModeShape_Tools_Reference_Guide.ent">
+%BOOK_ENTITIES;
+]>-->
+<chapter id="chap-ModeShape_Tools_Reference_Guide-Concepts">
+ <title>Concepts</title>
+ <para>
+ This section outlines the concepts that are assumed information when performing tasks with ModeShape tools.
+ </para>
+ <xi:include href="modeshape-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
+
+
Added: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Introduction.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Introduction.xml (rev 0)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Introduction.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!--<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "ModeShape_Tools_Reference_Guide.ent">
+%BOOK_ENTITIES;
+ ]>-->
+<chapter id="chap-ModeShape_Tools_Reference_Guide-introduction">
+ <title>Introduction</title>
+ <para>
+ ModeShape tools allows you to link your workspace to ModeShape repositories, publish and unpublish resources to the repositories and define what can and cannot be published and unpublished.
+ </para>
+ <para>
+ The Modeshape registry is persisted from session to session.
+ </para>
+</chapter>
+
Modified: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/ModeShape_Tools_Reference_Guide.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/ModeShape_Tools_Reference_Guide.xml 2010-10-05 20:20:26 UTC (rev 25503)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/ModeShape_Tools_Reference_Guide.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -6,6 +6,8 @@
<book>
<xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<index />
Modified: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Tasks.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Tasks.xml 2010-10-05 20:20:26 UTC (rev 25503)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/Tasks.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -9,5 +9,8 @@
This section outlines different tasks that can be achieved through the use of the ModeShape tools.
</para>
<xi:include href="register_a_new_repository-task.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="publish_or_unpublish_a_resource-task.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="setting_preferences-task.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</chapter>
+
Added: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/ModeShape_context_submenu.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/ModeShape_context_submenu.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/Preferences_dialog.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/Preferences_dialog.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/Publish_Wizard.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/Publish_Wizard.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/publish_unpublish_console_output.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/images/publish_unpublish_console_output.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/master.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/master.xml 2010-10-05 20:20:26 UTC (rev 25503)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/master.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -3,7 +3,8 @@
"http://www.oasis-open.org/docbook/xml/4.3CR3/docbookx.dtd"
[<!ENTITY Preface SYSTEM "Preface.xml">
-<!--<!ENTITY Introduction SYSTEM "Introduction.xml"> -->
+<!ENTITY Introduction SYSTEM "Introduction.xml">
+<!ENTITY Concepts SYSTEM "Concepts.xml">
<!ENTITY Tasks SYSTEM "Tasks.xml">
<!ENTITY Revision_History SYSTEM "Revision_History.xml">
]>
@@ -47,7 +48,8 @@
<toc/>
<!-- &Preface; -->
- <!-- &Introduction; -->
+ &Introduction;
+ &Concepts;
&Tasks;
&Revision_History;
Added: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/modeshape-concepts.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/modeshape-concepts.xml (rev 0)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/modeshape-concepts.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!--<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "ModeShape_Tools_Reference_Guide.ent">
+%BOOK_ENTITIES;
+]>-->
+
+<section id="sect-ModeShape_Tools_Reference_Guide-Concepts-ModeShape">
+ <title>ModeShape</title>
+ <para>
+ ModeShape is a component that maintains repositories of resources for your application server, through the implementation of a JCR (Java Content Repository) view. The resources stored can come from many different kinds of systems.
+ </para>
+ <para>
+ To your applications, ModeShape looks and behaves like a regular JCR repository. Using the standard JCR API, applications can search, navigate and listen for changes in content. However, ModeShape retrieves its content by federating multiple back-end systems (such as databases, services and other repositories). This allows those systems to maintain ownership of the information, while ensuring the unified repository remains current.
+ </para>
+ <para>
+ ModeShape repositories can be used in a variety of applications. One such application is provisioning and management. In provisioning and management it is critical to understand and keep track of the metadata for models, databases, services, components, applications, clusters, machines, and other systems used in an enterprise environment. Governance takes that a step further, by also tracking the policies and expectations against which performance can be verified. In these cases, a repository is an excellent mechanism for managing this complex and highly-varied information.
+ </para>
+ <para>
+ A ModeShape repository doesn't have to be large and complex. It could just manage configuration information for an application, or provide a JCR interface on top of non-JCR systems.
+ </para>
+</section>
+
Added: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/publish_or_unpublish_a_resource-task.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/publish_or_unpublish_a_resource-task.xml (rev 0)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/publish_or_unpublish_a_resource-task.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -0,0 +1,55 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!--<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "ModeShape_Tools_Reference_Guide.ent">
+%BOOK_ENTITIES;
+]>-->
+
+<section id="sect-ModeShape_Tools_Reference_Guide-Tasks-Publish_or_unpublish_a_resource">
+ <title>Publish or unpublish a resorce</title>
+ <para>
+ Having registered your ModeShape instances in <xref linkend="sect-ModeShape_Tools_Reference_Guide-Tasks-Register_a_new_repository"/>, you can now publish files to the repositories.
+ </para>
+ <para>
+ Right-clicking on one or more projects, folders, or files in your Eclipse workspace will display the context menu for those files. This menu will now include a ModeShape submenu that allows you to publish or unpublish the resources to your ModeShape repository.
+ </para>
+ <para>
+ When only one resource is selected you can also view the locations where that resource has been published. The published locations of a resource can be viewed by right-clicking on an individual resource and navigating the ModeShape context submenu to the <guimenuitem>Show Published Locations</guimenuitem> option.
+ </para>
+ <figure>
+ <title>ModeShape context submenu</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ModeShape_context_submenu.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ To assist with the publishing or unpublishing of your resource, a wizard will appear when either of these options are selected.
+ </para>
+ <figure id="ModeShape_publishing_wizard">
+ <title>ModeShape publishing wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Publish_Wizard.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The publishing wizard (shown in <xref linkend="ModeShape_publishing_wizard"/>) and unpublishing wizard allows you to choose which ModeShape repository to interact with and displays the selected files the operation will be performed on. When a project or folder is selected all their included files are acted upon.
+ </para>
+ <para>
+ When publishing or unpublishing files, you can see the operation output in the <guilabel>Console</guilabel> view. The type of information that you can view includes the repository where the operation took place, how long the operation took, the outcome for each file included in the operation, a hyperlink that allows you to open the file in an Eclipse editor, and a ModeShape repository workspace URL.
+ </para>
+ <figure id="publish_unpublish_console_output">
+ <title>Console output</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/publish_unpublish_console_output.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ If you wish for certain folders or file types to never be published or unpublished, these conditions can be set through the ModeShape preferences dialog explained in <xref linkend="sect-ModeShape_Tools_Reference_Guide-Tasks-Setting_preferences"/>
+ </para>
+</section>
+
Modified: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/register_a_new_repository-task.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/register_a_new_repository-task.xml 2010-10-05 20:20:26 UTC (rev 25503)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/register_a_new_repository-task.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -43,7 +43,7 @@
Once the server with the ModeShape repository has been added three new options become available within the <guilabel>ModeShape</guilabel> view. These options allow you to <guilabel>Edit server properties</guilabel>, <guilabel>Delete a server from the server registry</guilabel> and <guilabel>Reconnect to the selected server</guilabel>. To perform one of these actions either right-click on a server and select from the presented menu of actions, or use the buttons beside the <guilabel>Create a new server</guilabel> button seen in <xref linkend="Adding_a_new_server_for_ModeShape_repositories"/>.
</para>
<para>
- The <guilabel>ModeShape</guilabel> view also allows you to remove files from a workspace in an environment where the registry is being persisted from session to session.
+ The <guilabel>ModeShape</guilabel> view also allows you to remove files from a workspace.
</para>
</section>
Added: trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/setting_preferences-task.xml
===================================================================
--- trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/setting_preferences-task.xml (rev 0)
+++ trunk/modeshape/docs/ModeShape_Tools_Reference_Guide/en-US/setting_preferences-task.xml 2010-10-06 03:52:22 UTC (rev 25504)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!--<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "ModeShape_Tools_Reference_Guide.ent">
+%BOOK_ENTITIES;
+ ]>-->
+<section id="sect-ModeShape_Tools_Reference_Guide-Tasks-Setting_preferences">
+ <title>Setting preferences</title>
+ <para>
+ The ModeShape <guilabel>Preferences</guilabel> dialog allows you to set specific file types and folders that you never wish to have published to or unpublished from a ModeShape repository. This dialog is accessed by navigating to <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>ModeShape</guimenuitem></menuchoice>.
+ </para>
+ <figure id="Preferences_dialog">
+ <title>ModeShape preferences dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Preferences_dialog.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ To add a new file extention type or folder name to be filtered from publishing, click on the corresponding <guibutton>New</guibutton> button, enter the details and click the <guibutton>Apply</guibutton> button so that your preference changes are saved.
+ </para>
+ <para>
+ Removing an entry is conducted by selecting an entry from one of the lists in the <guilabel>Preferences</guilabel> dialog and clicking on the <guibutton>Remove</guibutton> button. Ensure that you click the <guibutton>Apply</guibutton> button so that your preference changes are saved.
+ </para>
+ <para>
+ As the <guilabel>Preferences</guilabel> dialog lists file types and folders that will never be published to a repository, it follows that those listed will never be unpublished. If you decide to never have a certain file type or folder publishable, though it has been in the past, ensure that all instances of these are unpublished before setting any preferences for the file type or folder.
+ </para>
+ <para>
+ If you do not ensure all file types and folders that are never to be published are unpublished before setting the prefences, then you will be left with instances of these in your ModeShape repositories that cannot be unpublished unless your preferences are changed.
+ </para>
+ <note>
+ <para>
+ Publishing folders or files of a certain file type before setting any preferences inhibiting the publishing of these types can be a way of ensuring that these files will never be removed (unpublished) from your ModeShape repositories by accident or someone else.
+ </para>
+ </note>
+</section>
+
13 years, 8 months
JBoss Tools SVN: r25503 - branches/jbosstools-3.2.0.Beta1/build/parent.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-10-05 16:20:26 -0400 (Tue, 05 Oct 2010)
New Revision: 25503
Modified:
branches/jbosstools-3.2.0.Beta1/build/parent/pom.xml
Log:
-Dusage_reporting_enabled=false moved to configuration from systemProperties property, because systemProperties property can be overriden in test plugin pom.xml
Modified: branches/jbosstools-3.2.0.Beta1/build/parent/pom.xml
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/parent/pom.xml 2010-10-05 20:11:45 UTC (rev 25502)
+++ branches/jbosstools-3.2.0.Beta1/build/parent/pom.xml 2010-10-05 20:20:26 UTC (rev 25503)
@@ -17,7 +17,7 @@
<BUILD_ALIAS>Beta1</BUILD_ALIAS>
<memoryOptions1>-Xms512m -Xmx1024m -XX:PermSize=256m</memoryOptions1>
<memoryOptions2>-XX:MaxPermSize=256m</memoryOptions2>
- <systemProperties>-Dusage_reporting_enabled=false</systemProperties>
+ <systemProperties></systemProperties>
<target.platform>e36-wtp32</target.platform>
</properties>
@@ -95,8 +95,7 @@
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
<useUIHarness>true</useUIHarness>
<useUIThread>true</useUIThread>
- <argLine>${memoryOptions1} ${memoryOptions2} ${systemProperties}
- </argLine>
+ <argLine>${memoryOptions1} ${memoryOptions2} ${systemProperties} -Dusage_reporting_enabled=false</argLine>
<!-- https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho -->
<!-- set useUIThread=true for regular ui tests -->
<!-- set useUIThread=false for swtbot tests (?) -->
13 years, 9 months
JBoss Tools SVN: r25502 - trunk/build/parent.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-10-05 16:11:45 -0400 (Tue, 05 Oct 2010)
New Revision: 25502
Modified:
trunk/build/parent/pom.xml
Log:
-Dusage_reporting_enabled=false moved to configuration from systemProperties property, because systemProperties property can be overriden in test plugin pom.xml
Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml 2010-10-05 19:58:27 UTC (rev 25501)
+++ trunk/build/parent/pom.xml 2010-10-05 20:11:45 UTC (rev 25502)
@@ -17,7 +17,7 @@
<BUILD_ALIAS>Beta2</BUILD_ALIAS>
<memoryOptions1>-Xms512m -Xmx1024m -XX:PermSize=256m</memoryOptions1>
<memoryOptions2>-XX:MaxPermSize=256m</memoryOptions2>
- <systemProperties>-Dusage_reporting_enabled=false</systemProperties>
+ <systemProperties></systemProperties>
<target.platform>e36-wtp32</target.platform>
</properties>
@@ -129,8 +129,7 @@
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
<useUIHarness>true</useUIHarness>
<useUIThread>true</useUIThread>
- <argLine>${memoryOptions1} ${memoryOptions2} ${systemProperties}
- </argLine>
+ <argLine>${memoryOptions1} ${memoryOptions2} ${systemProperties} -Dusage_reporting_enabled=false</argLine>
<!-- https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho -->
<!-- set useUIThread=true for regular ui tests -->
<!-- set useUIThread=false for swtbot tests (?) -->
13 years, 9 months