Bug 3786 - Eclipse required by frysk-imports/tests/cdtparserversion/CDTParserTest.java
Summary: Eclipse required by frysk-imports/tests/cdtparserversion/CDTParserTest.java
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-22 17:54 UTC by Jan Kratochvil
Modified: 2008-06-11 20:19 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kratochvil 2006-12-22 17:54:37 UTC
Build fails on:
gcj -C -d . \
                -classpath ../cdtparser/cdtparser.jar \
               
../../../frysk/frysk-imports/tests/cdtparserversion/CDTParserTest.java
../../../frysk/frysk-imports/tests/cdtparserversion/CDTParserTest.java:47:
error: Class or interface
‘org.eclipse.cdt.core.parser.ast.IASTVariableReference’ not found in import.

If Eclipse is required for this testcase the test should get SKIPped if Eclipse
is not installed.
Comment 1 Rick Moseley 2006-12-22 19:16:10 UTC
We have imported our own version of Eclipse's CDT parser into frysk under the
frysk-imports section.  We build and create a CDT parser jar in the
frysk-imports directory.  Looks like maybe the classpath is not picking it up
somehow.

How are you getting this error?  Is this on a fresh checkout/build?

I'll try a fresh checkout/build now.
Comment 2 Jan Kratochvil 2006-12-23 13:35:08 UTC
Running on RHEL5 i686 and it is a fresh frysk build.
I found out of all the `*eclipse*' rpm packages I had `eclipse-ecj' installed.
After I `rpm -e eclipse-ecj' it the configure scripts detected HAVE_ECJ->false
and the build now fails later on:
gcj -I../../frysk/frysk-imports -I. -Igetopt.jar -Ijunit.jar -Werror -Wall -fPIC
 -ggdb2 -fjni -c cdtparser.jar
org/eclipse/cdt/core/dom/ast/ASTTypeUtil.java: In class
'org.eclipse.cdt.core.dom.ast.ASTTypeUtil':
org/eclipse/cdt/core/dom/ast/ASTTypeUtil.java: In method
'org.eclipse.cdt.core.dom.ast.ASTTypeUtil.getType(org.eclipse.cdt.core.dom.ast.IType)':
org/eclipse/cdt/core/dom/ast/ASTTypeUtil.java:261: error: cannot find file for
class org.eclipse.cdt.internal.core.dom.parser.ITypeContainer

Please really check the builds without `*eclipse*' packages installed.
Comment 3 Andrew Cagney 2008-06-11 20:19:12 UTC
Rick, fixed!