Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] How to import eclipselink to eclipse?

Success!

Thank you very much for the help!

Gábor

On Fri, Mar 30, 2012 at 3:13 PM, Tom Ware <tom.ware@xxxxxxxxxx> wrote:
try doing a refresh from subversion and then an refresh in eclipse.


On 30/03/2012 8:54 AM, Péntek Gábor wrote:
I have built the trunk with

ant -f antbuild.xml -Dbndtool.lib=bnd.jar

but no eclipselink-tests.jar has been produced.

Gábor

On Fri, Mar 30, 2012 at 2:31 PM, Tom Ware <tom.ware@xxxxxxxxxx
<mailto:tom.ware@xxxxxxxxxx>> wrote:

   The modelgen project is a little strange because of the way the generation
   works.  You should be able to solve this problem by doing a build from ant
   and then a refresh of eclipselink.jpa.test in Eclipse.


   On 30/03/2012 5:22 AM, Péntek Gábor wrote:

       After a full update and rebuild I have replaced javax.persistence 2.1.0 with
       2.0.0 found on the trunk. I also replaced javax.xml.bind with a direct
       dependency to javax.xml.bind_2.2.0.__v201005080402.jar in the plugins

       directory
       and set up the JAXRS_LIB variable to point to
       javax.ws.rs_1.1.1.v20101004-__1200.jar in plugins.


       Now I have the following errors:

       Description    Resource    Path    Location    Type
       Project 'eclipselink.jpa.modelgen.__test' is missing required library:
       '/eclipselink.jpa.test/__eclipselink-tests.jar'
       eclipselink.jpa.modelgen.test        Build path    Build Path Problem

       Description    Resource    Path    Location    Type
       The project cannot be built until build path errors are resolved
       eclipselink.jpa.modelgen.test        Unknown    Java Problem
       The project was not built since it depends on eclipselink.jpa.modelgen.test,
       which has build path errors    eclipselink.jpa.test        Unknown
         Java Problem


       This seems a deadlock to me :(

       Gábor

       On Thu, Mar 29, 2012 at 4:15 PM, Tom Ware <tom.ware@xxxxxxxxxx
       <mailto:tom.ware@xxxxxxxxxx>
       <mailto:tom.ware@xxxxxxxxxx <mailto:tom.ware@xxxxxxxxxx>>> wrote:

           I suggest you reduce the number of eclipselink projects you have in your
           workspace.

           Keep:

           o.e.p.core
           o.e.p.jpa
           o.e.p.antlr
           o.e.p.jpa.osgi
           o.e.p.moxy
           eclipselink.core.test
           eclipselink.jpa.test
           eclipselink.jpa.modelgen.test

           Additionally, you'll need the dependency projects as described on

           With that subset of the projects, the number of errors you have
       should be
           reduced.

           You may still have some errors relating to javax.xml.bind and
           javax.persistence 2.1.0 depending how and when they were pulled into
           Eclipse.  First ensure you have updated all your projects from SVN
       and in
           Eclipse.  If you are still having problems, you may need to open the
       build
           path and remove the javax.persistence or javax.xml bind that is
       referenced
           and re-add the one you have in your workspace.  (this issue may occur
           depending on how your have your Eclipse setup to name projects when it
           imports them)

           -Tom


           On 29/03/2012 8:33 AM, Péntek Gábor wrote:

               I would like to write tests for my new foreign key index creation
               functionality
               and run them from eclipse.

               The code affects only org.eclipse.persistence.core.
       TableDefinition and
               DatabasePlatform classes in particular.

               Gábor

               On Thu, Mar 29, 2012 at 2:23 PM, Tom Ware <tom.ware@xxxxxxxxxx
       <mailto:tom.ware@xxxxxxxxxx>
       <mailto:tom.ware@xxxxxxxxxx <mailto:tom.ware@xxxxxxxxxx>>
       <mailto:tom.ware@xxxxxxxxxx <mailto:tom.ware@xxxxxxxxxx>
       <mailto:tom.ware@xxxxxxxxxx <mailto:tom.ware@xxxxxxxxxx>>>> wrote:

                   What are you trying to achieve by importing the eclipse
       projects.
                 It looks
                   like you have imported quite a lot of projects and I'd like
       to help
               you pare
                   down the list.

                   -Tom


                   On 29/03/2012 6:26 AM, Péntek Gábor wrote:

                       Hi All,

                       I am trying to build eclipselink from the trunk in order to
               resolve this
                       issue:
       http://www.eclipse.org/forums/______index.php?t=rview&goto=____825210#__msg_825210
       <http://www.eclipse.org/forums/____index.php?t=rview&goto=__825210#__msg_825210>
       <http://www.eclipse.org/__forums/__index.php?t=rview&__goto=825210#__msg_825210
       <http://www.eclipse.org/forums/__index.php?t=rview&goto=825210#__msg_825210>>        <http://www.eclipse.org/______forums/index.php?t=rview&goto=______825210#msg_825210
       <http://www.eclipse.org/____forums/index.php?t=rview&goto=____825210#msg_825210>

       <http://www.eclipse.org/____forums/index.php?t=rview&goto=____825210#msg_825210
       <http://www.eclipse.org/__forums/index.php?t=rview&goto=__825210#msg_825210>>


       <http://www.eclipse.org/____forums/index.php?t=rview&goto=____825210#msg_825210
       <http://www.eclipse.org/__forums/index.php?t=rview&goto=__825210#msg_825210>
       <http://www.eclipse.org/__forums/index.php?t=rview&goto=__825210#msg_825210
       <http://www.eclipse.org/forums/index.php?t=rview&goto=825210#msg_825210>>>>

                       The solution is ready but I have some trouble with
       building the
               project from
                       eclipse.

                       Ant build is working now, but it took some time since
       did not find a
                       document
                       describing the whole process and the information needed was
               spread among
                       several
                       wiki pages.

                       I have done the following:
                       checked out eclipselink trunk.
                       ran an ant build.
                       copied the contents of the trunk/plugins directory to
               eclipse/plugins
                       imported the projects suggested on
       http://wiki.eclipse.org/______EclipseLink/Building
       <http://wiki.eclipse.org/____EclipseLink/Building>

       <http://wiki.eclipse.org/____EclipseLink/Building
       <http://wiki.eclipse.org/__EclipseLink/Building>>


       <http://wiki.eclipse.org/____EclipseLink/Building
       <http://wiki.eclipse.org/__EclipseLink/Building>
       <http://wiki.eclipse.org/__EclipseLink/Building
       <http://wiki.eclipse.org/EclipseLink/Building>>>

                       Eclipse gave the following error messages:
                       Description    Resource    Path    Location    Type
                       Project 'eclipselink.core.test' is missing required Java
       project:
       'javax.persistence 2.1.0'    eclipselink.core.test        Build path
                         Build
                       Path Problem
                       Project 'eclipselink.core.test' is missing required Java
       project:
       'javax.xml.bind'    eclipselink.core.test        Build path    Build
                       Path Problem
                       Project 'eclipselink.jpa.modelgen.______test' is missing

       required

               Java project:

       'javax.persistence 2.1.0'    eclipselink.jpa.modelgen.test        Build path
                       Build Path Problem
                       Project 'eclipselink.jpa.modelgen.______test' is missing
       required
               library:
       '/eclipselink.jpa.test/______eclipselink-tests.jar'



                       eclipselink.jpa.modelgen.test        Build path    Build
       Path
               Problem
                       Project 'eclipselink.jpa.test' is missing required Java
       project:
       'javax.persistence 2.1.0'    eclipselink.jpa.test        Build path    Build
                       Path Problem
                       Project 'eclipselink.jpa.test' is missing required Java
       project:
       'javax.xml.bind'    eclipselink.jpa.test        Build path    Build Path
                       Problem
                       Project 'eclipselink.moxy.test' is missing required Java
       project:
       'javax.activation'    eclipselink.moxy.test        Build path    Build
                       Path Problem
                       Project 'eclipselink.moxy.test' is missing required Java
       project:
       'javax.mail'    eclipselink.moxy.test        Build path    Build Path
                       Problem
                       Project 'eclipselink.moxy.test' is missing required Java
       project:
       'javax.xml.bind'    eclipselink.moxy.test        Build path    Build
                       Path Problem
                       Project 'eclipselink.moxy.test' is missing required Java
       project:
       'javax.xml.stream'    eclipselink.moxy.test        Build path    Build
                       Path Problem
                       Project 'eclipselink.utils.jaxb' is missing required
       Java project:
       'com.sun.xml.bind'    eclipselink.utils.jaxb        Build path    Build
                       Path Problem
                       Project 'org.eclipse.persistence.jpa.______modelgen' is
       missing
               required
                       Java project:
       'javax.persistence 2.1.0'    org.eclipse.persistence.jpa.______modelgen



                           Build
                       path    Build Path Problem
                       Project 'org.eclipse.persistence.moxy.______dynamicxjc'

       is missing
               required Java
                       project: 'com.sun.xml.bind'
                 org.eclipse.persistence.moxy.______dynamicxjc



                       Build path    Build Path Problem
                       Project 'org.eclipse.persistence.moxy.______dynamicxjc'

       is missing
               required Java
                       project: 'javax.xml.bind'
                 org.eclipse.persistence.moxy.______dynamicxjc



                       Build path    Build Path Problem
                       Unbound classpath variable:
       'ECLIPSELINK_HOME/plugins/com.______sun.tools.xjc_2.2.0.jar' in project



       'eclipselink.utils.jaxb'    eclipselink.utils.jaxb        Build path
                         Build
                       Path Problem
                       Unbound classpath variable:
       'ECLIPSELINK_HOME/plugins/com.______sun.tools.xjc_2.2.0.jar' in project
       'org.eclipse.persistence.moxy.______dynamicxjc'
                       org.eclipse.persistence.moxy.______dynamicxjc

         Build path

                 Build

                       Path Problem
                       Unbound classpath variable: 'JAXRS_LIB' in project
       'eclipselink.jpa.test'
                       eclipselink.jpa.test        Build path    Build Path Problem
                       Build path specifies execution environment J2SE-1.5.
       There are
               no JREs
                       installed
                       in the workspace that are strictly compatible with this
       environment.
                       javax.validation        Build path    JRE System Library
       Problem
                       Build path specifies execution environment J2SE-1.5.
       There are
               no JREs
                       installed
                       in the workspace that are strictly compatible with this
       environment.
                       org.eclipse.persistence.core.______jpql        Build

       path    JRE

               System

                       Library Problem
                       Build path specifies execution environment J2SE-1.5.
       There are
               no JREs
                       installed
                       in the workspace that are strictly compatible with this
       environment.
                       org.eclipse.persistence.jpa.______jpql.test        Build

       path

                 JRE System

                       Library
                       Problem
                       Build path specifies execution environment J2SE-1.5.
       There are
               no JREs
                       installed
                       in the workspace that are strictly compatible with this
       environment.
                       org.eclipse.persistence.jpa.______osgi        Build path

           JRE System


                       Library Problem


                       For example javax.persistence is imported, but it has
       version 2.0.0


                       Thanks in advance!
                       Gábor


                       _____________________________________________________


                       eclipselink-dev mailing list
       eclipselink-dev@xxxxxxxxxxx <mailto:eclipselink-dev@eclipse.org>
       <mailto:eclipselink-dev@__eclipse.org <mailto:eclipselink-dev@eclipse.org>>
       <mailto:eclipselink-dev@ <mailto:eclipselink-dev@>__ecli__pse.org
       <http://eclipse.org> <mailto:eclipselink-dev@__eclipse.org
       <mailto:eclipselink-dev@eclipse.org>>>
       https://dev.eclipse.org/______mailman/listinfo/eclipselink-______dev
       <https://dev.eclipse.org/____mailman/listinfo/eclipselink-____dev>                    _____________________________________________________


                   eclipselink-dev mailing list
       eclipselink-dev@xxxxxxxxxxx <mailto:eclipselink-dev@eclipse.org>
       <mailto:eclipselink-dev@__eclipse.org <mailto:eclipselink-dev@eclipse.org>>
       <mailto:eclipselink-dev@ <mailto:eclipselink-dev@>__ecli__pse.org
       <http://eclipse.org> <mailto:eclipselink-dev@__eclipse.org
       <mailto:eclipselink-dev@eclipse.org>>>
       https://dev.eclipse.org/______mailman/listinfo/eclipselink-______dev
       <https://dev.eclipse.org/____mailman/listinfo/eclipselink-____dev>

       <https://dev.eclipse.org/____mailman/listinfo/eclipselink-____dev
       <https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev>>


       <https://dev.eclipse.org/____mailman/listinfo/eclipselink-____dev
       <https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev>
       <https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev
       <https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>>>




               ___________________________________________________
               eclipselink-dev mailing list
       eclipselink-dev@xxxxxxxxxxx <mailto:eclipselink-dev@eclipse.org>
       <mailto:eclipselink-dev@__eclipse.org <mailto:eclipselink-dev@eclipse.org>>
       https://dev.eclipse.org/____mailman/listinfo/eclipselink-____dev
       <https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev>
       <https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev
       <https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>>

           ___________________________________________________
           eclipselink-dev mailing list
       eclipselink-dev@xxxxxxxxxxx <mailto:eclipselink-dev@eclipse.org>
       <mailto:eclipselink-dev@__eclipse.org <mailto:eclipselink-dev@eclipse.org>>
       https://dev.eclipse.org/____mailman/listinfo/eclipselink-____dev
       <https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev>
       <https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev
       <https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>>




       _________________________________________________
       eclipselink-dev mailing list
       eclipselink-dev@xxxxxxxxxxx <mailto:eclipselink-dev@eclipse.org>
       https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev
       <https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>

   _________________________________________________
   eclipselink-dev mailing list
   eclipselink-dev@xxxxxxxxxxx <mailto:eclipselink-dev@eclipse.org>
   https://dev.eclipse.org/__mailman/listinfo/eclipselink-__dev
   <https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>




_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


Back to the top