[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [JBoss Tools] - JBosstoolsVisualEditorFAQ
From:       Yahor Radtsevich <do-not-reply () jboss ! com>
Date:       2013-06-28 14:00:41
Message-ID: 102-10862-3-7527-1372428036403.jivesbs.jivemailuser () https://community ! jboss ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Yahor Radtsevich [https://community.jboss.org/people/yradtsevich] modified the \
document:

"JBosstoolsVisualEditorFAQ"

To view the document, visit: https://community.jboss.org/docs/DOC-10862

--------------------------------------------------------------
*Q: Which platforms are supported by* *Visual Editor?*
*A:* The list of supported platforms (and their IDs):
* Windows with Java 32-bit (win32.win32.x86)
* Windows with Java 64-bit (win32.win32.x86_64) - Experimental support is available \
in JBoss Tools 4.1.0.Beta1/JBoss Developer Studio 7.0.0.Beta1 and above. To enable \
it, you need to install XULRunner from this update site:*  \
http://download.jboss.org/jbosstools/updates/integration/kepler/core/xulrunner/ \
                http://download.jboss.org/jbosstools/updates/integration/kepler/core/xulrunner/
                
* If you cannot start Eclipse after this installation, you may use \
–Dorg.jboss.tools.vpe.loadxulrunner=false option as described in the next question. \
Please comment in  https://issues.jboss.org/browse/JBIDE-2720 JBIDE-2720 if something \
went wrong.

* Linux x86 (gtk.linux.x86)
* Linux x86-64 (gtk.linux.x86_64)
* Mac OS X Cocoa with Java 32-bit (cocoa.macosx.x86)
* Mac OS X Carbon with Java 32-bit (carbon.macosx.x86) [not supported by JBoss Tools \
3.3.0 and later, JBDS 5.0 and later] In brief, Java 64-bit is supported on Linux \
only, on all other systems Visual Editor requires Java 32-bit.

*Q: Eclipse crashes when I use Visual Editor, what can I do?*
*A:* This may happen   in JBoss Tools 3.3.0.M2 and above with Eclipse 3.7.0 due to  \
https://issues.jboss.org/browse/JBIDE-9144 the WebKit and XULRunner conflict. You can \
disable Visual Editor by adding the option \
–Dorg.jboss.tools.vpe.loadxulrunner=false to the eclipse.ini (or jbdevstudio.ini if \
you use JBoss Developer Studio).

*Q: Visual Editor does not start under Linux*
*A:* Linux users may need to do the following to get the visual editor to work \
correctly on their machines.

* The Visual Page Editor (before JBoss Tools 3.1.0.M4) requires the library \
                libstdc++.so.5. This library is contained in the \
                compat-libstdc++-33.i386 package.
* To install this package on Fedora Core or Red Hat Enterprise Linux run the \
following command:

yum install compat-libstdc++-33.i386
** On any other rpm based distributions download libstdc++.so.5 and run the following \
command: rpm -Uvh compat-libstdc++-33.i386
** On Debian and Debian based distributions (e.g. Ubuntu) run the following command:
apt-get install libstdc++5
* In case you have the library installed and you still have issue with starting the \
visual page editor then close all browser views/editors and leave one visual page \
editor open and restart eclipse. This should force a load of the right XULRunner \
viewer.

*Q: Visual Editor doesn't start at any platform and shows message 'The VPE editor \
                can't be run because your system environment needs to be changed \
                slightly'*
*A:* Check if you version of JBoss Developer Studio/JBoss Tools is compatible with \
you version of Eclipse, see the compatibility matrix  \
https://community.jboss.org/docs/DOC-14297 \
http://www.jboss.org/community/wiki/MatrixofsupportedplatformsruntimesandtechnologiesinJBossToolsJBDS



*Q: Visual Editor starts OK, but the following message dialog appears:*
 https://community.jboss.org/servlet/JiveServlet/showImage/102-10862-53-1955/messageNaturesInfo.PNG \
https://community.jboss.org/servlet/JiveServlet/downloadImage/102-10862-53-1955/310-120/messageNaturesInfo.PNG \



*A:* Some functionality of Visual Editor may not work if a project doesn't have \
org.jboss.tools.jsf.jsfnature or org.jboss.tools.jst.web.kb.kbnature in .project \
                configuration. To fix this problem and turn off the message box \
                execute next steps:
* Right mouse button click on a project in Package Explorer.
* Select +Configure -> Add JSF Capabilities+ from the context menu.
* Configure your project using +Add JSF Capabilities+ wizard and press Finish.
*P.S.* If you are sure that your project does not need JSF capabilities, just disable \
this message box by checking "+Do not show this dialog again!+" checkbox.

*Q: Visual Part doesn't start and "XPCOM error -2147467259" is shown*
*A:* Something bad happened with buildin xulrunner. To check it you should:
* Go to Eclipse -> Help -> About -> Installation Details... ->   Configuration 
* find +org.eclipse.swt.browser.XULRunnerPath+ and open this path in terminal
* try xulrunner.exe -version or ./xulrunner -version and it should show what is \
                needed for XR to work
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-10862]

Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128]



[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; \
margin: 0; padding: 20px;">

<div>
	<table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: \
1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tbody>
			<tr>

				<td>

					<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" \
style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: \
6px; -webkit-border-radius: 6px;">  <tbody>
							<tr>
								<td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px \
solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; \
-moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; \
                -webkit-border-top-left-radius: 5px;">
									<h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; \
                margin: 0; display: block !important;">
									<!-- To have a header image/logo replace the name below with your img tag \
                -->
									<!-- Email clients will render the images when the message is read so any \
                image -->
									<!-- must be made available on a public server, so that all recipients can \
                load the image. -->
									<a href="https://community.jboss.org/index.jspa" style="text-decoration: \
none; color: #E1E1E1">JBoss Community</a></h1>  </td>

							</tr>
							<tr>
								<td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; \
color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; \
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; \
-webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: \
17px; font-weight: normal;">  JBosstoolsVisualEditorFAQ
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="https://community.jboss.org/people/yradtsevich">Yahor \
Radtsevich</a> in <i>JBoss Tools</i> - <a \
href="https://community.jboss.org/docs/DOC-10862">View the full document</a> </span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><strong>Q: Which platforms are supported by \
</strong><strong>Visual Editor?</strong></p><p><strong>A:</strong> The list of \
supported platforms (and their IDs):</p><ul><li>Windows with Java 32-bit \
(win32.win32.x86)</li><li>Windows with Java 64-bit (win32.win32.x86_64) - \
Experimental support is available in JBoss Tools 4.1.0.Beta1/JBoss Developer Studio \
7.0.0.Beta1 and above. To enable it, you need to install XULRunner from this update \
site:<ul><li><a class="jive-link-external-small" \
href="http://download.jboss.org/jbosstools/updates/integration/kepler/core/xulrunner/" \
>http://download.jboss.org/jbosstools/updates/integration/kepler/core/xulrunner/</a></li><li>If \
> you cannot start Eclipse after this installation, you may use <span \
> style="font-family: 'courier new', \
> courier;">&ndash;Dorg.jboss.tools.vpe.loadxulrunner=false</span> option as \
> described in the next question.<br/>Please comment in <a \
> class="jive-link-external-small" \
> href="https://issues.jboss.org/browse/JBIDE-2720">JBIDE-2720</a> if something went \
> wrong.</li></ul></li><li>Linux x86 (gtk.linux.x86)</li><li>Linux x86-64 \
> (gtk.linux.x86_64)</li><li>Mac OS X Cocoa with Java 32-bit \
> (cocoa.macosx.x86)</li><li>Mac OS X Carbon with Java 32-bit (carbon.macosx.x86) \
> [not supported by JBoss Tools 3.3.0 and later, JBDS 5.0 and later]</li></ul><p>In \
> brief, Java 64-bit is supported on Linux only, on all other systems Visual Editor \
> requires Java 32-bit.</p><p style="min-height: 8pt; height: 8pt; padding: \
> 0px;">&#160;</p><p><strong>Q: Eclipse crashes when I use Visual Editor, what can I \
> do?</strong></p><p><strong>A:</strong> This may happen&#160; in JBoss Tools \
> 3.3.0.M2 and above with Eclipse 3.7.0 due to <a class="jive-link-external-small" \
> href="https://issues.jboss.org/browse/JBIDE-9144">the WebKit and XULRunner \
> conflict</a>. You can disable Visual Editor by adding the option <span \
> style="font-family: 'courier new', \
> courier;">&ndash;Dorg.jboss.tools.vpe.loadxulrunner=false</span> to the eclipse.ini \
> (or jbdevstudio.ini if you use JBoss Developer Studio).</p><p style="min-height: \
> 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q: Visual Editor does not \
> start under Linux</strong></p><p><strong>A:</strong> Linux users may need to do the \
> following to get the visual editor to work correctly on their machines.</p><p \
> style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li \
> type="ul"><p>The Visual Page Editor (before JBoss Tools 3.1.0.M4) requires the \
> library libstdc+<em>.so.5. This library is contained in the \
> compat-libstdc</em>+-33.i386 package.</p><ul><li type="ul"><p>To install this \
> package on Fedora Core or Red Hat Enterprise Linux run the following \
> command:</p></li></ul></li></ul><p style="padding-left: 90px;"><span \
> style="font-family: courier new,courier;">yum install \
> compat-libstdc++-33.i386</span></p><ul><ul><li type="ul"><p>On any other rpm based \
> distributions download libstdc++.so.5 and run the following \
> command:</p></li></ul></ul><p style="padding-left: 90px;"><span style="font-family: \
> courier new,courier;">rpm -Uvh compat-libstdc++-33.i386</span></p><ul><ul><li \
> type="ul"><p>On Debian and Debian based distributions (e.g. Ubuntu) run the \
> following command:</p></li></ul></ul><p style="padding-left: 90px;"><span \
> style="font-family: courier new,courier;">apt-get install \
> libstdc++5</span></p><ul><li type="ul"><p>In case you have the library installed \
> and you still have issue with starting the visual page editor then close all \
> browser views/editors and leave one visual page editor open and restart eclipse. \
> This should force a load of the right XULRunner viewer.</p></li></ul><p \
> style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q: Visual \
> Editor doesn't start at any platform and shows message <span style="font-size: \
> 12pt;">'</span>The VPE editor can't be run because your system environment needs to \
> be changed slightly<span style="font-size: \
> 12pt;">'</span></strong></p><p><strong>A:</strong> Check if you version of JBoss \
> Developer Studio/JBoss Tools is compatible with you version of Eclipse, see the \
> compatibility matrix <a class="jive-link-wiki-small" \
> href="https://community.jboss.org/docs/DOC-14297">http://www.jboss.org/community/wiki/MatrixofsupportedplatformsruntimesandtechnologiesinJBossToolsJBDS</a></p><p \
> style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: \
> 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q: Visual Editor starts OK, \
> but the following message dialog appears:</strong></p><p style="text-align: \
> center;"><a href="https://community.jboss.org/servlet/JiveServlet/showImage/102-10862-53-1955/messageNaturesInfo.PNG"><span> \
> https://community.jboss.org/servlet/JiveServlet/downloadImage/102-10862-53-1955/310-120/messageNaturesInfo.PNG \
> </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p \
> style="min-height: 8pt; height: 8pt; padding: \
> 0px;">&#160;</p><p><strong>A:</strong> Some functionality of Visual Editor may not \
> work if a project doesn't have org.jboss.tools.jsf.jsfnature or \
> org.jboss.tools.jst.web.kb.kbnature in .project configuration. To fix this problem \
> and turn off the message box execute next steps:</p><ul><li>Right mouse button \
> click on a project in Package Explorer.</li><li>Select <em>Configure -&gt; Add JSF \
> Capabilities</em> from the context menu.</li><li>Configure your project using \
> <em>Add JSF Capabilities</em> wizard and press \
> Finish.</li></ul><p><strong>P.S.</strong> If you are sure that your project does \
> not need JSF capabilities, just disable this message box by checking "<em>Do not \
> show this dialog again!</em>" checkbox.</p><p style="min-height: 8pt; height: 8pt; \
> padding: 0px;">&#160;</p><p><strong>Q: Visual Part doesn't start and "XPCOM error \
> -2147467259" is shown</strong></p><p><strong>A: </strong>Something bad happened \
> with buildin xulrunner. To check it you should:</p><ul><li>Go to Eclipse -&gt; Help \
> -&gt; About -&gt; Installation Details... -&gt;&#160; Configuration </li><li>find \
> <em>org.eclipse.swt.browser.XULRunnerPath</em> and open this path in \
> terminal</li><li>try <span style="font-family: courier new,courier;">xulrunner.exe \
> -version</span> or <span style="font-family: courier new,courier;">./xulrunner \
> -version</span> and it should show what is needed for XR to work</li></ul></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a \
href="https://community.jboss.org/docs/DOC-10862">going to Community</a></p>

	<p style="margin: 0;">Create a new document in JBoss Tools at <a \
href="https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128">Community</a></p>
 </div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>



_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic