morten      01/09/20 09:49:10

  Modified:    java/src/org/apache/xalan/xsltc/cmdline Compile.java
                        Transform.java
  Log:
  Fixed two compile errors (bad, bad, bad).
  PR:           n/a
  Obtained from:        n/a
  Submitted by: [EMAIL PROTECTED]
  Reviewed by:  [EMAIL PROTECTED]
  
  Revision  Changes    Path
  1.6       +2 -2      
xml-xalan/java/src/org/apache/xalan/xsltc/cmdline/Compile.java
  
  Index: Compile.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/cmdline/Compile.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Compile.java      2001/09/20 15:48:17     1.5
  +++ Compile.java      2001/09/20 16:49:10     1.6
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: Compile.java,v 1.5 2001/09/20 15:48:17 amiro Exp $
  + * @(#)$Id: Compile.java,v 1.6 2001/09/20 16:49:10 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -97,7 +97,7 @@
        "         <package-name> is a package name to prefix all class names 
with.\n\n"+
        "   Notes:\n"+
        "         The -o option is ignored when multiple stylesheets are 
specified.\n"+
  -     "         The -x option switched on debug messages.";
  +     "         The -x option switched on debug messages."+
        "         The -s option disables calling System.exit.";
       
       public static void printUsage() {
  
  
  
  1.8       +5 -3      
xml-xalan/java/src/org/apache/xalan/xsltc/cmdline/Transform.java
  
  Index: Transform.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/cmdline/Transform.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Transform.java    2001/09/20 15:54:02     1.7
  +++ Transform.java    2001/09/20 16:49:10     1.8
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: Transform.java,v 1.7 2001/09/20 15:54:02 morten Exp $
  + * @(#)$Id: Transform.java,v 1.8 2001/09/20 16:49:10 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -100,8 +100,10 @@
       private String  _jarFileSrc;
       private boolean _isJarFileSpecified = false;
       private Vector  _params = null;
  -    private boolean _uri, _debug, _allowExit = true;
  +    private boolean _uri, _debug;
   
  +    private static boolean _allowExit = true;
  +
       public Transform(String className, String fileName,
                     boolean uri, boolean debug) {
        _fileName = fileName;
  @@ -275,7 +277,7 @@
                        debug = true;
                    }
                    else if (args[i].equals("-s")) {
  -                     _allowExits = false;
  +                     _allowExit = false;
                    }
                    else if (args[i].equals("-j")) {
                        isJarFileSpecified = true;      
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to