wcandillon / apdt

Automatically exported from code.google.com/p/apdt
0 stars 0 forks source link

Eclipse (Helios) Weaver Failure #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Eclipse (Helios) from any vendor
2. Add the package source from Wiki/Installing
3. Prepare any PHPAspect project and attempt to start weaving...

What is the expected output? What do you see instead?
The system ought to weave the code together, so you can take what you find in 
weaved/ and run it through an ordinary PHP interpreter...
Instead, sometimes the weaver produces an error message about the parser (I 
can't reproduce it right now) and every time, the weaved/ directory does not 
receive any output from the weaver.

It still works fine in the latest release of Galileo, but there are quirky bugs 
in Galileo that compelled me to want to upgrade (sometimes the editor fails to 
load and you have to clear workspace/.metadata/ to get it back).

What version of the product are you using? On what operating system?
zend-eclipse-php-helios-linux-gtk-x86_64.tar.gz
same results with PDT Helios from Eclipse.org and with 32 bit platform

Please provide any additional information below.

I like AOP! Please bring modern AOP techniques for PHP to the more modern 
Eclipse releases that are still being maintained, so that functionality is not 
lost to more distant future users like myself.

Original issue reported on code.google.com by XULRunne...@gmail.com on 10 Jan 2011 at 7:55

GoogleCodeExporter commented 9 years ago
Maybe it's the whole PDT for Eclipse Helios that is broken...

Errors occurred during the build.
Errors running builder 'Script Builder' on project '#####'.
org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceParserFactory.parse([
C[CLorg/eclipse/dltk/compiler/problem/IProblemReporter;)Lorg/eclipse/dltk/ast/de
clarations/ModuleDeclaration;

I just got this message without invoking any AspectPDT tools, it appears to be 
the same message I was having trouble reproducing with the weaver failure from 
earlier.

Original comment by XULRunne...@gmail.com on 10 Jan 2011 at 8:29

GoogleCodeExporter commented 9 years ago
Same problem after installing APDT
Errors occurred during the build.
Errors running builder 'Script Builder' on project 'Order Example'.
org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceParserFactory.parse([
C[CLorg/eclipse/dltk/compiler/problem/IProblemReporter;)Lorg/eclipse/dltk/ast/de
clarations/ModuleDeclaration;

Original comment by fernando...@gmail.com on 11 Jan 2011 at 10:21

GoogleCodeExporter commented 9 years ago
I am not sure this is an issue caused by APDT... I have some PHP projects that 
are producing this error, but are not APDT enabled, so chance is pretty slim 
that this is an APDT issue.

I have not made a clean install without the APDT tools, to see if this is 
really a bug in PDT, but googling around I have found the error is also 
mentioned at https://bugs.eclipse.org/bugs/show_bug.cgi?id=302871 as 
CLOSED/FIXED, so it must be fixed in some revision.  With Helios, I was not 
able to make the instructions for updating DLTK and PDT work, to make the error 
go away.

I have just heard about Indigo-M4, so now I am going to give that a shot, I 
guess my assertion that Helios is a modern Eclipse is a little off-base...

Does anyone have a working Eclipse with the APDT weaver functional?  I have 
only been able to make it work on galileo, and this nasty bug always keeps 
cropping up.

Original comment by XULRunne...@gmail.com on 11 Jan 2011 at 12:57

GoogleCodeExporter commented 9 years ago
http://paste.pocoo.org/show/318838/

I've posted my Indigo plugins config here, after some tribulation, everything 
seems to be in order except I am still getting (now slightly different message) 
when I attempt to complete the weaving.  I think I will try the attached 
instructions with Galileo and see if I can get a stable config; here is what 
the weaving error looks like:

in Eclipse Indigo "M4"
Version: 3.7.0
Build id: I20101208-1300

An internal error occurred during: "PHPAspect weaving".
org.eclipse.dltk.ast.parser.ISourceParser.parse([C[CLorg/eclipse/dltk/compiler/p
roblem/IProblemReporter;)Lorg/eclipse/dltk/ast/declarations/ModuleDeclaration;

I suspect that Galileo can be made stable, but for now I don't need the weaver 
functionality.

Original comment by XULRunne...@gmail.com on 11 Jan 2011 at 1:43