Re: [Jastadd] Multiple declaration of attribute compilationUnit in class ASTNode

From: Eric Bodden <eric.bodden_at_ec-spride.de>
Date: Wed, 6 Feb 2013 16:53:02 +0100

Hi again.

Ok, I can definitely confirm that the problem also occurs on my machine.

It is really strange. The attribute JastAdd complains about is
definitely defined just once in the file
(/JastAddJ/Java7Frontend/Literals.jrag) and I also cannot find any
other .jrag file that would show a conflicting declaration. Also, when
I simply remove the declaration "inh CompilationUnit
ASTNode.compilationUnit();" the error disappears, which seems to
indicate that there is another declaration somewhere!?

To me this really looks like an odd bug in JastAdd itself but I also
don't understand why this is happening now but wasn't happening four
days ago. As far as I can see, nothing changed.

Eric

On 6 February 2013 13:06, Eric Bodden <eric.bodden_at_ec-spride.de> wrote:
> Hmm, ok that's funny...
>
> I just found out that we already *are* using the stable version. This
> seems to be our current configuration...
>
> abc
> https://svn.sable.mcgill.ca/abc/trunk/aop/abc
> abc-ja
> https://svn.sable.mcgill.ca/abc/trunk/aop/abc-ja
> abc-ja-exts
> https://svn.sable.mcgill.ca/abc/trunk/aop/abc-ja-exts
> abc-testing
> https://svn.sable.mcgill.ca/abc/trunk/aop/abc-testing
> JastAddJ
> http://svn.cs.lth.se/svn/jastadd-oxford/projects/branches/JastAddJ-stable/
> JastAddExtensions/ControlFlowGraph
> http://svn.cs.lth.se/svn/jastadd-oxford/projects/trunk/JastAddExtensions/ControlFlowGraph
> JastAddExtensions/IntertypeDeclarations
> http://svn.cs.lth.se/svn/jastadd-oxford/projects/trunk/JastAddExtensions/IntertypeDeclarations
> JastAddExtensions/JimpleBackend
> http://svn.cs.lth.se/svn/jastadd-oxford/projects/trunk/JastAddExtensions/JimpleBackend
> JastAddExtensions/Jimple1.5Backend
> http://svn.cs.lth.se/svn/jastadd-oxford/projects/trunk/JastAddExtensions/Jimple1.5Backend
> JastAddExtensions/JavaFlattening
> http://svn.cs.lth.se/svn/jastadd-oxford/projects/trunk/JastAddExtensions/JavaFlattening
> JastAddExtensions/SootJastAddJ
> http://svn.cs.lth.se/svn/jastadd-oxford/projects/trunk/JastAddExtensions/SootJastAddJ
> Refactoring
> https://jrrt.googlecode.com/svn/trunk
>
> I guess I will next try perform the very same build locally on my
> machine to see what may be causing the problem.
>
> Eric
>
>
>
> On 6 February 2013 13:02, Eric Bodden <eric.bodden_at_ec-spride.de> wrote:
>> Hello.
>>
>> Thanks Jesper/Görel for the suggestion. I will modify our build
>> accordingly to see if that fixes the problem.
>>
>> Cheers,
>> Eric
>>
>> On 6 February 2013 12:29, Görel Hedin <gorel_at_cs.lth.se> wrote:
>>> Hi Eric,
>>> I think it would be a better idea if you use the latest stable branch:
>>> http://svn.cs.lth.se/svn/jastadd-oxford/projects/branches/JastAddJ-stable/
>>> That way, you will be sure you are using something we have already run all
>>> our local tests on. And if we make changes that will require changes in
>>> downstream projects, the goal is that they will be documented in the
>>> ChangeLog file.
>>> --Görel
>>> 6 feb 2013 kl. 10:11 skrev Jesper Öqvist:
>>>
>>> That's up to you, but you should be aware that it is often unstable.
>>>
>>> /Jesper
>>>
>>> On 02/06/2013 09:07 AM, Eric Bodden wrote:
>>>
>>> Hello.
>>>
>>>
>>> Do you use the JastAdd trunk repository?
>>>
>>> Yes I think so. Is that not a good idea?
>>>
>>>
>>> Eric
>>>
>>>
>>> _______________________________________________
>>> JastAdd mailing list
>>> JastAdd_at_cs.lth.se
>>> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd
>>>
>>>
>>>
>>> _______________________________________________
>>> JastAdd mailing list
>>> JastAdd_at_cs.lth.se
>>> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd
>>>
>>
>>
>>
>> --
>> Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
>> Head of Secure Software Engineering Group at EC SPRIDE
>> Tel: +49 6151 16-75422 Fax: +49 6151 16-72051
>> Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt
>
>
>
> --
> Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
> Head of Secure Software Engineering Group at EC SPRIDE
> Tel: +49 6151 16-75422 Fax: +49 6151 16-72051
> Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt



-- 
Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt
Received on Wed Feb 06 2013 - 16:53:51 CET

This archive was generated by hypermail 2.3.0 : Wed Apr 16 2014 - 17:19:06 CEST