Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

This page is outdated. You will be redirected to http://wiki.services.openoffice.org /wiki/Documentation/FAQ shortly.

Documentation / User FAQ / Maintainers' FAQ / Previous-Next

How do I add new files to the CVS directory?

  1. First, build the files that you wish to add in your local directory. Add new folders and files to this area using your favorite file manager. When you are ready to upload your files, create a tunnel.
  2. After you establish a tunnel, minimize that first terminal. Use it again to close the tunnel when you are done moving files to or from the site. Open a second terminal for your work. You will not work in the terminal where you established the tunnel.
  3. Type pwd in the working terminal to verify that you are in your home directory.
  4. Use the change directory cd command in the second terminal to move to the directory of the file or folder you wish to commit.
  5. Use the add command to add a new directory to the OpenOffice.org file server. Type
    cvs -d :pserver:username@projectname.domain.net:/cvs add [projectname]
    in the second terminal, where:
    • username is your openoffice.org user login,
    • projectname.domain.net is the path to where the file lives
    • [projectname] is the name of a file or directory in the CVS file server, and
  6. The first step of the add command for a file is complete when your cursor comes back in the working terminal. You must now commit the file to complete the process of adding a file to the OpenOffice.org file server.

Examples of the add command for user zzzzzz, (assuming pwd = /home/zzzzzz):

  1. Type
    cvs -d :pserver:zzzzzz@localhost:/cvs add documentation
    in the second terminal to add a documentation directory.
  2. Type
    cd documentation/www
    Type
    cvs -d :pserver:zzzzzz@localhost:/cvs add faqs
    in the second terminal to add an faqs directory.
  3. Type
    cd documentation/www/faqs
    Type
    cvs -d :pserver:zzzzzz@localhost:/cvs add compatibility
    in the second terminal to add a compatibility directory in the faqs folder.
  4. Type
    cd marketing/www
    Type
    cvs -d :pserver:zzzzzz@localhost:/cvs add
    in the second terminal to add an the index page from marketing project directory.
  5. Type
    cd qa/www
    Type
    cvs -d :pserver:zzzzzz@localhost:/cvs add index.html
    in the second terminal to update only the index page from qa project directory.

In actuality, many of the above commands will fail, because these directories already exist. If a directory exists, you will see a message in your terminal, and the add command will not execute.

Tip: In a terminal, use the up-arrow key to cycle through the past commands used. You can select and edit commands, instead of typing them each time. The computer will only read what is visible at the command prompt when you hit the Enter key.

For more information:

Documentation / User FAQ / Maintainers' FAQ / Previous-Next

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.