<mailto:
igor@xxxxxxxxxxxxxx>> wrote:
    Are you able to provide complete standalone example that demonstrates
    the problem?
    --
    Regards,
    Igor
    On 12-06-01 5:00 PM, Jay Jay Billings wrote:
        Everyone,
        I get the error below when trying to use EclipseLink in an RCP
        application with Tycho 0.14 -OR- Tycho 0.13. It is resolved by
        adding
        javax.persistence to the imported package list of all of my bundles,
        even those that do not explicitly use it.
        I think this is a regression of this bug:
 
        http://dev.eclipse.org/__mhonarc/lists/tycho-user/__msg00030.html <http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00030.html>
        The DataComponent class mentioned below is annotated with JPA
        annotations and it is class that is used by almost all of the other
        bundles. I would expect the dependency to be resolved transitively.
        Is there a way to fix this in Tycho?
        Jay
        -----
        [ERROR] Failed to execute goal
        org.eclipse.tycho:tycho-__compiler-plugin:0.14.0:compile
        (default-compile)
        on project gov.ornl.nice.niceclient: Compilation failure:
        Compilation
        failure:
        [ERROR]
        /home/bkj/research/NiCE/__NiCEWorkspace/gov.ornl.nice.__niceclient/src/gov/ornl/nice/__niceclient/iniceclient/__uiwidgets/IExtraInfoWidget.__java:[1,0]
        [ERROR] package gov.ornl.nice.niceclient.__iniceclient.uiwidgets;
        [ERROR] ^
        [ERROR] The type javax.persistence.CascadeType cannot be
        resolved. It is
        indirectly referenced from required .class files
        [ERROR]
        /home/bkj/research/NiCE/__NiCEWorkspace/gov.ornl.nice.__niceclient/src/gov/ornl/nice/__niceclient/iniceclient/__uiwidgets/IExtraInfoWidget.__java:[1,0]
        [ERROR] package gov.ornl.nice.niceclient.__iniceclient.uiwidgets;
        [ERROR] ^
        [ERROR] The type javax.persistence.FetchType cannot be resolved.
        It is
        indirectly referenced from required .class files
        [ERROR]
        /home/bkj/research/NiCE/__NiCEWorkspace/gov.ornl.nice.__niceclient/src/gov/ornl/nice/__niceclient/eclipseuiwidgets/__NiCEDataComponentSectionPart.__java:[92,0]
        [ERROR] System.out.println("__DataComponent " +
        dataComp.getName() + ":");
        [ERROR] ^^^^^^^^^^^^^^^^^^
        [ERROR] The type javax.persistence.__GenerationType cannot be
        resolved. It
        is indirectly referenced from required .class files
        [ERROR]
        /home/bkj/research/NiCE/__NiCEWorkspace/gov.ornl.nice.__niceclient/src/gov/ornl/nice/__niceclient/eclipseuiwidgets/__NiCEDataComponentSectionPart.__java:[92,0]
        [ERROR] System.out.println("__DataComponent " +
        dataComp.getName() + ":");
        [ERROR] ^^^^^^^^^^^^^^^^^^
        [ERROR] The type javax.persistence.__InheritanceType cannot be
        resolved.
        It is indirectly referenced from required .class files
        [ERROR] 4 problems (4 errors)
        [ERROR] -> [Help 1]
        _________________________________________________
        tycho-user mailing list
        tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
        https://dev.eclipse.org/__mailman/listinfo/tycho-user
        <https://dev.eclipse.org/mailman/listinfo/tycho-user>
    _________________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
    https://dev.eclipse.org/__mailman/listinfo/tycho-user