29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tip: If you want to skip the option box, but would like to change workspaces,<br />

you can start Studio Site Developer with the following command:<br />

wasexpress -data workspace_name<br />

For example:<br />

wasexpress -data c:\user-workspace<br />

If the workspace directory does not exist, it will be created.<br />

If you have sufficient memory available on your workstation, it is possible to<br />

execute multiple instances of Studio Site Developer running simultaneously<br />

using different workspaces. This technique is useful, for example when working<br />

on two releases of a project at the same time, such as building a new release and<br />

performing maintenance on an old one. Each development branch can have its<br />

own workspace and copies of the project files.<br />

3.1.1 Recovering files from their local history<br />

When working with Studio Site Developer, there are two things to remember:<br />

► All deletes are permanent. There is no recycle bin.<br />

► A history of all changes is maintained locally and files can be reset to a<br />

previous state.<br />

A history of all files that you have changed is cached locally. This allows you to<br />

compare a resource with a previous version and, if required, replace it with that<br />

version. The local history of each file is updated when you create or modify a file.<br />

Each time you save a file, a copy of its previous state is also saved. A new history<br />

for a resource is created the first time you modify the base version of it.<br />

This allows you to compare the current file state to a previous state and to<br />

replace the file with a previous state. Each state in the local history is identified<br />

by the date and time the file was saved.<br />

Note: Only files have local histories, not projects or folders.<br />

Comparing a file to the local history<br />

To view the local history of a file, select the file in the navigator view, right-click,<br />

and select Compare with -> Local History from its context menu.<br />

Chapter 3. Using Studio Site Developer 45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!