On 7/31/06, Mark Phippard <markp@softlanding.com> wrote:
>
> johann.petrak@gmail.com wrote on 07/31/2006 01:59:53 PM:
>
> > No. Import Exisiting Project looks for an Eclipse project, but as I have
> pointed
> > out what I want Eclipse to start working with is an existing directory
> with
> > checked-out from svn and local files as a Java project.
> > Therefore I used File->New->Project...-> and then either Java Project or
>
> > Java Project from existing Ant buildfile (which exists). Both options
> > do create an Eclipse project from the existing directory but not
> recognize
> > that this directory was checked out with svn (since it and all subdirs
> > contain .svn subdirs).
>
> I did not think we supported that option, but I just tried it and it
> worked fine. I had an existing Subversion working copy (that does not
> have Eclipse project files in it). I did File -> New Project and selected
> Java project. I then used the option to "Create project from existing
> source" and pointed it at this working copy.
>
> Eclipse created the .project and .classpath files in this location and
> Subclipse automatically connected to it. I did not have to do anything.
OK - this was puzzling me enough so that I made a lot of tests,
trying this many times using different ways
to figure out why it works with you and not here.
At some point I think I removed a directory in the Eclipse workspace
directory that had the same name as the directory that
I wanted to include in Eclipse with new->Project.
After this, all my attempts to include the Java directory in
Eclipse with new->Project->from existing ant buildfile
did NOT recognize the Subversion information and
all attempts to include the Java directory in Eclipse
with new->Project->Java Project DID recognize
the Subversion information.
The odd thing is that this also did not work earlier.
I was unable to repeat the problem, but my feeling is
that this is somehow related to something "left over"
somewhere from a failed attempt and maybe
that left over stuff getting deleted at some time.
OK, I am sorry that I cannot provide information
about how to repeat this problemm but I definitely
had this. I have no idea what the reason could
have been and Eclipse never showed an error
message or anything.
First it did not work, now it worked.
> Also, share project is not possible because that option insists on
> > checking in the project into a *new* location, i.e. the
> repository/directory
> > combination cannot already exist. So this is obviously for projects
> > only that do not already exist in the repository.
>
> If Share Project detects the ".svn" folder in the root of the project it
> goes down a different path and instead just offers to connect the project
> to Subclipse. One of the links I had sent you shows this.
Did not happen here either. When I specify the repository location I get
the error message: "Folder ... already exists in the repository. You must
specify a folder name that does not already exist".
Thank you for your help!
Received on Mon Jul 31 22:49:22 2006