dion        2003/10/08 09:38:11

  Modified:    src/plugins-build/javadoc plugin.jelly plugin.properties
               src/plugins-build/javadoc/xdocs properties.xml
  Log:
  Fix for MAVEN-888
  
  Revision  Changes    Path
  1.25      +4 -0      maven/src/plugins-build/javadoc/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/javadoc/plugin.jelly,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- plugin.jelly      8 Oct 2003 16:22:00 -0000       1.24
  +++ plugin.jelly      8 Oct 2003 16:38:11 -0000       1.25
  @@ -158,6 +158,10 @@
             <ant:path location="${maven.build.dest}"/>
           </ant:classpath>
         
  +        <j:if test="${context.getVariable('maven.javadoc.locale') != null}">
  +          <ant:setProperty name="locale" value="${maven.javadoc.locale}" />
  +        </j:if>
  +
           <j:if test="${context.getVariable('maven.javadoc.overview') != null}">
             <ant:setProperty name="overview" value="${maven.javadoc.overview}" />
           </j:if>
  
  
  
  1.8       +3 -0      maven/src/plugins-build/javadoc/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/javadoc/plugin.properties,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- plugin.properties 21 Sep 2003 06:43:20 -0000      1.7
  +++ plugin.properties 8 Oct 2003 16:38:11 -0000       1.8
  @@ -23,3 +23,6 @@
   maven.javadoc.windowtitle = ${pom.name} ${pom.currentVersion} API
   
   maven.docs.outputencoding = ISO-8859-1
  +
  +#specify an alternate locale
  +#maven.javadoc.locale=en_US
  \ No newline at end of file
  
  
  
  1.11      +10 -0     maven/src/plugins-build/javadoc/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/javadoc/xdocs/properties.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- properties.xml    8 Oct 2003 16:22:00 -0000       1.10
  +++ properties.xml    8 Oct 2003 16:38:11 -0000       1.11
  @@ -79,6 +79,16 @@
             </td>
           </tr>
           <tr>
  +          <td>maven.javadoc.locale</td>
  +          <td>Yes</td>
  +          <td>
  +            <p>
  +            Locale to be used, e.g. en_US or en_US_WIN.
  +            Works like the "-locale" option of the javadoc command.
  +            </p>
  +          </td>
  +        </tr>
  +        <tr>
             <td><a name="maven.javadoc.mode.online">maven.javadoc.mode.online</a></td>
             <td>Yes</td>
             <td>
  
  
  

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

Reply via email to