Just wondering if it is or will be possible to do a remote search via
FTP or RDS and maybe even a Search and Replace remotely?
I know working remotely isn't the best approach but my dev box is only
available via ftp? and im using Homesite at the moment which allows
this and is a life saver.
Cheers
Ben
That idea scares the be-jeezez outta me! :)
There is a "Remote Search" if you install the RSE plugin:
http://www.eclipse.org/dsdp/tm/
It's pretty slick. Dunno if you can do a replace on what it finds,
but it'll search for ya.
:DeN
--
Making itself intelligible is suicide for philosophy.
Martin Heidegger
Seriously, this isn't the 60s anymore!
I'm massively in favour of people developing however they want, but
some practices are just plain silly.
Even if there's some excuse for not having the files locally, there
are OS-level facilities for mapping remote drives and stuff - that's
the way to address this problem, rather than wasting time & effort on
adding an Eclipse feature.
--
Peter Boughton
//hybridchill.com
//sorcerers-isle.net
Nice contradiction.
And extremley helpful, I was just asking.
PS some of us weren't even born in the 60s so wouldn't know, but i
seriously doubt any network could handle anything like searching /
Replacing remotley back then.)
Cheers for your opinion though!
Ben
So I have a project on a server with 300 Mb of code (don't ask, a lot of it is generated) and if I trigger off a search it would take quite a long time right? I would be downloading all that code locally, just for a search.
The next step (if we ever implemented that feature) would be for people using it saying that it's "Too slow!" so it would only work for small remote projects and for that you might as well download it.
Another point that comes to mind, just on the implementation of this, is that this would all happen over FTP, where the commands are kind of limited to getting files and putting them, not running programs, so we can't put something on the server that does that, and then we are over-reaching, not really doing CFEclipse dev, but doing a find function (which unix has anyway)
There are other projects though, that allow you to download the code and edit it and upload, the FTP Team provider where you "check-in" your code for example.
I hope that answers your question more fully .
Regards
Mark Drew
> --
> For more information on CFEclipse visit: cfeclipse.org
> For support, FAQ and tips and tricks visit: trac.cfeclipse.org
>
> You are subscribed to the Google Groups "CFEclipse Users" group.
> To post send email to: cfeclip...@googlegroups.com
> To unsubscribe send email to: cfeclipse-use...@googlegroups.com
> For more options, visit this group online: http://groups.google.com/group/cfeclipse-users?hl=en
Mark Drew
Railo Technologies UK
Professional Open Source
skype: mark_railo
email: ma...@getrailo.com
gtalk: ma...@getrailo.com
tel: +44 7971 85 22 96
web: http://www.getrailo.com
I wasn't trying to be unhelpful; simply irritated by a stupid
restriction many CFers impose upon themselves.
Having single/central servers is incredibly archaic - in the past
these were limitations of computers being big and expensive. Now that
they're tiny and cheap, there's no valid reason not to work locally
(and plenty of reason to do so).
Getting people off central servers and into a sensible development
setup *is* helpful, for them and for everyone else - because it saves
us all time that could be used on other things.
MD
But yeah, there are occasional situations when I'm forced to develop
against a remote box - in those situations, I still keep a local copy
of the code, and use Beyond Compare to sync between the machines when
I need to run it.
Beyond Compare isn't free, but it's not expensive and has a lot of
flexible options - including syncing against FTP.
Peter i was just a little annoyed that you said the setup was 'silly',
I had mentioned that "I know working remotely isn't the best approach"
and was just asking if such a feature existed as it does on homesite
which is "archaic", and it works very well. Yes its not the fastest by
if you specify directories then it is manageable, to be fair the
current setup is using RDS (yes i know... Not great either). I like
the sound of Beyond Compare though i will have a look.
@denstar: Thanks fo rthe suggestion, im playing with RSE now, and yes
remote replace scares the "be-jeezez" outta me to, but its only on dev
and theres backups ;-)
Ta
Ben
Install the Remote Systems Explorer, and explore a remote system, you
can right-click on a folder on that system and select "Create Remote
Project...". Then go back to your project perspective and then you can
use all the standard find and replace tools that you use on local
files/projects-- RSE provides a transparent connection.
If you use this though-- and you eventually delete the remote project--
make SURE that you don't check "delete the files" ;)
It also comes with a remote search tab that amounts to the same thing,
although the project bit is handy because you can work in your regular
project perspective with a navigator and everything else-- also, saving
a file in one of these saves it directly to the server.
It is, as Mark said, slow. But we have used it to easily search lots of
legacy code and it is better than downloading whole folders because you
can use the search filters to restrict your searching to specific file
types and such.
Cheers,
Budd.
-----------------------------------
Budd Hirons Jr
Innovative Learning Center - Tulane University
504.314.2533
--
Very convenient to switch that on/off only when I need it.
Jim
Yep i have to agree Jim, setting up a development environment on VM is
awesome, I Have an ESX4 box running with VCenter and 5 seperate
machines installed, all using a seperate SAN (using openFiler).
Im currently playing with RSE, and have got things set up on windows
however whenever i set up RSE on my Mac i dont have any 'Remote System
types' to select, just blankness. On the PC i can select FTP, Linux,
SSH etc but i get none on the Mac. Anyone got any ideas?
Cheers
Ben
Cool beans. :)
I don't know why it's not working on the Mac for you, all I can say is
that it's working on this mac, so maybe reinstalling the plugin?
You could check the error log (Window > Show View > Error Log) and see
if there's something in there maybe...
:Den
--
The most thought-provoking thing in our thought-provoking time is that
we are still not thinking.
Martin Heidegger
Anyone know how i can uninstall the RSE plugin from eclipse on my mac?
I tried the Eclipse menu > About Eclipse > Installation Details >
select Target Management Terminal Widget but the uninstall button is
greyed out?
Cheers
Ben
On Mar 19, 1:21 am, Chris Phillips <cfch...@gmail.com> wrote:
> Wait.. So, do you commit to version control after you make changes to the
> remote server?
>
> Chris
>
Careful there, I might just explode! ;)
I had a look but couldnt figure out how to disable the RSE plugin, i
found a list of them all but no disable button :-(
@Peter - LOL im sorry peter, but in my defence on a private scale
playing around with single server setup it just isnt worth it, however
i am looking into SVN - (http://forums.devshed.com/coldfusion-
development-84/source-control-686765.html#post2433047) any suggestions
would be appreciated.
Cheers
On Mar 19, 1:31 pm, Randy Merrill <zoram...@gmail.com> wrote:
> Going from memory, you have to disable plugins first... restart... then the
> uninstall should be available. But I haven't done it for a while, so that
> may not be right... :)
> --
> Randy Merrill
>
Delete the RSE plugins from {eclipse-dir}/plugins &
{eclipse-dir}/features and then restart with -clean.
:Den
--
When modern physics exerts itself to establish the world's formula,
what occurs thereby is this: the being of entities has resolved itself
into the method of the totally calculable.
Martin Heidegger
Oh I'd still argue with that. :)
As far as I'm concerned, Version Control is something that should be
available OS-level for all file types.
And that is one of the key things that initially attracted me to Git -
Linus gave a presentation in which he explicitly described it as a
versioning file system (or similar); his explanations and the ways Git
can work are much more useful and flexible.
Aside from explicit code projects, I'm also hoping to have an
automated Git backend on my new machine that auto-commits whenever
files are changed, so all my graphics, documents, etc have revision
histories, and I can't accidentally lose data.
As you can no doubt predict, I'm about to recommend Git over SVN -
which I do, to anyone that asks - but either of them is definitely
better than none, and things like bazaar, mecurial, monotone, etc are
no doubt also fine choices.
Anyways, I'll stop with taking things off-topic now. I guess I'll
register at devshed and add relevant thoughts there.
I look forward to your thoughts on DevShed, I really appreciate any
pointers that can help me get a source control setup up and going with
least amount of heartache, Im guessing there will be some as my whole
way of doing stuff will prob have to change.
As Far as version control goes, when you say it should be at OS level,
am i right in thinking that that is what Apple have done with their
timemachine app?
Back on topic though.....
@ BUDD: - I have now managed to get RSE working and have managed to
create a remote project, however being new to eclipse (and still not
up to scratch with its project based way of working). Can anyone help
me out with some resources or quick explanation of how project based
development should work, ie i have created this remote project but now
what, do the files that i now see under my 'Navigator' exist locally
on my machine or are they still straight off of FTP?
PS, what is the difference between the Navigator view and the Project
Explorer View
Arghhhh, its just all to much lol, i so used to homesite - Open app,
browse file structure, open file, edit, save, job done :-) Whats the
equivalent in cfeclipse?
Cheers everyone for your thoughts I am getting there slowly.
Ben
When in doubt, right-click and check the resource properties, in general.
> PS, what is the difference between the Navigator view and the Project
> Explorer View
With CFE, it's mostly ordering, I think. Eventually we'll have cooler
stuff in there.
> Arghhhh, its just all to much lol, i so used to homesite - Open app,
> browse file structure, open file, edit, save, job done :-) Whats the
> equivalent in cfeclipse?
Well, I generally have an instance of Eclipse running, but what I do is:
1: activate task (using mylyn)
2: giggle gleefully as it magically puts everything the way it was
when I was last working on said task.
3: commit changes (with a nice log message), and if I'm lucky, mark
task as complete.
4. on to next task-- thank the FSM for Mylyn! ;)
As for source control, Git is swell, but it's majorly lacking in
tools. Give it another year or two, and it'll be there. It is
totally hip tho, and being hip is good! Look at me, so hip I can't
see over my pelvis.
If you're going to be developing in Eclipse tho, I'd recommend SVN or
CVS, as they're the best integrated. There's some *really* nice
things in both those plugins that you won't find outside of Eclipse
(it's not unusual for people to install Eclipse just to get those
capabilities).
Force be with you mate -- it seems rough now, lots of us went through
it -- you will be more productive afterward than you were before.
:Den
--
Why are there beings at all, instead of Nothing?
Martin Heidegger
Firstly what is 'FSM'? (cant figure it out).
I have installed this 'Mylyn' but am maybe thinking that im getting a
bit ahead of myself (im still trying to get used to Project based
developing in cfeclipse. Any tips would be good.
Am i right in thinking that between your steps 2 and 3 you do the
amending / writing of code?
As far as using SVN, ive heard / read in various places that Git is
going to be the next best thing, i dont really fancy getting all up to
speed with SVN only to find that its not going to be the most up to
date. Iv played with Git and have found SmartGit -
http://www.syntevo.com/smartgit/index.html this seems to integrate
quite well, but as im not to hot on source control, does anyone know
what advantages i would get with SVN?
Cheers
Ben
On the Mylyn front... I don't know if it's proponents would agree, but
I'd probably say skip that for now; get used to source control in
general, and then come back later and see if you like it.
(I don't use it personally. I like the concept, but the implementation
doesn't work for me.)
SVN isn't likely to go away any time soon - it it widely used, and
knowing how it works is not wasted knowledge, so don't be afraid to
learn about it even if you do plan to stay with Git.
Probably worth mentioning that there are claims of SVN adding the sort
of stuff that git/bazaar/mercurial have introduced. Given the track
record, I'm not really convinced on that, but it could be good if they
do.
Check out some of the videos about using Mylyn. Check the MXUnit
blog, and Marc's time-saving tips. It's worth the time!
There's also a couple videos on using CFEclipse that might be helpful.
> Am i right in thinking that between your steps 2 and 3 you do the
> amending / writing of code?
Heh. It seems I'm missing that, and the "profit" step. :)
> As far as using SVN, ive heard / read in various places that Git is
> going to be the next best thing, i dont really fancy getting all up to
> speed with SVN only to find that its not going to be the most up to
SVN is light-years ahead of Git as far as being "up to date", meaning
tool support and whatnot.
It's still going to be a bit until Git is "there". And developing
with Git will always be a different paradigm than SVN-- they have
different ways of tracking changes, different strengths and
weaknesses.
That said, 90% of all this stuff is the same. What's important to
grok is the whole, tagging, branching, and merging concepts.
> date. Iv played with Git and have found SmartGit -
> http://www.syntevo.com/smartgit/index.html this seems to integrate
> quite well, but as im not to hot on source control, does anyone know
> what advantages i would get with SVN?
I really like to be able to stay in "context", as it were, so having
really good source control integration within my IDE is a must,
personally. That's just my style tho. Use whatever tools you like
and whichever ways you like, just use something, basically. :)
SVN is more widely supported (ant tasks and whatnot, native
implementations in various languages, yadda yadda). It's like CVS was
when SVN was the hot new thing, I guess. Git will get there, judging
by the interest and activity, so whatever is clever, but you can take
advantage of some stuff (like 3rd party tool integration) right now
with SVN, vs. waiting a while for Git.
Git is so flexible, it's easy to mess things up. SVN has more
structure. Git has at least one local repository, generally several
remote ones. SVN is generally remote (this makes some stuff easier
and some stuff harder-- some things faster and other things slower).
Git is well suited to open source, widely distributed projects. SVN
is more centralized (you'll run into more SVN stuff in a corporate
environment, I'd wager). Eh. What's a weakness and what's a strength
is different depending on perspective and use, I reckon.
You can't go wrong in any direction here tho, which is nice. Just
getting hip to source control is what's really important, the rest is
dressing.
:Den
--
Couples are wholes and not wholes, what agrees disagrees, the
concordant is discordant. From all things one and from one all things.
Heraclitus
Mylyn is more about the project management/being productive & less
about version control. Of course it ties into version control (cuz,
well, that's part of any good project/productivity deal), but that's
just a side benefit.
Maybe liking it depends on how often you get pulled from task to task,
as well. I *need* to switch things up, to not burn out, and Mylyn
helps me switch gears super fast. I just can't say enough about how
much it has been a boon to me, personally.
Plus, you can /share your context/ with other developers. This is
*huge* if you've got a large code base and various levels of coders.
I love it all on my lonesome, too, because if I'm on a different box,
I can just pull the latest context from the ticket and not have to
hunt down any files to open and edit or whathaveyou.
I'm still just scratching the surface of what Mylyn can do to help me
stay organized, and already I'm head over heals for it.
Marc does a far better job than I of explaining why this stuff rocks,
and is a *swell* resource for information on some of the questions Ben
has been asking, re: Eclipse + CFML, etc.:
Check. It. Out. =)
:Den
--
Deliberate violence is more to be quenched than a fire.
Heraclitus
Also, I can't speak for the more recent versions of RSE included with
Eclipse 3.4/3.5, but I've not had much success using it to work with
remote project; and not at all when combined with the the need to use
CVS.
Otherwise RSE is a pretty handy FTP client for Eclipse.
Regards,
Stephen