Update of /cvsroot/xdoclet/xdoclet/core/src/xdoclet
In directory sc8-pr-cvs1:/tmp/cvs-serv30387

Modified Files:
        XDocletMessages.java DocletTask.java 
Log Message:
Externalized all strings to XDocletMessages,
and added portuguese translations to them.
Now DocletTask is void of i18n pendings.

Also, recoded the XDocletMessages.java file
so all non-ascii characters are now UTF-8.

Index: XDocletMessages.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/XDocletMessages.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** XDocletMessages.java        6 Oct 2002 17:43:16 -0000       1.11
--- XDocletMessages.java        12 Dec 2002 02:21:03 -0000      1.12
***************
*** 22,26 ****
      /**
       * @msg.bundle   msg="''{0}'' parameter missing or empty."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro ''{0}'' ausente ou em 
branco."
       * @msg.bundle   language="de" country="DE" msg="Paraeter ''{0}'' fehlt oder 
leer."
       */
--- 22,26 ----
      /**
       * @msg.bundle   msg="''{0}'' parameter missing or empty."
!      * @msg.bundle   language="pt" country="BR" msg="Par�metro ''{0}'' ausente ou 
em branco."
       * @msg.bundle   language="de" country="DE" msg="Paraeter ''{0}'' fehlt oder 
leer."
       */
***************
*** 29,33 ****
      /**
       * @msg.bundle   msg="Running {0} task failed. An IO error occured while writing 
context data."
!      * @msg.bundle   language="pt" country="BR" msg="A execução da tarefa {0} 
falhou. Ocorreu um erro de E/S ao gravar
       *      os dados do contexto."
       */
--- 29,33 ----
      /**
       * @msg.bundle   msg="Running {0} task failed. An IO error occured while writing 
context data."
!      * @msg.bundle   language="pt" country="BR" msg="A execução da tarefa {0} 
falhou. Ocorreu um erro de E/S ao gravar
       *      os dados do contexto."
       */
***************
*** 36,40 ****
      /**
       * @msg.bundle   msg="Running XDoclet failed. An IO error occured while reading 
context data."
!      * @msg.bundle   language="pt" country="BR" msg="A execução do XDoclet falhou. 
Ocorreu um erro de E/S ao ler os
       *      dados do contexto."
       */
--- 36,40 ----
      /**
       * @msg.bundle   msg="Running XDoclet failed. An IO error occured while reading 
context data."
!      * @msg.bundle   language="pt" country="BR" msg="A execução do XDoclet falhou. 
Ocorreu um erro de E/S ao ler os
       *      dados do contexto."
       */
***************
*** 49,53 ****
      /**
       * @msg.bundle   msg="You must specify at least one fileset to indicate which 
files are to be processed."
!      * @msg.bundle   language="pt" country="BR" msg="Você deve especificar ao menos 
um fileset para apontar quais
       *      arquivos devem ser processados."
       */
--- 49,53 ----
      /**
       * @msg.bundle   msg="You must specify at least one fileset to indicate which 
files are to be processed."
!      * @msg.bundle   language="pt" country="BR" msg="Você deve especificar ao menos 
um fileset para apontar quais
       *      arquivos devem ser processados."
       */
***************
*** 62,66 ****
      /**
       * @msg.bundle   msg="Running XDoclet failed."
!      * @msg.bundle   language="pt" country="BR" msg="A execução do XDoclet falhou."
       */
      public final static String RUNNING_FAILED = "RUNNING_FAILED";
--- 62,66 ----
      /**
       * @msg.bundle   msg="Running XDoclet failed."
!      * @msg.bundle   language="pt" country="BR" msg="A execução do XDoclet falhou."
       */
      public final static String RUNNING_FAILED = "RUNNING_FAILED";
***************
*** 69,73 ****
       * @msg.bundle   msg="Running XDoclet failed. A needed class was not found. 
Configure classpath of XDoclet task
       *      properly."
!      * @msg.bundle   language="pt" country="BR" msg="A execução do XDoclet falhou. 
Uma classe necessária não foi
       *      encontrada. Configure o classpath da tarefa do XDoclet corretamente."
       */
--- 69,73 ----
       * @msg.bundle   msg="Running XDoclet failed. A needed class was not found. 
Configure classpath of XDoclet task
       *      properly."
!      * @msg.bundle   language="pt" country="BR" msg="A execução do XDoclet falhou. 
Uma classe necessária não foi
       *      encontrada. Configure o classpath da tarefa do XDoclet corretamente."
       */
***************
*** 76,81 ****
      /**
       * @msg.bundle   msg="Could not instantiate SubTask class ''{0}''. Ignored. Make 
sure it''s in doclet''s classpath."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível instanciar a 
SubTask de classe ''{0}''. Ignorado.
!      *      Certifique-se que ela está no classpath do XDoclet."
       */
      public final static String COULDNT_INSTANTIATE_SUBTASK = 
"COULDNT_INSTANTIATE_SUBTASK";
--- 76,81 ----
      /**
       * @msg.bundle   msg="Could not instantiate SubTask class ''{0}''. Ignored. Make 
sure it''s in doclet''s classpath."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível instanciar a 
SubTask de classe ''{0}''. Ignorado.
!      *      Certifique-se que ela está no classpath do XDoclet."
       */
      public final static String COULDNT_INSTANTIATE_SUBTASK = 
"COULDNT_INSTANTIATE_SUBTASK";
***************
*** 89,93 ****
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for {1} tag in {2} 
field of {3} class."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag {1} no campo {2} da
       *      classe {3}"
       */
--- 89,93 ----
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for {1} tag in {2} 
field of {3} class."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag {1} no campo {2} da
       *      classe {3}"
       */
***************
*** 96,100 ****
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for {1} tag in 
constructor of {2} class."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag {1} em um construtor
       *      da classe {2}."
       */
--- 96,100 ----
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for {1} tag in 
constructor of {2} class."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag {1} em um construtor
       *      da classe {2}."
       */
***************
*** 103,107 ****
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for {1} tag in {2} 
class."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag {1} na classe {2}."
       */
      public final static String MANDATORY_TAG_PARAM_MISSING_CLASS = 
"MANDATORY_TAG_PARAM_MISSING_CLASS";
--- 103,107 ----
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for {1} tag in {2} 
class."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag {1} na classe {2}."
       */
      public final static String MANDATORY_TAG_PARAM_MISSING_CLASS = 
"MANDATORY_TAG_PARAM_MISSING_CLASS";
***************
*** 109,113 ****
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for {1} tag in {2} 
method of {3} class."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag {1} no método {2} da
       *      classe {3}."
       */
--- 109,113 ----
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for {1} tag in {2} 
method of {3} class."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag {1} no método {2} da
       *      classe {3}."
       */
***************
*** 122,126 ****
      /**
       * @msg.bundle   msg="Generated file - Do not edit!"
!      * @msg.bundle   language="fr" country="FR" msg="Fichier généré - Ne pas éditer!"
       */
      public final static String DO_NOT_EDIT = "DO_NOT_EDIT";
--- 122,126 ----
      /**
       * @msg.bundle   msg="Generated file - Do not edit!"
!      * @msg.bundle   language="fr" country="FR" msg="Fichier g�n�r� - Ne pas 
�diter!"
       */
      public final static String DO_NOT_EDIT = "DO_NOT_EDIT";
***************
*** 128,132 ****
      /**
       * @msg.bundle   msg="No Description."
!      * @msg.bundle   language="pt" country="BR" msg="Sem Descrição."
       */
      public final static String NO_DESCRIPTION = "NO_DESCRIPTION";
--- 128,132 ----
      /**
       * @msg.bundle   msg="No Description."
!      * @msg.bundle   language="pt" country="BR" msg="Sem Descrição."
       */
      public final static String NO_DESCRIPTION = "NO_DESCRIPTION";
***************
*** 134,138 ****
      /**
       * @msg.bundle   msg="Javadoc couldn''t load class {0}, add it to the sourcepath 
please."
!      * @msg.bundle   language="pt" country="BR" msg="O Javadoc não pôde carregar a 
classe {0}, por favor adicione-a ao
       *      classpath."
       */
--- 134,138 ----
      /**
       * @msg.bundle   msg="Javadoc couldn''t load class {0}, add it to the sourcepath 
please."
!      * @msg.bundle   language="pt" country="BR" msg="O Javadoc não pôde carregar a 
classe {0}, por favor adicione-a ao
       *      classpath."
       */
***************
*** 147,151 ****
      /**
       * @msg.bundle   msg="Class ''{0}'' not found. Make sure it''s added to 
XDoclet''s classpath."
!      * @msg.bundle   language="pt" country="BR" msg="A classe ''{0}'' não foi 
encontrada. Certifique-se que ela está
       *      presente no classpath do XDoclet."
       */
--- 147,151 ----
      /**
       * @msg.bundle   msg="Class ''{0}'' not found. Make sure it''s added to 
XDoclet''s classpath."
!      * @msg.bundle   language="pt" country="BR" msg="A classe ''{0}'' não foi 
encontrada. Certifique-se que ela está
       *      presente no classpath do XDoclet."
       */
***************
*** 154,159 ****
      /**
       * @msg.bundle   msg="Not an XmlSubTask, so can''t use Xml namespace template 
tags."
!      * @msg.bundle   language="pt" country="BR" msg="Esta não é uma XmlSubTask, 
então não é possível usar tags de
!      *      template do espaço de nomes Xml."
       */
      public final static String NO_XML_TAGS_ALLOWED = "NO_XML_TAGS_ALLOWED";
--- 154,159 ----
      /**
       * @msg.bundle   msg="Not an XmlSubTask, so can''t use Xml namespace template 
tags."
!      * @msg.bundle   language="pt" country="BR" msg="Esta não é uma XmlSubTask, 
então não é possível usar tags de
!      *      template do espaço de nomes Xml."
       */
      public final static String NO_XML_TAGS_ALLOWED = "NO_XML_TAGS_ALLOWED";
***************
*** 162,166 ****
       * @msg.bundle   msg="doc argument passed to TemplateDoclet.getText is not of 
type ClassDoc or MethodDoc or
       *      ConstructorDoc or FieldDoc. doc={0}"
!      * @msg.bundle   language="pt" country="BR" msg="O argumento doc passado a 
TemplateDoclet.getText não é de nenhum
       *      dos tipos ClassDoc, MethodDoc, ConstructorDoc ou FieldDoc. doc={0}"
       */
--- 162,166 ----
       * @msg.bundle   msg="doc argument passed to TemplateDoclet.getText is not of 
type ClassDoc or MethodDoc or
       *      ConstructorDoc or FieldDoc. doc={0}"
!      * @msg.bundle   language="pt" country="BR" msg="O argumento doc passado a 
TemplateDoclet.getText não é de nenhum
       *      dos tipos ClassDoc, MethodDoc, ConstructorDoc ou FieldDoc. doc={0}"
       */
***************
*** 169,173 ****
      /**
       * @msg.bundle   msg="Couldn''t configure XML parser."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível configurar o 
analisador XML."
       */
      public final static String COULDNT_CONF_XML_PARSER = "COULDNT_CONF_XML_PARSER";
--- 169,173 ----
      /**
       * @msg.bundle   msg="Couldn''t configure XML parser."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível configurar o 
analisador XML."
       */
      public final static String COULDNT_CONF_XML_PARSER = "COULDNT_CONF_XML_PARSER";
***************
*** 175,179 ****
      /**
       * @msg.bundle   msg="Couldn''t load DTD."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível carregar o 
DTD."
       */
      public final static String COULDNT_LOAD_DTD = "COULDNT_LOAD_DTD";
--- 175,179 ----
      /**
       * @msg.bundle   msg="Couldn''t load DTD."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível carregar o 
DTD."
       */
      public final static String COULDNT_LOAD_DTD = "COULDNT_LOAD_DTD";
***************
*** 181,185 ****
      /**
       * @msg.bundle   msg="Couldn''t load XML file."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível carregar o 
arquivo XML."
       */
      public final static String COULDNT_LOAD_XML_FILE = "COULDNT_LOAD_XML_FILE";
--- 181,185 ----
      /**
       * @msg.bundle   msg="Couldn''t load XML file."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível carregar o 
arquivo XML."
       */
      public final static String COULDNT_LOAD_XML_FILE = "COULDNT_LOAD_XML_FILE";
***************
*** 187,191 ****
      /**
       * @msg.bundle   msg="Couldn''t initialize XML parser."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível iniciar o 
analisador XML."
       */
      public final static String COULDNT_INIT_XML_PARSER = "COULDNT_INIT_XML_PARSER";
--- 187,191 ----
      /**
       * @msg.bundle   msg="Couldn''t initialize XML parser."
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível iniciar o 
analisador XML."
       */
      public final static String COULDNT_INIT_XML_PARSER = "COULDNT_INIT_XML_PARSER";
***************
*** 193,197 ****
      /**
       * @msg.bundle   msg="WARNING: couldn''t load local DTD for publicId={0}."
!      * @msg.bundle   language="pt" country="BR" msg="AVISO: Não foi possível 
carregar o DTD local para o publicId={0}."
       */
      public final static String COULDNT_LOAD_LOCAL_DTD = "COULDNT_LOAD_LOCAL_DTD";
--- 193,197 ----
      /**
       * @msg.bundle   msg="WARNING: couldn''t load local DTD for publicId={0}."
!      * @msg.bundle   language="pt" country="BR" msg="ALERTA: Não foi possível 
carregar o DTD local para o publicId={0}."
       */
      public final static String COULDNT_LOAD_LOCAL_DTD = "COULDNT_LOAD_LOCAL_DTD";
***************
*** 199,203 ****
      /**
       * @msg.bundle   msg="WARNING: Couldn''t find DTD in xdoclet.jar: {0}. You 
should set validatexml=\"false\"."
!      * @msg.bundle   language="pt" country="BR" msg="AVISO: Não foi possível 
encontrar o DTD em xdoclet.jar: {0}. Você
       *      deve configurar validatexml=\"false\"."
       */
--- 199,203 ----
      /**
       * @msg.bundle   msg="WARNING: Couldn''t find DTD in xdoclet.jar: {0}. You 
should set validatexml=\"false\"."
!      * @msg.bundle   language="pt" country="BR" msg="AVISO: Não foi possível 
encontrar o DTD em xdoclet.jar: {0}. Você
       *      deve configurar validatexml=\"false\"."
       */
***************
*** 206,211 ****
      /**
       * @msg.bundle   msg="''{0}'' parameter of {1} class tag expected in class {2} 
but not found."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro ''{0}'' da tag de 
classe {1} na classe {2} era esperado,
!      *      mas não foi encontrado."
       */
      public final static String CLASS_TAG_PARAMETER_EXPECTED = 
"CLASS_TAG_PARAMETER_EXPECTED";
--- 206,211 ----
      /**
       * @msg.bundle   msg="''{0}'' parameter of {1} class tag expected in class {2} 
but not found."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro ''{0}'' da tag de 
classe {1} na classe {2} era esperado,
!      *      mas não foi encontrado."
       */
      public final static String CLASS_TAG_PARAMETER_EXPECTED = 
"CLASS_TAG_PARAMETER_EXPECTED";
***************
*** 213,217 ****
      /**
       * @msg.bundle   msg="{0} class tag expected in class {1} but not found."
!      * @msg.bundle   language="pt" country="BR" msg="Tag de classe {0} na classe {1} 
era esperada, mas não foi
       *      encontrada."
       */
--- 213,217 ----
      /**
       * @msg.bundle   msg="{0} class tag expected in class {1} but not found."
!      * @msg.bundle   language="pt" country="BR" msg="Tag de classe {0} na classe {1} 
era esperada, mas não foi
       *      encontrada."
       */
***************
*** 221,226 ****
       * @msg.bundle   msg="The value ''{0}'' specified for parameter ''{1}'' of {2} 
tag in {3} field of {4} class is not
       *      valid. Valid values for this tag are: '{'{5}}."
!      * @msg.bundle   language="pt" country="BR" msg="O valor ''{0}'' especificado 
para o parâmetro ''{1}'' da tag {2} no
!      *      campo {3} da classe {4} é inválido. Os valores válidos para esta tag 
são: '{'{5}}."
       */
      public final static String INVALID_TAG_PARAM_VALUE_FIELD = 
"INVALID_TAG_PARAM_VALUE_FIELD";
--- 221,226 ----
       * @msg.bundle   msg="The value ''{0}'' specified for parameter ''{1}'' of {2} 
tag in {3} field of {4} class is not
       *      valid. Valid values for this tag are: '{'{5}}."
!      * @msg.bundle   language="pt" country="BR" msg="O valor ''{0}'' especificado 
para o parâmetro ''{1}'' da tag {2} no
!      *      campo {3} da classe {4} é inválido. Os valores válidos para esta tag 
são: '{'{5}}."
       */
      public final static String INVALID_TAG_PARAM_VALUE_FIELD = 
"INVALID_TAG_PARAM_VALUE_FIELD";
***************
*** 229,234 ****
       * @msg.bundle   msg="The value ''{0}'' specified for parameter ''{1}'' of {2} 
tag in constructor of {3} class is
       *      not valid. Valid values for this tag are: '{'{4}}."
!      * @msg.bundle   language="pt" country="BR" msg="O valor ''{0}'' especificado 
para o parâmetro ''{1}'' da tag {2} no
!      *      construtor da classe {3} é inválido. Os valores válidos para esta tag 
são: '{'{4}}."
       */
      public final static String INVALID_TAG_PARAM_VALUE_CONSTRUCTOR = 
"INVALID_TAG_PARAM_VALUE_CONSTRUCTOR";
--- 229,234 ----
       * @msg.bundle   msg="The value ''{0}'' specified for parameter ''{1}'' of {2} 
tag in constructor of {3} class is
       *      not valid. Valid values for this tag are: '{'{4}}."
!      * @msg.bundle   language="pt" country="BR" msg="O valor ''{0}'' especificado 
para o parâmetro ''{1}'' da tag {2} no
!      *      construtor da classe {3} é inválido. Os valores válidos para esta tag 
são: '{'{4}}."
       */
      public final static String INVALID_TAG_PARAM_VALUE_CONSTRUCTOR = 
"INVALID_TAG_PARAM_VALUE_CONSTRUCTOR";
***************
*** 237,242 ****
       * @msg.bundle   msg="The value ''{0}'' specified for parameter ''{1}'' of {2} 
tag in {3} class is not valid. Valid
       *      values for this tag are: '{'{4}}."
!      * @msg.bundle   language="pt" country="BR" msg="O valor ''{0}'' especificado 
para o parâmetro ''{1}'' da tag {2} na
!      *      classe {3} é inválido. Os valores válidos para esta tag são: '{'{4}}."
       */
      public final static String INVALID_TAG_PARAM_VALUE_CLASS = 
"INVALID_TAG_PARAM_VALUE_CLASS";
--- 237,242 ----
       * @msg.bundle   msg="The value ''{0}'' specified for parameter ''{1}'' of {2} 
tag in {3} class is not valid. Valid
       *      values for this tag are: '{'{4}}."
!      * @msg.bundle   language="pt" country="BR" msg="O valor ''{0}'' especificado 
para o par�metro ''{1}'' da tag {2} na
!      *      classe {3} é inválido. Os valores válidos para esta tag são: 
'{'{4}}."
       */
      public final static String INVALID_TAG_PARAM_VALUE_CLASS = 
"INVALID_TAG_PARAM_VALUE_CLASS";
***************
*** 245,250 ****
       * @msg.bundle   msg="The value ''{0}'' specified for parameter ''{1}'' of {2} 
tag in {3} method of {4} class is not
       *      valid. Valid values for this tag are: '{'{5}}."
!      * @msg.bundle   language="pt" country="BR" msg="O valor ''{0}'' especificado 
para o parâmetro ''{1}'' da tag {2} no
!      *      método {3} da classe {4} é inválido. Os valores válidos para esta tag 
são: '{'{5}}."
       */
      public final static String INVALID_TAG_PARAM_VALUE_METHOD = 
"INVALID_TAG_PARAM_VALUE_METHOD";
--- 245,250 ----
       * @msg.bundle   msg="The value ''{0}'' specified for parameter ''{1}'' of {2} 
tag in {3} method of {4} class is not
       *      valid. Valid values for this tag are: '{'{5}}."
!      * @msg.bundle   language="pt" country="BR" msg="O valor ''{0}'' especificado 
para o par�metro ''{1}'' da tag {2} no
!      *      método {3} da classe {4} é inválido. Os valores válidos para esta 
tag são: '{'{5}}."
       */
      public final static String INVALID_TAG_PARAM_VALUE_METHOD = 
"INVALID_TAG_PARAM_VALUE_METHOD";
***************
*** 252,256 ****
      /**
       * @msg.bundle   msg="What''s going on here?!?!? prg_elem_doc={0}"
!      * @msg.bundle   language="pt" country="BR" msg="O que está acontecendo? 
prg_elem_doc={0}"
       */
      public final static String BAD_PRGELEMDOC_TYPE = "BAD_PRGELEMDOC_TYPE";
--- 252,256 ----
      /**
       * @msg.bundle   msg="What''s going on here?!?!? prg_elem_doc={0}"
!      * @msg.bundle   language="pt" country="BR" msg="O que está acontecendo? 
prg_elem_doc={0}"
       */
      public final static String BAD_PRGELEMDOC_TYPE = "BAD_PRGELEMDOC_TYPE";
***************
*** 258,262 ****
      /**
       * @msg.bundle   msg="Generating output for ''{0}'' using template file ''{1}''."
!      * @msg.bundle   language="pt" country="BR" msg="Gerando saída para ''{0}'' 
usando o template ''{1}''."
       */
      public final static String GENERATING_TEMPLATE_OUTPUT_PER_CLASS = 
"GENERATING_TEMPLATE_OUTPUT_PER_CLASS";
--- 258,262 ----
      /**
       * @msg.bundle   msg="Generating output for ''{0}'' using template file ''{1}''."
!      * @msg.bundle   language="pt" country="BR" msg="Gerando saída para ''{0}'' 
usando o template ''{1}''."
       */
      public final static String GENERATING_TEMPLATE_OUTPUT_PER_CLASS = 
"GENERATING_TEMPLATE_OUTPUT_PER_CLASS";
***************
*** 270,274 ****
      /**
       * @msg.bundle   msg="Couldn''t find bean {0} in sourcepath {1}."
!      * @msg.bundle   language="pt" country="BR" msg="Bean {0} não encontrado no 
sourcepath {1}."
       */
      public final static String COULDNT_FIND_BEAN = "COULDNT_FIND_BEAN";
--- 270,274 ----
      /**
       * @msg.bundle   msg="Couldn''t find bean {0} in sourcepath {1}."
!      * @msg.bundle   language="pt" country="BR" msg="Bean {0} não encontrado no 
sourcepath {1}."
       */
      public final static String COULDNT_FIND_BEAN = "COULDNT_FIND_BEAN";
***************
*** 277,281 ****
       * @msg.bundle   msg="Error in tag: = sign expected after parameter name, 
class={0}, tag={1}."
       * @msg.bundle   language="pt" country="BR" msg="Erro na tag: sinal de igual (=) 
esperado depois do nome do
!      *      parâmetro, classe={0}, tag={1}."
       */
      public final static String TAG_MISSING_EQUALS = "TAG_MISSING_EQUALS";
--- 277,281 ----
       * @msg.bundle   msg="Error in tag: = sign expected after parameter name, 
class={0}, tag={1}."
       * @msg.bundle   language="pt" country="BR" msg="Erro na tag: sinal de igual (=) 
esperado depois do nome do
!      *      parâmetro, classe={0}, tag={1}."
       */
      public final static String TAG_MISSING_EQUALS = "TAG_MISSING_EQUALS";
***************
*** 283,287 ****
      /**
       * @msg.bundle   msg="Error in tag: parameters should be in 
paramName=\"paramValue\" format, class={0}, tag={1}."
!      * @msg.bundle   language="pt" country="BR" msg="Erro na tag: os parâmetros 
devem estar no formato
       *      nomeParametro=\"valorParametro\", classe={0}, tag={1}."
       */
--- 283,287 ----
      /**
       * @msg.bundle   msg="Error in tag: parameters should be in 
paramName=\"paramValue\" format, class={0}, tag={1}."
!      * @msg.bundle   language="pt" country="BR" msg="Erro na tag: os parâmetros 
devem estar no formato
       *      nomeParametro=\"valorParametro\", classe={0}, tag={1}."
       */
***************
*** 298,303 ****
       * @msg.bundle   msg="Error in tag: to put \" in a parameter value you need to 
escape \" character with \\,
       *      class={0}, tag={1}."
!      * @msg.bundle   language="pt" country="BR" msg="Erro na tag: para incluir aspas 
(\") no valor de um parâmetro você
!      *      precisa precedê-las com uma barra invertida (\\)."
       */
      public final static String TAG_MUST_ESCAPE_QUOTES = "TAG_MUST_ESCAPE_QUOTES";
--- 298,303 ----
       * @msg.bundle   msg="Error in tag: to put \" in a parameter value you need to 
escape \" character with \\,
       *      class={0}, tag={1}."
!      * @msg.bundle   language="pt" country="BR" msg="Erro na tag: para incluir aspas 
(\") no valor de um parâmetro você
!      *      precisa precedê-las com uma barra invertida (\\)."
       */
      public final static String TAG_MUST_ESCAPE_QUOTES = "TAG_MUST_ESCAPE_QUOTES";
***************
*** 305,309 ****
      /**
       * @msg.bundle   msg="Error in tag: trailing \" sign expected but not found, 
class={0}, tag={1}."
!      * @msg.bundle   language="pt" country="BR" msg="Erro na tag: fecha aspas (\") 
esperado mas não encontrado,
       *      classe={0}, tag={1}."
       */
--- 305,309 ----
      /**
       * @msg.bundle   msg="Error in tag: trailing \" sign expected but not found, 
class={0}, tag={1}."
!      * @msg.bundle   language="pt" country="BR" msg="Erro na tag: fecha aspas (\") 
esperado mas não encontrado,
       *      classe={0}, tag={1}."
       */
***************
*** 312,316 ****
      /**
       * @msg.bundle   msg="tagName mandatory parameter in template file is null."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório tagName 
nulo no template."
       */
      public final static String TEMPLATE_TAGNAME_IS_NULL = "TEMPLATE_TAGNAME_IS_NULL";
--- 312,316 ----
      /**
       * @msg.bundle   msg="tagName mandatory parameter in template file is null."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório tagName 
nulo no template."
       */
      public final static String TEMPLATE_TAGNAME_IS_NULL = "TEMPLATE_TAGNAME_IS_NULL";
***************
*** 324,336 ****
  
      /**
-      * UNUSED
-      *
-      * @msg.bundle   msg="for_type was not one of METHOD, CLASS, CONSTRUCTOR, FIELD" 
public final static String
-      *      BAD_FOR_TYPE = "BAD_FOR_TYPE";
-      */
- 
-     /**
       * @msg.bundle   msg="Cannot have null program element when extracting tag 
value."
!      * @msg.bundle   language="pt" country="BR" msg="Não é possível que o elemento 
de programa seja nulo ao extrair o
       *      valor da tag."
       */
--- 324,329 ----
  
      /**
       * @msg.bundle   msg="Cannot have null program element when extracting tag 
value."
!      * @msg.bundle   language="pt" country="BR" msg="Não é possível que o 
elemento de programa seja nulo ao extrair o
       *      valor da tag."
       */
***************
*** 339,343 ****
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for template tag 
''{1}''."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag de template ''{1}''."
       */
      public final static String MANDATORY_TAG_PARAM_MISSING_TEMPLATE = 
"MANDATORY_TAG_PARAM_MISSING_TEMPLATE";
--- 332,336 ----
      /**
       * @msg.bundle   msg="Mandatory parameter ''{0}'' missing for template tag 
''{1}''."
!      * @msg.bundle   language="pt" country="BR" msg="Parâmetro obrigatório ''{0}'' 
ausente da tag de template ''{1}''."
       */
      public final static String MANDATORY_TAG_PARAM_MISSING_TEMPLATE = 
"MANDATORY_TAG_PARAM_MISSING_TEMPLATE";
***************
*** 351,355 ****
      /**
       * @msg.bundle   msg="Method {0} not found."
!      * @msg.bundle   language="pt" country="BR" msg="Método {0} não encontrado."
       */
      public final static String METHOD_NOT_FOUND = "METHOD_NOT_FOUND";
--- 344,348 ----
      /**
       * @msg.bundle   msg="Method {0} not found."
!      * @msg.bundle   language="pt" country="BR" msg="Método {0} não encontrado."
       */
      public final static String METHOD_NOT_FOUND = "METHOD_NOT_FOUND";
***************
*** 366,368 ****
--- 359,437 ----
       */
      public final static String DUPLICATED_TAG = "DUPLICATED_TAG";
+ 
+     /**
+      * @msg.bundle   msg="The {1} task doesn''t support the {2} attribute."
+      * @msg.bundle   language="pt" country="BR" msg="A tarefa {1} não suporta o 
+atributo {2}."
+      */
+     public final static String ATTRIBUTE_NOT_SUPPORTED = "ATTRIBUTE_NOT_SUPPORTED";
+ 
+     /**
+      * @msg.bundle   msg="{1} attribute is now obsolete. Please use a nested 
+<fileset> element."
+      * @msg.bundle   language="pt" country="BR" msg="O atributo {1} é obsoleto. Use 
+um elemento <fileset> aninhado."
+      */
+     public final static String OBSOLETE_TASK_ATTRIBUTE = "PACKAGENAMES_OBSOLETE";
+ 
+     /**
+      * @msg.bundle   msg="Can''t create a {1} element under {2}. Make sure the jar 
+file containing the corresponding
+      *      subtask class is on the classpath specified in the <taskdef> that 
+defined {2}."
+      * @msg.bundle   language="pt" country="BR" msg="Não foi possível criar o 
+elemento {1} sob {2}. Certifique-se de que
+      *      o arquivo jar contendo a subtarefa correspondente está incluído no 
+classpath definido para a <taskdef> que
+      *      definiu {2}."
+      */
+     public final static String CREATE_TASK_ERROR = "CREATE_TASK_ERROR";
+ 
+     /**
+      * @msg.bundle    msg="Couldn''t find class {1}: {2}"
+      * @msg.bundler   language="pt" country="BR" msg="Não foi possível encontrar a 
+classe {1}: {2}"
+      */
+     public final static String CLASS_NOT_FOUND_EXCEPTION = 
+"CLASS_NOT_FOUND_EXCEPTION";
+ 
+     /**
+      * @msg.bundle   msg="Couldn''t instantiate class {1}: {2}"
+      * @msg.bundle   language="pt" country="BR" msg="Não foi possível instanciar a 
+classe {1}: {2}"
+      */
+     public final static String INSTANTIATION_EXCEPTION = "INSTANTIATION_EXCEPTION";
+ 
+     /**
+      * @msg.bundle   msg="Couldn''t invoke constructor for class {1}: {2}"
+      * @msg.bundle   language="pt" country="BR" msg="Não foi possível invocar o 
+construtor da classe {1}: {2}"
+      */
+     public final static String ILLEGAL_ACCESS_EXCEPTION = "ILLEGAL_ACCESS_EXCEPTION";
+ 
+     /**
+      * @msg.bundle   msg="XDoclet failed."
+      * @msg.bundle   language="pt" country="BR" msg="O XDoclet falhou."
+      */
+     public final static String XDOCLET_FAILED = "XDOCLET_FAILED";
+ 
+     /**
+      * @msg.bundle   msg="Make sure the jar file containing the {1} class is on the 
+classpath specified in the <taskdef>
+      *      that defined {2}. These classes are needed in order to generate correct 
+output."
+      * @msg.bundle   language="pt" country="BR" msg="Certifique-se de que o arquivo 
+jar contendo a classe {1} está no
+      *      classpath definido para a <taskdef> que definiu {2}. Estas classes são 
+necessárias para gerar uma saída
+      *      correta."
+      */
+     public final static String CHECK_CLASS_FAILED = "CHECK_CLASS_FAILED";
+ 
+     /**
+      * @msg.bundle   msg="Ambiguous subtask definition for logical name {1}: {2} and 
+{3}"
+      * @msg.bundle   language="pt" country="BR" msg="Definição de subtarefa 
+ambígua para o nome lógico {1}: {2} e {3}"
+      */
+     public final static String AMBIGUOUS_SUBTASK_DEFINITION = 
+"AMBIGUOUS_SUBTASK_DEFINITION";
+ 
+     /**
+      * @msg.bundle   msg="Make sure that the jar file containing {1} is on the 
+classpath specified in the <taskdef> that
+      *      defined {2}. This class is required by {3} which is one of the subtasks 
+that was on your classpath. The {3}
+      *      task''s classpath is:\n\n{4}"
+      * @msg.bundle   language="pt" country="BR" msg="Certifique-se de que o arquivo 
+jar contendo a classe {1} está no
+      *      classpath definido para a <taskdef> que definiu {2}. Esta classe é 
+exigida por {3}, que é uma das subtarefas
+      *      que estava no seu classpath. O classpath da tarefa {3} é:\n\n{4}"
+      */
+     public final static String DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND = 
+"DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND";
+ 
+     /**
+      * @msg.bundle   msg="Couldn''t cast class {1} to {2}"
+      * @msg.bundle   language="pt" country="BR" msg="Não foi possível tornar a 
+classe {1} em uma {2}"
+      */
+     public final static String CLASS_CAST_EXCEPTION = "CLASS_CAST_EXCEPTION";
  }

Index: DocletTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/DocletTask.java,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -r1.54 -r1.55
*** DocletTask.java     3 Oct 2002 20:47:33 -0000       1.54
--- DocletTask.java     12 Dec 2002 02:21:03 -0000      1.55
***************
*** 30,34 ****
   *
   * @author        Ara Abrahamian ([EMAIL PROTECTED])
!  * @author        <a href="mailto:[EMAIL PROTECTED]";>Aslak Hellesøy</a>
   * @created       June 19, 2001
   * @ant.element   name="xdoclet" display-name="XDoclet Standard Task"
--- 30,34 ----
   *
   * @author        Ara Abrahamian ([EMAIL PROTECTED])
!  * @author        <a href="mailto:[EMAIL PROTECTED]";>Aslak Helles�y</a>
   * @created       June 19, 2001
   * @ant.element   name="xdoclet" display-name="XDoclet Standard Task"
***************
*** 198,206 ****
       * @param name
       * @param value
-      * @todo         i18n
       */
      public void setDynamicAttribute(String name, String value)
      {
!         throw new BuildException("The <" + getTaskName() + "> task doesn't support 
the \"" + name + "\" attribute.");
      }
  
--- 198,205 ----
       * @param name
       * @param value
       */
      public void setDynamicAttribute(String name, String value)
      {
!         throw new BuildException(Translator.getString(XDocletMessages.class, 
XDocletMessages.ATTRIBUTE_NOT_SUPPORTED, new String[]{getTaskName(), name}));
      }
  
***************
*** 211,219 ****
       * @deprecated
       * @ant.ignore
-      * @todo         i18n
       */
      public void setPackageNames(String src)
      {
!         throw new BuildException("packageNames is obsolete since xjavadoc was 
introduced. Use a fileset instead.");
      }
  
--- 210,217 ----
       * @deprecated
       * @ant.ignore
       */
      public void setPackageNames(String src)
      {
!         throw new BuildException(Translator.getString(XDocletMessages.class, 
XDocletMessages.OBSOLETE_TASK_ATTRIBUTE, new String[]{"packageNames"}));
      }
  
***************
*** 224,232 ****
       * @deprecated
       * @ant.ignore
-      * @todo         i18n
       */
      public void setExcludePackageNames(String src)
      {
!         throw new BuildException("excludePackageNames is obsolete since xjavadoc was 
introduced. Use a fileset instead.");
      }
  
--- 222,229 ----
       * @deprecated
       * @ant.ignore
       */
      public void setExcludePackageNames(String src)
      {
!         throw new BuildException(Translator.getString(XDocletMessages.class, 
XDocletMessages.OBSOLETE_TASK_ATTRIBUTE, new String[]{"excludePackageNames"}));
      }
  
***************
*** 329,333 ****
       * @return
       * @exception BuildException
-      * @todo                      i18n
       */
      public Object createDynamicElement(String name) throws BuildException
--- 326,329 ----
***************
*** 341,346 ****
  
          if (subTask == null) {
!             throw new BuildException("Can't create a " + name + " element under " + 
getTaskName() + ". Make sure the jar file containing the " +
!                 "corresponding subtask class is on the classpath specified in the 
<taskdef> that defined " + getTaskName() + ".");
          }
  
--- 337,341 ----
  
          if (subTask == null) {
!             throw new BuildException(Translator.getString(XDocletMessages.class, 
XDocletMessages.CREATE_TASK_ERROR, new String[]{name, getTaskName()}));
          }
  
***************
*** 359,363 ****
       * @param subtask             Describe the method parameter
       * @exception BuildException
-      * @todo                      i18n
       */
      public void addTemplate(TemplateSubTask subtask) throws BuildException
--- 354,357 ----
***************
*** 377,387 ****
              }
              catch (ClassNotFoundException e) {
!                 throw new BuildException("Couldn't find class: " + e.getMessage(), 
e, location);
              }
              catch (InstantiationException e) {
!                 throw new BuildException("Couldn't instantiate class: " + 
e.getMessage(), e, location);
              }
              catch (IllegalAccessException e) {
!                 throw new BuildException("Couldn't invoke constructor: " + 
e.getMessage(), e, location);
              }
          }
--- 371,387 ----
              }
              catch (ClassNotFoundException e) {
!                 throw new BuildException(Translator.getString(XDocletMessages.class,
!                     XDocletMessages.CLASS_NOT_FOUND_EXCEPTION,
!                     new String[]{subtask.getSubTaskClassName(), e.getMessage()}), e, 
location);
              }
              catch (InstantiationException e) {
!                 throw new BuildException(Translator.getString(XDocletMessages.class,
!                     XDocletMessages.INSTANTIATION_EXCEPTION,
!                     new String[]{subtask.getSubTaskClassName(), e.getMessage()}), e, 
location);
              }
              catch (IllegalAccessException e) {
!                 throw new BuildException(Translator.getString(XDocletMessages.class,
!                     XDocletMessages.ILLEGAL_ACCESS_EXCEPTION,
!                     new String[]{subtask.getSubTaskClassName(), e.getMessage()}), e, 
location);
              }
          }
***************
*** 451,455 ****
      /**
       * @exception BuildException
-      * @todo                      i18n
       */
      protected void start() throws BuildException
--- 451,454 ----
***************
*** 459,463 ****
          }
          catch (XDocletException e) {
!             throw new BuildException("XDoclet failed", e, location);
          }
          finally {
--- 458,462 ----
          }
          catch (XDocletException e) {
!             throw new BuildException(Translator.getString(XDocletMessages.class, 
XDocletMessages.XDOCLET_FAILED), e, location);
          }
          finally {
***************
*** 493,497 ****
       *
       * @param className
-      * @todo             i18n
       */
      protected void checkClass(String className)
--- 492,495 ----
***************
*** 501,507 ****
          }
          catch (Exception e) {
!             throw new BuildException("Make sure the jar file containing the " + 
className +
!                 " class is on the classpath specified in the <taskdef> that defined 
" + getTaskName() +
!                 ". These classes are needed in order to generate correct output.");
          }
      }
--- 499,503 ----
          }
          catch (Exception e) {
!             throw new BuildException(Translator.getString(XDocletMessages.class, 
XDocletMessages.CHECK_CLASS_FAILED, new String[]{className, getTaskName()}));
          }
      }
***************
*** 532,538 ****
      }
  
-     /**
-      * @todo   i18n
-      */
      private void registerModules()
      {
--- 528,531 ----
***************
*** 559,563 ****
                                  // duplicate subtask definition, and it's not the 
same classname (which occurs
                                  // if a module is twice or more on classpath - which 
is OK)
!                                 throw new BuildException("Ambiguous subtask 
definition for logical name " + subTaskDefinition.name + ":" + 
conflictingSubTaskClassName + " and " + subTaskDefinition.implementationClass);
                              }
  
--- 552,559 ----
                                  // duplicate subtask definition, and it's not the 
same classname (which occurs
                                  // if a module is twice or more on classpath - which 
is OK)
!                                 throw new 
BuildException(Translator.getString(XDocletMessages.class,
!                                     XDocletMessages.AMBIGUOUS_SUBTASK_DEFINITION,
!                                     new String[]{subTaskDefinition.name, 
conflictingSubTaskClassName,
!                                     subTaskDefinition.implementationClass}));
                              }
  
***************
*** 576,593 ****
                  }
                  catch (ClassNotFoundException e) {
!                     log("Make sure that the jar file containing " +
!                         e.getMessage() + " is on the classpath specified in the 
<taskdef> that defined " + getTaskName() + "." +
!                         " This class is required by " + 
subTaskDefinition.implementationClass + " which is one of the subtasks that " +
!                         "was on your classpath. The " + getTaskName() + " task's 
classpath is:\n\n" + ModuleFinder.getClasspath(), Project.MSG_ERR);
!                     throw new BuildException("Couldn't find class: " + 
e.getMessage(), e);
                  }
                  catch (InstantiationException e) {
!                     throw new BuildException("Couldn't instantiate class: " + 
e.getMessage(), e);
                  }
                  catch (IllegalAccessException e) {
!                     throw new BuildException("Couldn't invoke constructor: " + 
e.getMessage(), e);
                  }
                  catch (ClassCastException e) {
!                     throw new BuildException("Couldn't cast to " + 
SubTask.class.getName(), e);
                  }
              }
--- 572,593 ----
                  }
                  catch (ClassNotFoundException e) {
!                     throw new 
BuildException(Translator.getString(XDocletMessages.class,
!                         XDocletMessages.DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND,
!                         new String[]{e.getMessage(), getTaskName(), 
subTaskDefinition.implementationClass, ModuleFinder.getClasspath()}), e);
                  }
                  catch (InstantiationException e) {
!                     throw new 
BuildException(Translator.getString(XDocletMessages.class,
!                         XDocletMessages.INSTANTIATION_EXCEPTION,
!                         new String[]{subTaskDefinition.implementationClass, 
e.getMessage()}), e);
                  }
                  catch (IllegalAccessException e) {
!                     throw new 
BuildException(Translator.getString(XDocletMessages.class,
!                         XDocletMessages.ILLEGAL_ACCESS_EXCEPTION,
!                         new String[]{subTaskDefinition.implementationClass, 
e.getMessage()}), e);
                  }
                  catch (ClassCastException e) {
!                     throw new 
BuildException(Translator.getString(XDocletMessages.class,
!                         XDocletMessages.CLASS_CAST_EXCEPTION,
!                         new String[]{subTaskDefinition.implementationClass, 
SubTask.class.getName()}), e);
                  }
              }



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to