Renaming a Resource

You can rename a resource while maintaining integrity with its referenced files.

This means that the path to the modified resource is updated to reflect the change. If the change results in an error, the service referencing the renamed file is marked with a Problem marker.

  1. Right-click the resource you want to rename in the WorkSpace Navigator and select Rename.
  2. Type a new name in the text box using the following naming conventions:
    • Begin the name with a letter. Do not begin the name with a number or an underscore.
    • Use alphabetic or numeric characters and underscores after the initial letter.
    • Do not use spaces in project or folder names.
  3. Click anywhere outside the text box to save the changes.
    Note: If you are renaming a Java file, only the file is renamed, the underlying class is not changed. You must manually change the class name in the source.
Related tasks
Copying and Pasting a Resource into the Same Project
Copying and Pasting a Resource into a Different Project
Moving a Resource
Importing a Resource
Exporting a Resource
Deleting a Resource
Linking a Resource to a Specific Editor

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.