|CVS HEAD (20080221) build woes [message #569533]
||Thu, 21 February 2008 16:40
| Karl Trygve Kalleberg
Registered: July 2009
I'm trying to get CVS HEAD built. First some system info:
OS: Xubuntu 7.10, x86, 32bit
JDK: Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
Eclipse: 3.2.2 M20070212-1330, Linux 32bit
The only extra set of plugins on top of the classic 3.2.2 Eclipse is the
..66 release, and the 2.0.9 lpg.runtime (which embeds lpg-linux_x86,
IBM LALR Parser Generator Version 1.00 (Nov 27 2007))
(I have also tried with the .70 release, but that didn't change anything.)
The story so far:
1. Checkout of IMP - ok
2. Checkout of LPG - ok
[I used Jurgen's working set].
3. Automatic building of the checked out projects - fail
[I get a hint from Jurgen about templates and bootstrapping.]
4. Generating all .java files from the provided .g files using
lpg on the command line - almost ok.
I end up getting various errors from LPG, mostly shift/reduce conflicts.
-include-directory='/home/karltk/source/workspaces/imp3/lpg. runtime.java/templates;/home/karltk/source/workspaces/imp3/o rg.eclipse.imp.lpg.metatooling/templates'
in the directory
ASTPatternLexer.gi:261:31:261:31:5066:5066: Error: The undeclared symbol
"_" is assumed to be a terminal
*** In state 11:
*** Shift/reduce conflict on "IDENT" with rule 24
*** In state 36:
*** Shift/reduce conflict on "IDENT" with rule 43
***Warning: ASTPatternParser.g is not LALR(1).
As far as I can tell, I'm using the very latest templates (those I
checked out from CVS -- not those provided by whatever IMP I'm using for
the bootstrapping) both for LPG and for IMP.
In any event, the generated code compiles.
5. Export plugins/features - fail
When trying PDE's Export option, I can successfully export plugins
one by one, but if I try multiple, or if I try to export a feature,
the PDE dependency resolver falls over and claims silly things like
1. ERROR in
/home/karltk/source/workspaces/imp3/org.eclipse.imp.cheatshe ets/src/org/eclipse/imp/cheatsheets/actions/NewBuilderAction .java
The import org.eclipse.imp.wizards.NewBuilder cannot be resolved
6. Executing the generated plugins in an Eclipse env - fail
I've generated all the plugins one by one. However, the
org.eclipse.imp feature fails to export because of the PDE builder
problems mentioned above.
Starting an Eclipse env with a full set of CVS HEAD plugins doesn't
work properly. Only some of the plugins register properly, and I
cannot find any exceptions in Eclipse's startup log to guide me.
Okay, as a general rule, one shouldn't put too many issues into one
post, because most will get ignored. I think my biggest problem at
present is to figure out if the grammars should contain shift/reduce
conflicts [and if not, how to fix it].
-- Karl T
Powered by FUDForum
. Page generated in 0.01713 seconds