luehe       2004/05/20 17:22:07

  Modified:    jasper2/src/share/org/apache/jasper/resources
                        messages.properties messages_es.properties
                        messages_ja.properties
  Log:
  Removed the need for jsp.error.nojavac error code ("No Java compiler
  was found to compile the generated source for the JSP").
  
  In some cases (see Bugzilla 10499), this error message was reported
  even if a Java compiler was found, thereby misleading and confusing a
  lot of users.
  
  Improved error reporting by passing the
  org.apache.tools.ant.BuildException to the error dispatcher/handler if
  the compilation failed for reasons other than javac compile errors.
  
  Revision  Changes    Path
  1.145     +1 -5      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages.properties
  
  Index: messages.properties
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages.properties,v
  retrieving revision 1.144
  retrieving revision 1.145
  diff -u -r1.144 -r1.145
  --- messages.properties       13 May 2004 00:05:04 -0000      1.144
  +++ messages.properties       21 May 2004 00:22:06 -0000      1.145
  @@ -11,10 +11,6 @@
   jsp.message.scratch.dir.is=Scratch dir for the JSP engine is: {0}
   jsp.message.parent_class_loader_is=Parent class loader is: {0}
   jsp.message.dont.modify.servlets=IMPORTANT: Do not modify the generated servlets
  -jsp.error.nojavac=\n\nNo Java compiler was found to compile the generated source 
for the JSP. \
  -\nThis can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the 
JDK \
  -\nto the common/lib directory of the Tomcat server, followed by a Tomcat restart. \
  -\nIf using an alternate Java compiler, please check its installation and access 
path.
   jsp.error.not.impl.comments=Internal error: Comments not implemented
   jsp.error.not.impl.directives=Internal error: Directives not implemented
   jsp.error.not.impl.declarations=Internal error: Declarations not implemented
  
  
  
  1.49      +1 -5      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages_es.properties
  
  Index: messages_es.properties
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages_es.properties,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- messages_es.properties    10 Mar 2004 21:16:31 -0000      1.48
  +++ messages_es.properties    21 May 2004 00:22:06 -0000      1.49
  @@ -11,10 +11,6 @@
   jsp.message.scratch.dir.is=El directorio de trabajo para el motor JSP es: {0}
   jsp.message.parent_class_loader_is=El cargador de clases es: {0}
   jsp.message.dont.modify.servlets=IMPORTANTE: No modifique los servlets generados
  -jsp.error.nojavac=\n\nNo se ha hallado compilador Java para compilar el fuente 
generado para el JSP. \
  -\nEsto se puede resolver normálmente copiando manuálmente $JAVA_HOME/lib/tools.jar 
desde el JDK \
  -\nal directorio common/lib del servidor Tomcat, seguido de un rearranque de Tomcat. 
\
  -\nSi usa un compilador Java alternativo, revise por favor su trayectoria de 
instalación y de acceso.
   jsp.error.not.impl.comments=Error Interno: Comments no implementado
   jsp.error.not.impl.directives=Error Interno: Directives no implementado
   jsp.error.not.impl.declarations=Error Interno: Declarations no implementado
  
  
  
  1.52      +1 -5      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages_ja.properties
  
  Index: messages_ja.properties
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages_ja.properties,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- messages_ja.properties    10 Mar 2004 21:16:31 -0000      1.51
  +++ messages_ja.properties    21 May 2004 00:22:07 -0000      1.52
  @@ -11,10 +11,6 @@
   jsp.message.scratch.dir.is=JSP\u30a8\u30f3\u30b8\u30f3\u306eScratchdir: {0}
   jsp.message.parent_class_loader_is=\u89aa\u30af\u30e9\u30b9\u30ed\u30fc\u30c0: {0}
   jsp.message.dont.modify.servlets=\u91cd\u8981: 
\u751f\u6210\u3055\u308c\u305f\u30b5\u30fc\u30d6\u30ec\u30c3\u30c8\u3092\u5909\u66f4\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093
  
-jsp.error.nojavac=\n\nJSP\u306e\u305f\u3081\u306e\u751f\u6210\u3055\u308c\u305f\u30bd\u30fc\u30b9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308bJava\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\
  
-\n\u901a\u5e38\u306f\u3053\u308c\u306fJDK\u304b\u3089$JAVA_HOME/lib/tools.jar\u3092Tomcat\u30b5\u30fc\u30d0\u306ecommon/lib\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\
  
-\n\u306b\u624b\u3067\u30b3\u30d4\u30fc\u3057\u3066\uff0cTomcat\u3092\u518d\u8d77\u52d5\u3059\u308c\u3070\u89e3\u6c7a\u3055\u308c\u307e\u3059\u3002\
  
-\n\u5225\u306eJava\u30b3\u30f3\u30d1\u30a4\u30e9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u8a2d\u5b9a\u3068\u30a2\u30af\u30bb\u30b9\u30d1\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002
   jsp.error.not.impl.comments=\u5185\u90e8\u30a8\u30e9\u30fc: 
Comments\u306f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u305b\u3093
   jsp.error.not.impl.directives=\u5185\u90e8\u30a8\u30e9\u30fc: 
Directives\u306f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u305b\u3093
   jsp.error.not.impl.declarations=\u5185\u90e8\u30a8\u30e9\u30fc: 
Declarations\u306f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u305b\u3093
  
  
  

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

Reply via email to