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

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

Related

Checked out clearcase file but can't check in

Using RAD 8.5/ClearCase 7.x, I checked out many files. I made my changes and was able to check many of the files back in (using the GUI RAD interface). However I'm unable to check in many other files by right-clicking on them in Eclipse. When I do right-click on them, the check-in & out options are disabled but the 'Add to source control' is enabled - RAD/CC react like these files are not in source control, but they've been controlled for many years. I am able to do a 'Find checkouts' (using RAD) and it lists those files. If I start up CC Explorer and check those files in my view, they show as 'View-private file'.
I've tried deleting one of these files via CC Explorer and then try to "re-add" it via the RAD GUI but I still get a generic error at that point that doesn't tell me anything.
How do I at a minimum get these files back in a state that I can check them out?
After working w/ our inhouse CC support staff, we've gone the route of them going in and undoing the check outs of the remaining files and then creating a new view. Then delete the "bad" view from my RAD workspace (as well as from the VOB) and import the new view. Because of additional CC plugin issues, we're also uninstalling RAD, WAS, and Clearcase to reinstall them. So this current situation is now closed.
I was facing the same issue in clear case view, this may not be the proper answer as I am not doing through eclipse, but it may help others. Solution was
Go to version tree of the file, right click on the checked-out node and there check in option was enabled.

Is there auto-syncing in netbeans for external changes

I know netbeans syncs the original files once I save, but if there is a file changed externally is there a way for netbeans to recognize this and either tell me to re-sync it or automatically resync it with the new changes?
Here's what makes this behavior possible:
NetBeans 6.9 contains a feature that automatically looks for external changes to keep informations about files up-to-date. We have some reports that it can slow down NetBeans mainly, when an open project has many folders. When NetBeans find out that files were externally changed, it re-scans the files to keep data up-to-date that are used with features like code completion, navigation etc. Unfortunately the notification and following re-scanning can take some time and during this time many mentioned features are waiting for the finishing of scanning. There is option Enable auto-scanning of sources that can switch off this behavior. The option you can find it in Options dialog, Miscellaneous category and Files tab.
The default behavior is that NetBeans also looks for external changes when the main window gets focus. This is can be during developing a web application very often when user switches between browser and IDE. The mentioned option also switch this off.
When you switch off option Enable auto-scanning of sources you can still keep the information up-to-date, just invoke Scan for External Changes action from Sources menu manually.
(Here's the original article by Petr Pisl)
I find it counterproductive to leave this setting on, as sometimes auto-loading external changes to a file opened in the UI without asking for permission first can ruin your day when you're forced to make small local changes that you don't want replicated in your repository. I'm sure other people can think of more reasons to advocate for "warn before loading external changes" behavior to be implemented in NB. That is one of the reasons why I like Eclipse better sometimes.

What does Ctrl-S specifically do in Chrome Dev tools Sources tab?

The local save feature of the Chrome Dev tools Sources tab is very powerful.
However, I can't completely tell what kind of changes actually hold.
What changes are actually activated?
Ctrl-S applies your changes into v8.
So the the dynamic page behavior will work differently according to the changed code.
The star symbol in the file title indicates that the recent changes in the file haven't been sent to v8.
You have to save the changed file to the place where the web server gets it if you want to see the changes after reloading the page. You could do that with help of context menu.

How to create exportable links to code lines using eclipse

I want to ask my co-workers Alice and Bob specific questions about particular lines in code, e.g. com.example.HelloWorld.java:l.435. It would be nice if I could take some links out of eclipse, mail them in text form to another developer (also using eclipse) and go over to the co-worker and talk about those lines (without manually going to com.example.HelloWorld.java:l.435), but have some clickable link instead.
I know the bookmarks feature of eclipse, but I don't see a how to insert bookmarks.
Edit: I think I'm going to create a plug-in to make bookmarks create a fake exception stacktrace, which can be inserted into stack trace console. Has the benefit that the receiver can use it without installing something. [added code-review tag]
There is no way built-in to do that kind of thing, but it's an interesting idea for a plugin. Have you tried searching in the Eclipse Marketplace (available from the Help menu) to see if there's anything close?
An alternative that might meet your productivity need (thought not your specific feature request), is real-time shared editing via the DocShare feature of ECF. If your entire team were to set this up, you could use it to do a shared editing session with teammates.

FTP in NetBeans 6.1

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)