Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » CVS HEAD (20080221) build woes
CVS HEAD (20080221) build woes [message #569533] Thu, 21 February 2008 16:40
Karl Trygve Kalleberg is currently offline Karl Trygve Kalleberg
Messages: 7
Registered: July 2009
Junior Member
Hi gang,

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.


Executing

~/source/workspaces/imp3/lpg.generator.linux_x86/lpgexe/lpg- linux_x86
-quiet -list
-include-directory='/home/karltk/source/workspaces/imp3/lpg. runtime.java/templates;/home/karltk/source/workspaces/imp3/o rg.eclipse.imp.lpg.metatooling/templates'
ASTPatternParser.g

in the directory

~/source/workspaces/imp3/org.eclipse.imp.xform/src/org/eclip se/imp/xform/pattern/parser

gives me:

---

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
import org.eclipse.imp.wizards.NewBuilder;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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].


Cheers,

-- Karl T
Previous Topic:IMP on Eclipse 3.3
Next Topic:LPG in linux
Goto Forum:
  


Current Time: Thu Sep 18 05:42:07 GMT 2014

Powered by FUDForum. Page generated in 0.04587 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software