FTP in NetBeans 6.1 - netbeans

Is there an FTP browser hiding away in NetBeans 6.1? The help manual doesn't even suggest FTP exists.
All I've been able to find so far is a tree viewer in the Services panel (no edit controls) and the ability to upload projects, folders and specific files from the Projects/Files views. Is there anywhere to delete or rename or will I have to keep switching back to my browser?
I can see from the previews that there's a nice FTP controller in 6.5 but I'm not desperate enough to completely convert to a beta (yet).

It looks like something was recently added to netbeans for php...
http://blogs.oracle.com/netbeansphp/entry/ftp_support_added
don't know if you can make use of that...

You can try the Plugin FTP Site Deployer. This is free and open source plugin for Netbeans, it's add a contextual menu with the voice "upload to FTP". Is still in development but it is working:
You can find some other information here:
http://www.askweb.it/wordpress/?p=136
And download source and nmb from sourceforge
https://sourceforge.net/projects/ftpsitedeployer/

The remotefs addin works for 6.5:
remotefs
(source: netbeans.org)

Related

All I get is "Client/Server JS Editor"

In XPages, when I try to open a .js or .jss file, I often get just the tab wirh "Client/Server JS Editor" and nothing else, i.e. the file doesn't load. From the Navigator Eclipse view, I can open the same .js or .jss file using any other editor without problems. And then, it sometimes works, but I don't know yet when it does and when it doesn't. The other Editors are okay by the way, .lss opens nicely.
This behaviour I get for a few weeks now. Since it started I reinstalled Notes a few times, I upgraded to FP8, I also reinstalled Windows10 and Windows10 upgraded me to the Creators Update (with the fix, in the end). There's nothing that explains to me why the file doesn't show up on the screen.
Anyone familiar with this? Could you please tell me how to repair this?
Thanks!!
It's a bug introduced with FP8 that is fixed in FP8 Interim Fix 1. See this document for download options for FP8 IF1.
As a workaround you can do a clean/rebuild of the nsf and then use the SSJS editor.

Need simple PDF viewer for Eclipse

I am looking for a way to view PDFs within Eclipse (Juno).
I just need to quickly viewthe PDF, and do not need the capability to edit, search, or anything beyond viewing.
I have tried a few plugins, but they all switch to a new perspective when PDFs are opened.
I would try Pdf4Eclipse: http://borisvl.github.com/Pdf4Eclipse/ It was suggested next to the texlipse environment that already has its new perspective, so I think, this would not switch.
Try PDF viewer nice and simple, can be downloaded / installed from following eclipse marketplace website.
http://marketplace.eclipse.org/content/pdf-viewer#.Us-ZfvQeo0E

DreamWeaver CS4: Which Version Control System (VCS) does it use?

In DreamWeaver CS4 When I go to Site -> New Site... and go through
the various screens I get to a screen named
Site Definition -> Sharing Files
which asks me:
Do you want to enable checking in and checking out files,
to ensure that you and your co-workers cannot edit the
same file at the same time?
If I opt for Yes, it asks me for my name and email address,
AND NOTHING ELSE it seems.
What I would like to know is, what Version Control System (VCS)
is employed to implement the options on this screen? Is it DW's
propriety VCS system, or some other. I know CS4 supports Perforce,
but have no idea if this screen was to configure Perforce options
then why is this not mentioned? Which other VCS systems does DW CS4
support besides P4 (CVS, SVN, GIT, Mercurial (Hg), etc..)?
Thanks for sharing your knowledge,
John Goche
For the screen that you're talking about, the basic checkin/checkout functionality is not a version control system, it is an attempt to prevent multiple people from editing the same file at the same time. It merely adds a .lck file to the server for the file you checked out. If someone else with Dreamweaver tries to open the file (assuming they also have checkin/checkout turned on) they won't be able to edit the file (well, they can edit anyway and override the lock if they want to). The name and email address are only used to present that info to others editing the site, they can see who has a what file checked out. I think that you can also search through the site to see all files checked out by a specific person (Files panel option menu {top right of the panel) -> Site -> Show Checked out by.
See page 88 of this PDF for info on checkin/checkout, and page 91 for Subversion info: http://help.adobe.com/archive/en_US/dreamweaver/cs4/dreamweaver_cs4_help.pdf
And additional help for SVN and Dreamweaver here:
http://helpx.adobe.com/dreamweaver/kb/subversion-resources-dreamweaver-cs4-cs5.html
Edit: There is also an extension for using GIT: https://github.com/ChrisMcKee/gitweaver
You can of course use any version control you want on a site, if you use an external version control client. I've done this for years, and it works quite well, as you don't have to rely on an individual editing application to support version control.
Perforce is supported via the P4GT plugin: http://www.perforce.com/product/components/perforce_plugin_graphical_tools

Auto-upload on save

I'm delveloping a PHP web application on my local PC. Whenever I save a file it would be handy if Eclipse could upload the file to my web server via FTP. Is Eclipse able to do that?? I think Netbeans offers such an option. At the moment I do the upload manually which is very annoying...
Take a look at Eclipse Target Management (RSE). You can find a tutorial on getting started page.
A big downside is that the quality of RSE's error messages range from okay-if-ambiguous to downright horrible (IBM-style 3 chars + 4 digits with no text message) so it's best if you know whatever protocol you're using well enough to guess what the error is without really needing the message to explain it to you.
So, after a whole lot of tries, I finally found something that works!
What you need to install is Eclipse WebDAV and FTP Support. I have not found the eclipse update site, but this site has n archived version of it. This allows you to sychronize your code with an FTP site.
http://eclipse.jcraft.com/
Then, to Automatically Upload On Save, you can use my Auto Hot Keys Script at:
Eclipse Synchronize Hotkeys

How can I get Dashcode to open JSP files?

A simple tools question but it's driving me nuts.
I have some .jsp files on my computer that I associated with Dashcode, figuring it would be a suitable editor. But when I try to open the files, all I get is a dialog box that says, "Dashcode cannot open files of this type".
I thought there'd be an easy way to fix this but I can't find it. Nowhere in Dashcode's preferences can I find any list of valid file extensions. I poked around its resources folder for a while and couldn't find it there either.
The Dashcode menubar is visible when the error is up, so I'm guessing that this is Dashcode itself complaining that it cannot open this file rather than the OS preventing it from trying.
How exactly does this work? Is Dashcode really just hard-coded to recognize only files of certain types by their file extension? Isn't there a way to change it?
Thanks,
Frank
Dashcode uses html, javascript and css to write either dashboard widgets or web applications that will run on an http server. JSP files are for running on a Java server such as Tomcat and so Dashcode will not open them because a dashcode project is not targeted for an environment where they will be supported so there would be no point putting the file into the project.
In a similar way you cannot use PHP files as the target environment cannot guarantee to have a PHP interpreter installed.