[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