Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Build errors with PTP 3.0.2 v201008031934

Yes, both photran and the rephraser engine were part of 3.0.2. If you check the I.I201008031934 build you'll see they are there. I have no idea why you're getting these errors. There are no errors in the compile log that accompanies the build. Perhaps Jeff can shed some light on it?

Greg

On Sep 3, 2010, at 1:43 PM, Orion Poplawski wrote:

> I'm trying to go back and build the last 3.0.2 release, but getting lots of compile errors, some of which follow.  What photran fully integrated into PTP at that point?
> 
>    [javac] Compiling 464 source files to /export/home/orion/redhat/eclipse-ptp-3.0.2/org.eclipse
> .ptp-v201008031934/build/plugins/org.eclipse.photran.core.vpg/@dot
>    [javac] ----------
>    [javac] 1. ERROR in /export/home/orion/redhat/eclipse-ptp-3.0.2/org.eclipse.ptp-v201008031934
> /build/plugins/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/Activator.java 
> (at line 50)
>    [javac]     PhotranVPG.getDatabase().close();
>    [javac]                              ^^^^^
>    [javac] The method close() is undefined for the type PhotranVPGDB
>    [javac] ----------
>    [javac] ----------
>    [javac] 2. WARNING in /export/home/orion/redhat/eclipse-ptp-3.0.2/org.eclipse.ptp-v2010080319
> 34/build/plugins/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/analysis/bind
> ing/Binder.java (at line 9)
>    [javac]     import org.eclipse.photran.internal.core.lexer.Token;
>    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    [javac] The import org.eclipse.photran.internal.core.lexer.Token is never used
>    [javac] ----------
>    [javac] 3. WARNING in /export/home/orion/redhat/eclipse-ptp-3.0.2/org.eclipse.ptp-v2010080319
> 34/build/plugins/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/analysis/bind
> ing/Binder.java (at line 11)
>    [javac]     import org.eclipse.photran.internal.core.vpg.PhotranVPGBuilder;
>    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    [javac] The import org.eclipse.photran.internal.core.vpg.PhotranVPGBuilder is never used
>    [javac] ----------
>    [javac] ----------
>    [javac] 4. ERROR in /export/home/orion/redhat/eclipse-ptp-3.0.2/org.eclipse.ptp-v201008031934
> /build/plugins/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/analysis/bindin
> g/Definition.java (at line 53)
>    [javac]     import org.eclipse.rephraserengine.core.vpg.TokenRef;
>    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    [javac] The import org.eclipse.rephraserengine.core cannot be resolved
>    [javac] ----------
>    [javac] 5. ERROR in /export/home/orion/redhat/eclipse-ptp-3.0.2/org.eclipse.ptp-v201008031934
> /build/plugins/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/analysis/bindin
> g/Definition.java (at line 503)
>    [javac]     marker.setAttribute(IMarker.CHAR_START, tokenRef.getOffset());
>    [javac]                                                      ^^^^^^^^^
>    [javac] The method getOffset() is undefined for the type PhotranTokenRef
>    [javac] ----------
>    [javac] 6. ERROR in /export/home/orion/redhat/eclipse-ptp-3.0.2/org.eclipse.ptp-v201008031934
> /build/plugins/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/analysis/bindin
> g/Definition.java (at line 504)
>    [javac]     marker.setAttribute(IMarker.CHAR_END, tokenRef.getEndOffset());
>    [javac]                                                    ^^^^^^^^^^^^
>    [javac] The method getEndOffset() is undefined for the type PhotranTokenRef
>    [javac] ----------
>    [javac] 7. ERROR in /export/home/orion/redhat/eclipse-ptp-3.0.2/org.eclipse.ptp-v201008031934
> /build/plugins/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/analysis/bindin
> g/Definition.java (at line 604)
>    [javac]     for (TokenRef<Token> r : PhotranVPG.getDatabase().getIncomingEdgeSources(tokenRef
> , PhotranVPG.BINDING_EDGE_TYPE))
>    [javac]          ^^^^^^^^
>    [javac] TokenRef cannot be resolved to a type
>    [javac] ----------
>    [javac] 8. ERROR in /export/home/orion/redhat/eclipse-ptp-3.0.2/org.eclipse.ptp-v201008031934
> /build/plugins/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/analysis/bindin
> g/Definition.java (at line 604)
>    [javac]     for (TokenRef<Token> r : PhotranVPG.getDatabase().getIncomingEdgeSources(tokenRef
> , PhotranVPG.BINDING_EDGE_TYPE))
>    [javac] ^^^^^^^^^^^^^^^^^^^^^^
>    [javac] The method getIncomingEdgeSources(PhotranTokenRef, int) is undefined for the type Pho
> tranVPGDB
> 
> -- 
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA/CoRA Division                    FAX: 303-415-9702
> 3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
> Boulder, CO 80301              http://www.cora.nwra.com
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev



Back to the top