-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: Setting up Eclipse
PostPosted: Wed Nov 02, 2005 6:02 pm 
Beginner
Beginner

Joined: Wed Nov 02, 2005 3:29 pm
Posts: 20
I'm just getting started with Eclipse so there may
be a simple answer to my problem, but I haven't found
it yet.

I can't find a way to check out the hibernate tools and
create the PDE projects for the eclipse plugins under
Eclipse.

If I use Eclipse to check out HibernateExt, I'm told that
I can't create a new project using (say) org.hibernate.eclipse
because it overlaps with the HibernateExt project.

I can create the org.hibernate.eclipse project if I
first check out HibernateExt from the command line, but then
I loose the ability to use Eclipse to keep the source up to
date.

Any pointers?

Thanks

George


Top
 Profile  
 
 Post subject: Re: Setting up Eclipse
PostPosted: Wed Nov 02, 2005 7:01 pm 
Beginner
Beginner

Joined: Fri Mar 05, 2004 6:33 pm
Posts: 29
Location: Vancouver, BC, Canada
gnl wrote:
I can create the org.hibernate.eclipse project if I
first check out HibernateExt from the command line, but then
I loose the ability to use Eclipse to keep the source up to
date.


I guess you import the project after you check it out. To hook it up to the sourceforge CVS again, just go Team->Share project and accept the defaults, it will connect it to the CVS for you.

HTH,

Calin


Top
 Profile  
 
 Post subject: Re: Setting up Eclipse
PostPosted: Wed Nov 02, 2005 7:24 pm 
Beginner
Beginner

Joined: Wed Nov 02, 2005 3:29 pm
Posts: 20
No luck. I still get the "overlaps" complaint from Eclipse when I try to create the HibernateExt project after having
created org.hibernate.eclipse.

(shell) cvs co HibernateExt
(eclipse) create org.hibernate.eclipse from source
(eclipse) create HibernateExt from source

George


Top
 Profile  
 
 Post subject: Re: Setting up Eclipse
PostPosted: Wed Nov 02, 2005 7:36 pm 
Beginner
Beginner

Joined: Fri Mar 05, 2004 6:33 pm
Posts: 29
Location: Vancouver, BC, Canada
Option 1: Don't check out HibernateExt as a project.
From eclipse, check out
org.eclipse.hibernate.feature.
org.eclipse.hibernate.help
as individual projects.


Option 2:
When you check out HibernateExt from the command line don't check it out under your workspace, and make sure HibernateExt is not an eclipse project, then import and share..

Calin


Top
 Profile  
 
 Post subject: Re: Setting up Eclipse
PostPosted: Wed Nov 02, 2005 7:46 pm 
Beginner
Beginner

Joined: Wed Nov 02, 2005 3:29 pm
Posts: 20
calinm wrote:
Option 1: Don't check out HibernateExt as a project.
From eclipse, check out
org.eclipse.hibernate.feature.
org.eclipse.hibernate.help
as individual projects.


I thought of that. The problem is that then each project
has to be updated against cvs individually, plus I need to
check out HibernateExt (skipping the eclipse projects)
so I can build hibernate-tools.jar

Quote:
Option 2:
When you check out HibernateExt from the command line don't check it out under your workspace, and make sure HibernateExt is not an eclipse project, then import and share..

Calin


I've been checking it out outside the workspace (no help).
As I understand, "import" will copy the code from the
source into the workspace and I'm back where I started.

George


Top
 Profile  
 
 Post subject: Re: Setting up Eclipse
PostPosted: Wed Nov 02, 2005 7:56 pm 
Beginner
Beginner

Joined: Wed Nov 02, 2005 3:29 pm
Posts: 20
calinm wrote:
Option 1: Don't check out HibernateExt as a project.
From eclipse, check out
org.eclipse.hibernate.feature.
org.eclipse.hibernate.help
as individual projects.

Calin


The other problem with this approach is
Quote:
you need to run ..\build -f hibernate-build.xml update in the org.hibernate.eclipse

(from the Build & Contribute page) which assumes
that the projects live in the HibernateExt tree, not outside
it.

George


Top
 Profile  
 
 Post subject: Re: Setting up Eclipse
PostPosted: Mon Nov 07, 2005 4:13 pm 
Beginner
Beginner

Joined: Wed Nov 02, 2005 3:29 pm
Posts: 20
I finally managed to get the environment set up,
although it is somewhat ugly.

Here is what I did:

(eclipse) checkout Hibernate
checkout HibernateExt
(shell) mkdir ../hiberate/
cd ../hibernate
ln -s ../workspace/HibernateExt .
ln -s ../workspace/hibernate-3.1 .
ln -s ../workspace/Hibernate .
(eclipse) create projects for eclipse plugins based on
the symbolic link

George


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 07, 2005 4:24 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
why are you guys making it so complex ;)

the recipe is simple:

cvs co hibernateext
create/import an eclipse project for each subproject (do not create a eclipse project for ALL of hibernateext)

Updating cvs is no problem since you can do cvs synchronization/update on multiple projects.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.