alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Ant example source code file (SOSCmd.java)

This example Ant source code file (SOSCmd.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Ant tags/keywords

checkinproject, checkoutfile, command_checkout_project, command_get_file, command_get_project, command_history, flag_command, flag_label, flag_no_cache, flag_verbose, getfile, soscmd, string, string

The SOSCmd.java source code

/*
 *  Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  See the NOTICE file distributed with
 *  this work for additional information regarding copyright ownership.
 *  The ASF licenses this file to You under the Apache License, Version 2.0
 *  (the "License"); you may not use this file except in compliance with
 *  the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */
package org.apache.tools.ant.taskdefs.optional.sos;

/**
 * Interface to hold constants used by the SOS tasks
 *
 */
public interface SOSCmd {
    // soscmd Command options
    /** The sos executable */
    String COMMAND_SOS_EXE = "soscmd";
    /** The get file command */
    String COMMAND_GET_FILE = "GetFile";
    /** The get project command */
    String COMMAND_GET_PROJECT = "GetProject";
    /** The checkout file command */
    String COMMAND_CHECKOUT_FILE = "CheckOutFile";
    /** The checkout project command */
    String COMMAND_CHECKOUT_PROJECT = "CheckOutProject";
    /** The checkin file command */
    String COMMAND_CHECKIN_FILE = "CheckInFile";
    /** The checkin project command */
    String COMMAND_CHECKIN_PROJECT = "CheckInProject";
    /** The get history command */
    String COMMAND_HISTORY = "GetFileHistory";
    /** The add label command */
    String COMMAND_LABEL = "AddLabel";
    /** The project prefix */
    String PROJECT_PREFIX = "$";

    // soscmd Option flags
    /** The command option */
    String FLAG_COMMAND = "-command";
    /** The database (vss server) option */
    String FLAG_VSS_SERVER = "-database";
    /** The username option */
    String FLAG_USERNAME = "-name";
    /** The password option */
    String FLAG_PASSWORD = "-password";
    /** The log option */
    String FLAG_COMMENT = "-log";
    /** The workdir option */
    String FLAG_WORKING_DIR = "-workdir";
    /** The recursive option */
    String FLAG_RECURSION = "-recursive";
    /** The revision option */
    String FLAG_VERSION = "-revision";
    /** The label option */
    String FLAG_LABEL = "-label";
    /** The no compression option */
    String FLAG_NO_COMPRESSION = "-nocompress";
    /** The no cache option */
    String FLAG_NO_CACHE = "-nocache";
    /** The server option */
    String FLAG_SOS_SERVER = "-server";
    /** The sos home option */
    String FLAG_SOS_HOME = "-soshome";
    /** The project option */
    String FLAG_PROJECT = "-project";
    /** The file option */
    String FLAG_FILE = "-file";
    /** The verbose option */
    String FLAG_VERBOSE = "-verbose";
}

Other Ant examples (source code examples)

Here is a short list of links related to this Ant SOSCmd.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.