wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse and FTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and FTP" Watch "Eclipse and FTP" New topic
Author

Eclipse and FTP

Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
The Eclipse web site makes several vague claims about "team" support for FTP instead of or in addition to CVS, but I can't find any mention of it in the documentation, or work out how to do it by playing with Eclipse itself. Can anyone help me?
Here's the setup:
I'm currenbtly working on a project where they mandate the use of "Continuus" as the version control system. We only have a unix client for Continuus, so checked-out files appear on a unix filesystem. Currently we have no IDE to speak of on the unix box, and using vi for software development drives my frustration levels to boiling point. So, I wish to edit on a Windows desktop machine, and get/put source files by FTP to the unix box. Before you ask, no, we don't have SAMBA on the unix box, either
In the past, I have used editors which could transparently use FTP for all file load/save operations. Eclipse doesn't seem to have this, and it might be a bit intense for typical refactoring operations which scan all the source files a lot.
The natural way for Eclipse to work sould seem to use the built-in "team" support against an FTP repository. I would "sync" a local copy from the latest source on the FTP server, make a bunch of changes then "sync" my changes back out to the remote machine again. Ideally, Eclipse will complain and offer me some merging options if things have changed since I last fetched the source. This seems so similar to the way Eclipse works with CVS, that most if not all the code should be there to do this.
However, as I mentioned at the start, I can't even find out if this way of working is what is meant by team/FTP support. I certainly haven't worked out how to do it yet.
All suggestions welcome !


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
On the download page there is a download for "FTP and WebDAV Support". Perhaps that has something to do with it?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
That's what I had hoped, but I can't find any documentation of whether that is what I want. As far as I can tell, I have installed it, but it's still not obvious if/how I can do what I want.
Do you know where I might find any documentation of what the FTP/WebDAV plugin offers?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Mhhh, there is http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.team.ftp/doc-html/index.html ...
http://www.klomp.org/eclipse/org.klomp.eclipse.team.sftp/ might also be interesting to you.
BTW, found this by a google search for "eclipse ftp team".
Kind regards, Ilja
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
OK, I had a look at those, thanks.
The first one eventually led to something like documentation, but I'm afraid that the actual implementation has lots of problems
I guess that most of the problems I have encountered are due to the rather strange use that Continuus makes of the unix file system. When I tried to create a new project based on a FTP site as directed, it failed very quickly. I tracked this down to the Eclipse FTP plugin not liking filenames or directory names which contain a '#' character. Unfortunately, Continuus uses this to indicate something complicated about ownership of a work area. I managed to avoid that problem by creating a symbolic link without the offending character. The FTP plugin got further in creating a project, but then got confused by the strange way Continuus uses file permission flags to indicate whether a file has been "checked out".
In the end I gave up. As far as I can tell, Eclipse FTP support is just not up to scratch at the moment. My usual FTP client, WS_FTP, has no trouble with reading and writing Continuus files, so I can't see that there is anything fundamentally wrong with the filesystem at the server end.
The second link unfortunately refers to SFTP, which is a different protocol, and not supported on the systems I need to work with.
Sigh.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Mhh, sounds like it'd be time to escalate this to the appropriate eclipse news group...
Stuart Ash
Ranch Hand

Joined: Oct 07, 2005
Posts: 637
Any updates on this, by the original discussers in the thread or others?

I am using Continuus as well, so I am curious to know. In particular, it would be interesting to be able to integrate Continuus with Eclipse.


ASCII silly question, Get a silly ANSI.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse and FTP