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

Modified Files:
        DocletTask.java XDocletMessages.java 
Log Message:
Fixing incorrect indices in messages. They should start on {0} and not {1}.

Index: DocletTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/DocletTask.java,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** DocletTask.java     12 Dec 2002 02:21:03 -0000      1.55
--- DocletTask.java     4 Jan 2003 16:57:02 -0000       1.56
***************
*** 574,578 ****
                      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) {
--- 574,578 ----
                      throw new 
BuildException(Translator.getString(XDocletMessages.class,
                          XDocletMessages.DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND,
!                         new String[]{subTaskDefinition.parentTaskClass, 
ModuleFinder.getClasspath()}), e);
                  }
                  catch (InstantiationException e) {

Index: XDocletMessages.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/XDocletMessages.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** XDocletMessages.java        12 Dec 2002 02:21:03 -0000      1.12
--- XDocletMessages.java        4 Jan 2003 16:57:02 -0000       1.13
***************
*** 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."
       */
***************
*** 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";
***************
*** 109,114 ****
      /**
       * @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}."
       */
      public final static String MANDATORY_TAG_PARAM_MISSING_METHOD = 
"MANDATORY_TAG_PARAM_MISSING_METHOD";
--- 109,114 ----
      /**
       * @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}."
       */
      public final static String MANDATORY_TAG_PARAM_MISSING_METHOD = 
"MANDATORY_TAG_PARAM_MISSING_METHOD";
***************
*** 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";
***************
*** 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";
--- 193,198 ----
      /**
       * @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,204 ****
      /**
       * @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\"."
       */
      public final static String COULDNT_FIND_DTD = "COULDNT_FIND_DTD";
--- 200,205 ----
      /**
       * @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\"."
       */
      public final static String COULDNT_FIND_DTD = "COULDNT_FIND_DTD";
***************
*** 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";
--- 222,227 ----
       * @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";
--- 230,235 ----
       * @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,241 ****
       * @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}}."
       */
--- 238,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}}."
       */
***************
*** 245,249 ****
       * @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}}."
       */
--- 246,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}}."
       */
***************
*** 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";
--- 299,304 ----
       * @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";
***************
*** 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";
--- 333,338 ----
      /**
       * @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";
***************
*** 361,399 ****
  
      /**
!      * @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";
--- 363,401 ----
  
      /**
!      * @msg.bundle   msg="The {0} task doesn''t support the {1} attribute."
!      * @msg.bundle   language="pt" country="BR" msg="A tarefa {0} não suporta o 
atributo {1}."
       */
      public final static String ATTRIBUTE_NOT_SUPPORTED = "ATTRIBUTE_NOT_SUPPORTED";
  
      /**
!      * @msg.bundle   msg="{0} attribute is now obsolete. Please use a nested 
<fileset> element."
!      * @msg.bundle   language="pt" country="BR" msg="O atributo {0} é obsoleto. Use 
um elemento <fileset> aninhado."
       */
      public final static String OBSOLETE_TASK_ATTRIBUTE = "PACKAGENAMES_OBSOLETE";
  
      /**
!      * @msg.bundle   msg="Can''t create a {0} element under {1}. 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 {0} sob {1}. 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 {0}: {1}"
!      * @msg.bundler   language="pt" country="BR" msg="Não foi possível encontrar a 
classe {0}: {1}"
       */
      public final static String CLASS_NOT_FOUND_EXCEPTION = 
"CLASS_NOT_FOUND_EXCEPTION";
  
      /**
!      * @msg.bundle   msg="Couldn''t instantiate class {0}: {1}"
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível instanciar a 
classe {0}: {1}"
       */
      public final static String INSTANTIATION_EXCEPTION = "INSTANTIATION_EXCEPTION";
  
      /**
!      * @msg.bundle   msg="Couldn''t invoke constructor for class {0}: {1}"
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível invocar o 
construtor da classe {0}: {1}"
       */
      public final static String ILLEGAL_ACCESS_EXCEPTION = "ILLEGAL_ACCESS_EXCEPTION";
***************
*** 406,413 ****
  
      /**
!      * @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."
       */
--- 408,415 ----
  
      /**
!      * @msg.bundle   msg="Make sure the jar file containing the {0} class is on the 
classpath specified in the <taskdef>
!      *      that defined {1}. 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 {0} está no
!      *      classpath definido para a <taskdef> que definiu {1}. Estas classes são 
necessárias para gerar uma saída
       *      correta."
       */
***************
*** 415,436 ****
  
      /**
!      * @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";
--- 417,434 ----
  
      /**
!      * @msg.bundle   msg="Ambiguous subtask definition for logical name {0}: {1} and 
{2}"
!      * @msg.bundle   language="pt" country="BR" msg="Definição de subtarefa 
ambígua para o nome lógico {0}: {1} e
!      *      {2}"
       */
      public final static String AMBIGUOUS_SUBTASK_DEFINITION = 
"AMBIGUOUS_SUBTASK_DEFINITION";
  
      /**
!      * @msg.bundle   msg="Couldn''t find the class {0} on the classpath: {1}"
       */
      public final static String DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND = 
"DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND";
  
      /**
!      * @msg.bundle   msg="Couldn''t cast class {0} to {1}"
!      * @msg.bundle   language="pt" country="BR" msg="Não foi possível tornar a 
classe {0} em uma {1}"
       */
      public final static String CLASS_CAST_EXCEPTION = "CLASS_CAST_EXCEPTION";



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to