On Fri, Nov 13, 2009 at 2:45 PM, Mike Williamson
> 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.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-11-13 20:52:12 CET