cvs commit: jakarta-tomcat/src/share/org/apache/jasper/resources messages.properties messages_es.properties messages_fr.properties

2001-11-30 Thread larryi

larryi  01/11/30 14:20:07

  Modified:src/share/org/apache/jasper/resources messages.properties
messages_es.properties messages_fr.properties
  Log:
  Fix the case of the "classdebuginfo" init parameter in warning message.
  
  Revision  ChangesPath
  1.26  +2 -2  
jakarta-tomcat/src/share/org/apache/jasper/resources/messages.properties
  
  Index: messages.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/jasper/resources/messages.properties,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- messages.properties   2001/06/11 03:42:29 1.25
  +++ messages.properties   2001/11/30 22:20:07 1.26
  @@ -1,4 +1,4 @@
  -# $Id: messages.properties,v 1.25 2001/06/11 03:42:29 larryi Exp $
  +# $Id: messages.properties,v 1.26 2001/11/30 22:20:07 larryi Exp $
   #
   # Default localized string information
   # Localized this the Default Locale as is en_US
  @@ -113,7 +113,7 @@
   largeFile. Will use the default value of \"true\"
   jsp.warning.mappedFile=Warning: Invalid value for the initParam mappedFile. Will 
use the default value of \"false\"
   jsp.warning.sendErrToClient=Warning: Invalid value for the initParam 
sendErrToClient. Will use the default value of \"false\"
  -jsp.warning.classDebugInfo=Warning: Invalid value for the initParam classDebugInfo. 
Will use the default value of \"false\"
  +jsp.warning.classDebugInfo=Warning: Invalid value for the initParam classdebuginfo. 
Will use the default value of \"false\"
   jsp.error.badtaglib=Unable to open taglibrary {0} : {1}
   jsp.error.badGetReader=Cannot create a reader when the stream is not buffered
   jsp.warning.unknown.element.in.TLD=Warning: Unknown element {0} in TLD
  
  
  
  1.11  +2 -2  
jakarta-tomcat/src/share/org/apache/jasper/resources/messages_es.properties
  
  Index: messages_es.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/jasper/resources/messages_es.properties,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- messages_es.properties2001/02/04 22:06:01 1.10
  +++ messages_es.properties2001/11/30 22:20:07 1.11
  @@ -1,4 +1,4 @@
  -# $Id: messages_es.properties,v 1.10 2001/02/04 22:06:01 nacho Exp $
  +# $Id: messages_es.properties,v 1.11 2001/11/30 22:20:07 larryi Exp $
   #
   # Default localized string information
   # Localized para Locale es_ES
  @@ -107,7 +107,7 @@
   jsp.warning.largeFile=Aviso: valor incorrecto para el initParam largeFile. se usara 
el valor por defecto de \"true\"
   jsp.warning.mappedFile=Aviso: valor incorrecto para the initParam mappedFile. se 
usara el valor por defecto de \"false\"
   jsp.warning.sendErrToClient=Aviso: valor incorrecto para the initParam 
sendErrToClient. se usara el valor por defecto de \"false\"
  -jsp.warning.classDebugInfo=Aviso: valor incorrecto para the initParam 
classDebugInfo. se usara el valor por defecto de \"false\"
  +jsp.warning.classDebugInfo=Aviso: valor incorrecto para the initParam 
classdebuginfo. se usara el valor por defecto de \"false\"
   jsp.error.badtaglib=No se puede abrir la libreria de tags {0} : {1}
   jsp.error.badGetReader=No se puede crear un reader cuando el stream no tiene buffer
   jsp.warning.unknown.element.in.TLD=Aviso: Elemento {0} desconocido en el TLD
  
  
  
  1.5   +2 -2  
jakarta-tomcat/src/share/org/apache/jasper/resources/messages_fr.properties
  
  Index: messages_fr.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/jasper/resources/messages_fr.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- messages_fr.properties2001/02/16 09:50:42 1.4
  +++ messages_fr.properties2001/11/30 22:20:07 1.5
  @@ -1,4 +1,4 @@
  -# $Id: messages_fr.properties,v 1.4 2001/02/16 09:50:42 hgomez Exp $
  +# $Id: messages_fr.properties,v 1.5 2001/11/30 22:20:07 larryi Exp $
   #
   # Default localized string information
   # Localized this the Default Locale as is fr_FR
  @@ -109,7 +109,7 @@
   jsp.warning.largeFile=Attention: Valeur invalide pour l''initParam de largeFile. La 
valeur par défaut \"true\" sera retenue
   jsp.warning.mappedFile=Attention: Valeur invalide pour l''initParam mappedFile. La 
valeur par défaut \"false\" sera retenue
   jsp.warning.sendErrToClient=Attention: Valeur invalide pour l''initParam 
sendErrToClient. La valeur par défaut \"false\" sera retenue
  -jsp.warning.classDebugInfo=Attention: Valeur invalide pour l''initParam 
classDebugInfo. La valeur par défaut \"false\" sera retenue
  +jsp.warning.classDebugInfo=Attention: Valeur invalide pour l''initParam 
classdebuginfo. La valeur par défaut \"false\" sera retenue
   jsp.error.badtaglib=Impossible d''ouvri

cvs commit: jakarta-tomcat/src/share/org/apache/jasper/resources messages.properties messages_es.properties messages_fr.properties

2001-01-14 Thread larryi

larryi  01/01/14 12:45:41

  Modified:src/share/org/apache/jasper EmbededServletOptions.java
JspC.java Options.java
   src/share/org/apache/jasper/compiler Compiler.java
JavaCompiler.java JikesJavaCompiler.java
SunJavaCompiler.java
   src/share/org/apache/jasper/resources messages.properties
messages_es.properties messages_fr.properties
  Log:
  Add classDebugInfo property to Options.java and related classes.
  Update handling so that Jasper can compile classes with debugging
  information if requested.
  
  Revision  ChangesPath
  1.7   +25 -0 
jakarta-tomcat/src/share/org/apache/jasper/EmbededServletOptions.java
  
  Index: EmbededServletOptions.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/jasper/EmbededServletOptions.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- EmbededServletOptions.java2001/01/07 19:24:12 1.6
  +++ EmbededServletOptions.java2001/01/14 20:45:39 1.7
  @@ -1,4 +1,8 @@
   /*
  + * $Header: 
/home/cvs/jakarta-tomcat/src/share/org/apache/jasper/EmbededServletOptions.java,v 1.7 
2001/01/14 20:45:39 larryi Exp $
  + * $Revision: 1.7 $
  + * $Date: 2001/01/14 20:45:39 $
  + *
* 
* 
* The Apache Software License, Version 1.1
  @@ -99,6 +103,11 @@
   public boolean sendErrorToClient = false;
   
   /**
  + * Do we want to include debugging information in the class file?
  + */
  +public boolean classDebugInfo = false;
  +
  +/**
* I want to see my generated servlets. Which directory are they
* in?
*/
  @@ -166,6 +175,13 @@
   }

   /**
  + * Should class files be compiled with debug information?
  + */
  +public boolean getClassDebugInfo() {
  +return classDebugInfo;
  +}
  +
  +/**
* Class ID for use in the plugin tag when the browser is IE. 
*/
   public String getIeClassId() {
  @@ -252,6 +268,15 @@
   else if (senderr.equalsIgnoreCase("false"))
   this.sendErrorToClient = false;
   else Constants.message ("jsp.warning.sendErrToClient", Logger.WARNING);
  +}
  +
  +String debugInfo = config.getInitParameter("classdebuginfo");
  +if (debugInfo != null) {
  +if (debugInfo.equalsIgnoreCase("true"))
  +this.classDebugInfo  = true;
  +else if (debugInfo.equalsIgnoreCase("false"))
  +this.classDebugInfo  = false;
  +else Constants.message ("jsp.warning.classDebugInfo", Logger.WARNING);
   }
   
   String ieClassId = config.getInitParameter("ieClassId");
  
  
  
  1.19  +9 -0  jakarta-tomcat/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- JspC.java 2001/01/07 19:24:13 1.18
  +++ JspC.java 2001/01/14 20:45:40 1.19
  @@ -1,4 +1,8 @@
   /*
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/JspC.java,v 1.19 
2001/01/14 20:45:40 larryi Exp $
  + * $Revision: 1.19 $
  + * $Date: 2001/01/14 20:45:40 $
  + *
* 
* 
* The Apache Software License, Version 1.1
  @@ -169,6 +173,11 @@
   return true;
   }

  +public boolean getClassDebugInfo() {
  +// compile with debug info
  +return false;
  +}
  +
   public String getIeClassId() {
   return ieClassId;
   }
  
  
  
  1.13  +9 -0  jakarta-tomcat/src/share/org/apache/jasper/Options.java
  
  Index: Options.java
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/Options.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Options.java  2001/01/07 19:24:13 1.12
  +++ Options.java  2001/01/14 20:45:40 1.13
  @@ -1,4 +1,8 @@
   /*
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/Options.java,v 
1.13 2001/01/14 20:45:40 larryi Exp $
  + * $Revision: 1.13 $
  + * $Date: 2001/01/14 20:45:40 $
  + *
* 
* 
* The Apache Software License, Version 1.1
  @@ -90,6 +94,11 @@
*/
   public boolean getSendErrorToClient();

  +/**
  + * Should we include debug information in compiled class?
  + */
  +public boolean getClassDebugInfo();
  +
   /**
* Class ID for use in the p