[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Checkout and Create Java Project from Existing Ant Buildfile question / problem

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 13 Nov 2009 14:52:07 -0500

On Fri, Nov 13, 2009 at 2:45 PM, Mike Williamson
<mike.williamson_at_fedex.com> wrote:
> We have a policy against checking IDE dependencies into our SVN repository.
>
> We use Ant to build, so we have build.xml in the repository.  I would like
> to check a module out of the SVN repository with Subclipse and create an
> Eclipse Java project for it.  The wizards appear to support it, but I can’t
> seem to make it work.  I can request “Check out as a project configured
> using the New Project Wizard.”  Through the wizard, I can request “Java
> Project from Existing Ant Buildfile.”  However, it appears the build file
> must be on the local file system.  I can’t select the one in the
> repository.  Copying the build.xml to the local file system doesn’t work
> unless the surrounding file structure matches what the file expects.  But
> Eclipse doesn’t like duplicate project names.
>
> I have managed to make something work, but it is a little ugly.  I have to
> make duplicate projects with different names, cut-and-paste .project and
> .classpath files, adjust source and build paths, etc.
>
> Is there a way to do what I need that I’m missing?

I guess you cannot use that specific wizard. You could create a Java
project and then setup those other options after it is checked out.
All you really need is to get that initial project nature established.

If you are using Maven, you can use something like m2eclipse to
checkout the projects.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2417723
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-11-13 20:52:12 CET

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.