Received: (qmail 50036 invoked by uid 65534); 17 Feb 2000 10:19:10 -0000 Message-Id: <20000217101910.50035.qmail@locus.apache.org> Date: 17 Feb 2000 10:19:10 -0000 From: Iwan Tolboom Reply-To: iacmtolboom@chello.nl To: submit@bugz.apache.org Subject: The file JServDefs.java doesn't compile. X-Send-Pr-Version: 3.110 >Number: 5774 >Category: apache-api >Synopsis: The file JServDefs.java doesn't compile. >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Feb 17 02:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: iacmtolboom@chello.nl >Release: Apache_JServ_1_0.exe for windows98 >Organization: apache >Environment: Windows 98 >Description: The file JServDefs.java doesn't compile in this distribution. The constants PACKAGE, VERSION and TURBO are not defined. See the following code : >How-To-Repeat:
public interface JServDefs {
    
    /**
     * Defines the name of the package.
     */
ApacheJServ
    
    /**
     * Defines the current version of the package.
     */
1.0
    
    /**
     * Enables or disables TURBO flag. If this flag is turned on,
     * the application is compiled for maximum performance.
     */
true

    /**
     * Enables or disables the PROFILE flag. If this flag is turned
     * on, the application is compiled to allow profiling.
     *
     * The default is false.
     */
    public static final boolean PROFILE = false;
}

>Fix:
public interface JServDefs {
    
    /**
     * Defines the name of the package.
     */
    public static final String PACKAGE = "ApacheJServ";
    
    /**
     * Defines the current version of the package.
     */
    public static final double VERSION = 1.0;
    
    /**
     * Enables or disables TURBO flag. If this flag is turned on,
     * the application is compiled for maximum performance.
     */
    public static final boolean TURBO = true;

    /**
     * Enables or disables the PROFILE flag. If this flag is turned
     * on, the application is compiled to allow profiling.
     *
     * The default is false.
     */
    public static final boolean PROFILE = false;
}

>Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]