[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-4236) Compile error in vpe-ui-test.jar when built w/ 64-bit Linux GTK Eclipse

Denis Golovin (JIRA) jira-events at lists.jboss.org
Fri Apr 24 13:58:46 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-4236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin updated JBIDE-4236:
---------------------------------

    Component/s: Build/Releng


Checked sources for 64-bit x86 Linux StyledText definitely has this method

/**
 * Returns the line at the given line index without delimiters.
 * Index 0 is the first line of the content. When there are not
 * any lines, getLine(0) is a valid call that answers an empty string.
 * <p>
 *
 * @param lineIndex index of the line to return.
 * @return the line text without delimiters
 * 
 * @exception SWTException <ul>
 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
 * </ul>
 * @exception IllegalArgumentException <ul>
 *   <li>ERROR_INVALID_RANGE when the line index is outside the valid range (< 0 or >= getLineCount())</li> 
 * </ul>
 * @since 3.4
 */
public String getLine(int lineIndex) {

> Compile error in vpe-ui-test.jar when built w/ 64-bit Linux GTK Eclipse
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-4236
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4236
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Build/Releng, Visual Page Editor core
>    Affects Versions: 3.0.1.GA, 3.1.0.M1
>         Environment: 64-bit x86 Linux
>            Reporter: Nick Boldt
>
> I've been experimenting with building on 64-bit linux to resolve issue JBQA-2244, and discovered that the reason the tests fail to run there is that we're both building and running the tests w/ the 32-bit Linux GTK Eclipse. So, I've switched to using the correct Eclipse for the platform, and now we get this:
>      [echo]  eclipseArchiveName=eclipse-SDK-3.4.2-linux-gtk-x86_64.tar.gz
> ...
>      [java] vpe-ui-test.jar:
>      [java]     [mkdir] Created dir: /mnt/hudson_workspace/workspace/devstudio-nightly-2.0.x-x86_64/jbds-build/eclipse/plugins/org.jboss.tools.vpe.ui.test/temp.folder/vpe-ui-test.jar.bin
>      [java]     [javac] Compiling 12 source files to /mnt/hudson_workspace/workspace/devstudio-nightly-2.0.x-x86_64/jbds-build/eclipse/plugins/org.jboss.tools.vpe.ui.test/temp.folder/vpe-ui-test.jar.bin
>      [java]     [javac] ----------
>      [java]     [javac] 1. ERROR in /mnt/hudson_workspace/workspace/devstudio-nightly-2.0.x-x86_64/jbds-build/eclipse/plugins/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/TestUtil.java (at line 339)
>      [java]     [javac] 	String currentString = textViewer.getTextWidget().getLine(lineIndex-1);
>      [java]     [javac] 	                                                  ^^^^^^^
>      [java]     [javac] The method getLine(int) is undefined for the type StyledText
>      [java]     [javac] ----------
>      [java]     [javac] 1 problem (1 error)
>      [java]     [javac] Compilation failed. Compiler errors are available in /mnt/hudson_workspace/workspace/devstudio-nightly-2.0.x-x86_64/jbds-build/eclipse/plugins/org.jboss.tools.vpe.ui.test/temp.folder/vpe-ui-test.jar.bin.log
>      [java] Java Result: 13

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list