Skip to main content

Source code file content

Revision: 57098

pass context to InjectionResolver for supplemental commands
» Project Revision History

» Checkout URL

svn / tags / 3.1-b21 / javadoc.xml

Size: 30324 bytes, 1 line
<?xml version="1.0"?>
<!--

    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

    Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.

    The contents of this file are subject to the terms of either the GNU
    General Public License Version 2 only ("GPL") or the Common Development
    and Distribution License("CDDL") (collectively, the "License").  You
    may not use this file except in compliance with the License.  You can
    obtain a copy of the License at
    https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
    or packager/legal/LICENSE.txt.  See the License for the specific
    language governing permissions and limitations under the License.

    When distributing the software, include this License Header Notice in each
    file and include the License file at packager/legal/LICENSE.txt.

    GPL Classpath Exception:
    Oracle designates this particular file as subject to the "Classpath"
    exception as provided by Oracle in the GPL Version 2 section of the License
    file that accompanied this code.

    Modifications:
    If applicable, add the following below the License Header, with the fields
    enclosed by brackets [] replaced by your own identifying information:
    "Portions Copyright [year] [name of copyright owner]"

    Contributor(s):
    If you wish your version of this file to be governed by only the CDDL or
    only the GPL Version 2, indicate your decision by adding "[Contributor]
    elects to include this software in this distribution under the [CDDL or GPL
    Version 2] license."  If you don't indicate a single choice of license, a
    recipient has the option to distribute your version of this file under
    either the CDDL, the GPL Version 2 or to extend the choice of license to
    its licensees as provided above.  However, if you add GPL Version 2 code
    and therefore, elected the GPL Version 2 license, then the option applies
    only if the new code is made subject to such option by the copyright
    holder.

-->

<!--JavaTM Enterprise Edition 6 JavaDocs  -->
<project name="GlassFish JavaEE6 JavaDocs" default="default" basedir="." xmlns:artifact="urn:maven-artifact-ant">

  <property file="${basedir}/javadoc.properties"/>
  <property name="external.dir" value="${basedir}/external" />
  <property name="build.javadocs" value="${basedir}/javadocs"/>
  <property name="destfile.name" value="javadocee6.jar"/>
  <property name="Name" value="Java&lt;sup&gt;&lt;font size=-2&gt;TM&lt;/font&gt;&lt;/sup&gt; Platform, Enterprise Edition 6 " />
  <!-- set empty if non-DRAFT -->
  <property name="DRAFT" value="" />
  <property name="Title" value="Java EE 6 ${DRAFT}" />
  <property name="remote.repository" value="http://maven.glassfish.org/content/groups/glassfish/" />
  <property name="maven.repo.local" value="${user.home}/.m2/repository" />
  <tstamp>
      <format property="TODAY" pattern="d-MMMM-yyyy hh:mm" locale="en,US"/>
  </tstamp>

  <property name="build.v3.javadocs" value="${basedir}/build/v3/javadocs"/>
  <property name="v3.Name" value="GlassFish 3.1" />
  <property name="v3.Title" value="GlassFish 3.1  ${DRAFT}" />

  <path id="src.dir">
    <dirset dir="${basedir}">

      <include name="javaee-api/**/src/main/java/**"/>
      <include name="ejb/**/src/main/java/**"/>
      <include name="deployment/**/src/main/java/**"/>
      <include name="admin/**/src/main/java/**"/>
      <include name="connectors/**/src/main/java/**"/>
      <include name="security/**/src/main/java/**"/>
      <include name="transaction/**/src/main/java/**"/>
      <include name="web/**/src/main/java/**"/>

      <include name="external/jaxr-api/**"/>
      <include name="external/jaxr-ri/**"/>
      <include name="external/javamail/**"/>
      <include name="external/jaxrpc-api/src/**"/>
      <include name="external/jaxb-api/**"/>
      <include name="external/jaxr/**"/>
      <include name="external/jaxws-api/**"/>
      <include name="external/jsf/**"/>
      <include name="external/jsp/**"/>
      <include name="external/jsr181/**"/>
      <include name="external/jsr311/**"/>
      <include name="external/jstl-api/**"/>
      <include name="external/mq-distribution/mq/src/share/java/**"/>
      <include name="external/eclipse.persistence/**"/>
      <include name="external/saaj-api/**" />
      <include name="external/uel/**"/>
      <include name="external/validation-api/**"/>
      <include name="external/weld-osgi-bundle/**"/>
    </dirset>
  </path>

  <path id="v3.src.path">
    <dirset dir="${basedir}">
      <include name="external/hk2/**"/>
      <include name="common/glassfish-api/src/main/java/**"/>
      <include name="common/amx-core/src/main/java/**"/>
      <include name="common/amx-config/src/main/java/**"/>
      <include name="common/amx-j2ee/src/main/java/**"/>
      <include name="web/web-embed/api/src/main/java/**"/>
      <include name="flashlight/framework/src/main/java/**"/>
      <include name="external/management-api-sources/**"/>
      <include name="external/appclient-tmp/**"/>
    </dirset>
    <path refid="src.dir"/>
  </path>


  <target name="default" description="Default target">
      <antcall target="checkout.source" />
      <antcall target="create-javadocs" />
      <antcall target="copy-jsf-image-files" />
      <antcall target="jar-javadoc" />
  </target>

  <target name="v3-javadocs" description="all javadocs including
                         GlassFish specific javadocs"
                         depends="checkout.source,appclient-source">
      <antcall target="create-v3-javadocs" />
      <antcall target="copy-jsf-image-files">
        <param name="build.javadocs" value="${build.v3.javadocs}"/>
      </antcall>
      <antcall target="jar-javadoc" >
        <param name="build.javadocs" value="${build.v3.javadocs}"/>
        <param name="destfile.name" value="glassfish-all.jar"/>
      </antcall>
      <antcall target="clean-javadocs-dir">
        <param name="build.javadocs" value="${external.dir}/appclient-tmp"/>
      </antcall>
  </target>


  <target name="initialize.maven">
        <get
           src="http://maven.glassfish.org/content/repositories/maven.central/org/apache/maven/maven-ant-tasks/2.0.9/maven-ant-tasks-2.0.9.jar"
           dest="${basedir}/maven-ant-tasks-2.0.9.jar"
           verbose="true"
           usetimestamp="true"/>
        <path id="maven-ant-tasks.classpath" path="${basedir}/maven-ant-tasks-2.0.9.jar" />
        <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant"
                 classpathref="maven-ant-tasks.classpath" />
        <artifact:install-provider artifactId="wagon-svn" groupId="org.jvnet.wagon-svn" version="1.9">
        <artifact:remoteRepository id="nexus.repository" url="${remote.repository}" />
        <artifact:localRepository path="${maven.repo.local}"/>
        </artifact:install-provider>
  </target>

  <target name="checkout.source" description="Checkout JavaEE6 source" depends="init">
      <antcall target="jaxr-api.checkout" />
      <antcall target="javamail.download" />
      <antcall target="jaxrpc.checkout" />
      <antcall target="jaxb-api.download" />
      <antcall target="jaxr.checkout" />
      <antcall target="jaxws-api.download" />
      <antcall target="jsf.download" />
      <antcall target="jsp.download" />
      <antcall target="jsr181.download" />
      <antcall target="jsr311.download" />
      <antcall target="jstl-api.download" />
      <antcall target="mq.download" />
      <antcall target="eclipse-persistence.download" />
      <antcall target="saaj-api.download" />
      <antcall target="uel.download" />
      <antcall target="bean-validator.download" />
      <antcall target="weld-api.download" />
      <antcall target="hk2.download" />
      <antcall target="flashlight.download" />
  </target>

  <target name="init">
      <mkdir dir="${external.dir}"/>
  </target>

  <target name="v3.checkout" description="Checkout v3 workspace"> 
      <echo message="checkout v3 from ${v3.svn.url}."/>
      <!-- checkout v3 source -->
      <exec executable="svn" dir="${basedir}" failonerror="true" >
	  <arg line="checkout" />
          <arg line="${v3.svn.url}" />
          <arg line="--username" />
          <arg line="guest" />
          <arg line="v3" />
	</exec>
  </target>

  <target name="jaxr-api.checkout" description="Checkout JAXR-API and JAXR-RI"> 
      <echo message="checkout jaxr-api and jaxr-ri from ${cvsroot}."/>
      <exec executable="cvs" dir="${external.dir}" failonerror="true" >
	  <arg line="-d" />
          <arg line="${cvsroot}" />
          <arg line="co" />
	  <arg line="-d" />
	  <arg line="jaxr-api" />
	  <arg line="${jaxrj-api.cvs.location}" />
	</exec>
      <exec executable="cvs" dir="${external.dir}" failonerror="true" >
	  <arg line="-d" />
          <arg line="${cvsroot}" />
          <arg line="co" />
	  <arg line="-d" />
	  <arg line="jaxr-ri" />
	  <arg line="${jaxr-ri.cvs.location}" />
	</exec>
  </target>

  <target name="javamail.download" description="Download JavaMail 1.4.3" depends="initialize.maven">
      <artifact:dependencies sourcesFilesetId="sources.dependency.javamail">
          <dependency groupId="javax.mail" artifactId="mail" version="1.4.3"/>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/javamail" />
      <copy todir="${external.dir}/javamail" verbose="true">
          <fileset refid="sources.dependency.javamail" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/javamail"  >
          <fileset dir="${external.dir}/javamail">
              <include name="**/*.jar"/>
          </fileset>
<!--
fileset refid of artifact:dependencies does not work in unjar
          <fileset refid="sources.dependency.javamail"/>
          <mapper type="flatten" />
-->
      </unjar>
  </target>


  <target name="jaxrpc.checkout" description="Checkout JAXRPC-API"> 
      <echo message="checkout jaxrpc-api from ${cvsroot}."/>
      <exec executable="cvs" dir="${external.dir}"  >
	  <arg line="-d" />
          <arg line="${sfbay.cvsroot}" />
          <arg line="co" />
	  <arg line="-r" />
	  <arg line="${jaxrpc.api.cvs.branch}" />
	  <arg line="${jaxrpc.api.cvs.location}" />
	</exec>
  </target>

  <target name="jaxb-api.download" description="Download JAXB-API" depends="initialize.maven">
      <artifact:dependencies sourcesFilesetId="sources.dependency.jaxb-api">
          <dependency groupId="javax.xml.bind" artifactId="jaxb-api" version="2.2.2-promoted-b92" classifier="sources" />
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/jaxb-api" />
      <copy todir="${external.dir}/jaxb-api" verbose="true">
          <fileset refid="sources.dependency.jaxb-api" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/jaxb-api"  >
          <fileset dir="${external.dir}/jaxb-api">
              <include name="**/jaxb-api*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="jaxr.checkout" description="Checkout JAXR" >
      <mkdir dir="${external.dir}/jaxr" />
      <get
           src="${jaxr.url}"
           dest="${external.dir}/jaxr/jaxr-1_0-fr-apisrc.jar"
           verbose="true"
           usetimestamp="true"
           ignoreerrors="true" />
      <unjar dest="${external.dir}/jaxr"  >
          <fileset dir="${external.dir}/jaxr">
              <include name="**/*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="jaxws-api.download" description="Download JAXWS-API" depends="initialize.maven">
      <artifact:dependencies sourcesFilesetId="sources.dependency.jaxws-api">
          <dependency groupId="javax.xml.ws" artifactId="jaxws-api" version="2.2-rc2">
              <exclusion groupId="javax.annotation" artifactId="jsr250-api" />
          </dependency>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
       </artifact:dependencies>
      <mkdir dir="${external.dir}/jaxws-api" />
      <copy todir="${external.dir}/jaxws-api" verbose="true">
          <fileset refid="sources.dependency.jaxws-api" />
           <mapper type="flatten" />
       </copy>
      <unjar dest="${external.dir}/jaxws-api"  >
          <fileset dir="${external.dir}/jaxws-api">
               <include name="**/*.jar"/>
          </fileset>
       </unjar>
  </target>

  <target name="jsf.download" description="Download JSF" depends="initialize.maven">
      <artifact:dependencies sourcesFilesetId="sources.dependency.jsf">
          <dependency groupId="com.sun.faces" artifactId="jsf-api" version="2.1.0-b03"/>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/jsf" />
      <copy todir="${external.dir}/jsf" verbose="true">
          <fileset refid="sources.dependency.jsf" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/jsf"  >
          <fileset dir="${external.dir}/jsf">
              <include name="**/*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="jsp.download" description="Download JSP" depends="initialize.maven">
      <artifact:dependencies sourcesFilesetId="sources.dependency.jsp">
          <dependency groupId="javax.servlet.jsp" artifactId="jsp-api" version="2.2"/>
          <dependency groupId="org.glassfish.web" artifactId="jsp-impl" version="2.2.2-b03"/>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/jsp" />
      <copy todir="${external.dir}/jsp" verbose="true">
          <fileset refid="sources.dependency.jsp" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/jsp"  >
          <fileset dir="${external.dir}/jsp">
              <include name="**/jsp*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="jsr181.download" description="Download JSR 181" depends="initialize.maven">
      <artifact:dependencies sourcesFilesetId="sources.dependency.jsr181">
          <dependency groupId="javax.jws" artifactId="jsr181-api" version="1.0-MR1"/>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/jsr181" />
      <copy todir="${external.dir}/jsr181" verbose="true">
          <fileset refid="sources.dependency.jsr181" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/jsr181"  >
          <fileset dir="${external.dir}/jsr181">
              <include name="**/*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="jsr311.download" description="Download JSR 311" depends="initialize.maven">
      <artifact:dependencies sourcesFilesetId="sources.dependency.jsr311">
          <dependency groupId="javax.ws.rs" artifactId="jsr311-api" version="1.1.1"/>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/jsr311" />
      <copy todir="${external.dir}/jsr311" verbose="true">
          <fileset refid="sources.dependency.jsr311" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/jsr311"  >
          <fileset dir="${external.dir}/jsr311">
              <include name="**/*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="jstl-api.download" description="Download JSTL-API" depends="initialize.maven">
      <artifact:dependencies sourcesFilesetId="sources.dependency.jstl">
          <dependency groupId="javax.servlet.jsp.jstl" artifactId="jstl-api" version="1.2"/>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/jstl-api" />
      <copy todir="${external.dir}/jstl-api" verbose="true">
          <fileset refid="sources.dependency.jstl" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/jstl-api"  >
          <fileset dir="${external.dir}/jstl-api">
              <include name="**/jstl*.jar"/>
          </fileset>
      </unjar>
  </target>


  <target name="mq.download" description="Download MQ" depends="initialize.maven" >
      <artifact:dependencies filesetId="dependency.fileset" sourcesFilesetId="sources.dependency.mq" >
          <dependency groupId="org.glassfish" artifactId="mq-distribution" version="4.5-015" classifier="sources" type="zip"/>
          <dependency groupId="org.glassfish" artifactId="mq-distribution" version="4.5-015" type="zip"/>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/mq-distribution" />
      <copy todir="${external.dir}/mq-distribution" verbose="true">
          <!-- fileset refid="sources.dependency.mq" / -->
          <fileset refid="dependency.fileset" />
          <mapper type="flatten" />
      </copy>
      <unzip dest="${external.dir}/mq-distribution"  >
          <fileset dir="${external.dir}/mq-distribution">
              <include name="**/mq-distribution*sources.zip"/>
          </fileset>
      </unzip>
      <!-- delete examples directory since it was causing error in javadoc.  not able to use exclude dirset  -->
      <echo message="delete examples directory" />
      <delete dir="${external.dir}/mq-distribution/mq/src/share/java/examples" />
  </target>


  <target name="eclipse-persistence.download" description="Download Eclipse Persistence source" depends="initialize.maven" > 
      <artifact:dependencies sourcesFilesetId="sources.dependency.eclipse-persistence">
          <dependency groupId="org.eclipse.persistence" artifactId="javax.persistence" version="2.0.1"/>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/eclipse.persistence" />
      <copy todir="${external.dir}/eclipse.persistence" verbose="true">
          <fileset refid="sources.dependency.eclipse-persistence" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/eclipse.persistence"  >
          <fileset dir="${external.dir}/eclipse.persistence">
              <include name="**/javax.persistence*.jar"/>
          </fileset>
      </unjar>
  </target>


  <target name="saaj-api.download" description="Download Saaj-API" depends="initialize.maven" >
      <artifact:dependencies sourcesFilesetId="sources.dependency.saaj-api" >
          <dependency groupId="javax.xml.soap" artifactId="saaj-api" version="1.3" classifier="sources" />
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/saaj-api" />
      <copy todir="${external.dir}/saaj-api" verbose="true">
          <fileset refid="sources.dependency.saaj-api" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/saaj-api"  >
          <fileset dir="${external.dir}/saaj-api">
              <include name="**/saaj-api*sources.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="uel.download" description="Download UEL-API" depends="initialize.maven" >
      <artifact:dependencies sourcesFilesetId="sources.dependency.uel" >
          <dependency groupId="javax.el" artifactId="el-api" version="2.2" classifier="sources" />
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/uel" />
      <copy todir="${external.dir}/uel" verbose="true">
          <fileset refid="sources.dependency.uel" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/uel"  >
          <fileset dir="${external.dir}/uel">
              <include name="**/el-api*sources.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="bean-validator.download" description="Download BeanValidator" depends="initialize.maven" >
      <artifact:dependencies sourcesFilesetId="sources.dependency.bean-validator" >
          <dependency groupId="org.glassfish" artifactId="bean-validator" version="3.0-JBoss-4.0.2_02" classifier="sources" />
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/validation-api" />
      <copy todir="${external.dir}/validation-api" verbose="true">
          <fileset refid="sources.dependency.bean-validator" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/validation-api"  >
          <fileset dir="${external.dir}/validation-api">
              <include name="**/*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="weld-osgi-bundle.download" description="Download Weld OSGI Bundle" depends="initialize.maven" >
      <artifact:dependencies sourcesFilesetId="sources.dependency.weld-osgi-bundle" >
          <dependency groupId="org.jboss.weld" artifactId="weld-osgi-bundle" version="1.1.0-01-glassfish" classifier="sources" >
              <exclusion groupId="javax.annotation" artifactId="jsr250-api" />
          </dependency>
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/weld-osgi-bundle" />
      <copy todir="${external.dir}/weld-osgi-bundle" verbose="true">
          <fileset refid="sources.dependency.weld-osgi-bundle" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/weld-osgi-bundle"  >
          <fileset dir="${external.dir}/weld-osgi-bundle">
              <include name="**/*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="hk2.download" description="Download hk2" depends="initialize.maven" >
      <artifact:dependencies sourcesFilesetId="sources.dependency.hk2" >
          <dependency groupId="com.sun.enterprise" artifactId="hk2" version="1.0.0" classifier="sources" />
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/hk2" />
      <copy todir="${external.dir}/hk2" verbose="true">
          <fileset refid="sources.dependency.hk2" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/hk2"  >
          <fileset dir="${external.dir}/hk2">
              <include name="**/*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="flashlight.download" description="Download management-api" depends="initialize.maven" >
      <artifact:dependencies filesetId="sources.dependency.flashlight" >
          <dependency groupId="org.glassfish.external" artifactId="management-api-sources" version="3.0.0-b012" />
          <remoteRepository refid="nexus.repository" />
          <localRepository path="${maven.repo.local}"/>
      </artifact:dependencies>
      <mkdir dir="${external.dir}/management-api-sources" />
      <copy todir="${external.dir}/management-api-sources" verbose="true">
          <fileset refid="sources.dependency.flashlight" />
          <mapper type="flatten" />
      </copy>
      <unjar dest="${external.dir}/management-api-sources"  >
          <fileset dir="${external.dir}/management-api-sources">
              <include name="**/*.jar"/>
          </fileset>
      </unjar>
  </target>

  <target name="appclient-source">
    <mkdir dir="${external.dir}/appclient-tmp"/>
    <copy
    todir="${external.dir}/appclient-tmp/" overwrite="true">
      <fileset dir="${basedir}/appclient/client/acc-config/target/generated-sources/xjc/">
        <exclude name="**/Adapter*.java"/>
      </fileset>
    </copy>
    <copy todir="${external.dir}/appclient-tmp/org/glassfish/appclient/client/acc" overwrite="true"
        file="${basedir}/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/AppClientContainer.java"/>
  </target>

  <target name="clean-javadocs-dir" description="Delete JavaDocs directory">
          <delete dir="${build.javadocs}" quiet="true" />
  </target>

  <target name="create-javadocs" description="Creates JavaEE 6 JavaDocs">
    <antcall target="clean-javadocs-dir" />
    <mkdir dir="${build.javadocs}"/>
    <javadoc sourcepathref="src.dir"
             destdir="${build.javadocs}"
	     excludepackagenames="com.*,org.*,sample.*,killer.*,net.*,testing.*,java.*,javax.xml.messaging.*,javax.xml.registry.samples.*,javax.xml.namespace.*,javassist.*"
             maxmemory="2048m"
             author="true"
             version="true"
             source="1.6"
             encoding="ISO-8859-1"
             windowtitle="${Title}"
             doctitle="&lt;h1&gt;${Name} &lt;br&gt;API Specification&lt;/h1&gt;&lt;p&gt;This document is the API specification for version 6 of the Java&lt;sup&gt;TM&lt;/sup&gt; Platform, Enterprise Edition."
             bottom="&lt;font size=&quot;-1&quot;&gt;&lt;a href=&quot;http://java.sun.com/webapps/bugreport&quot;&gt;Submit a bug or feature&lt;/a&gt; &lt;p&gt; Copyright &amp;copy; 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to &lt;a href=&quot;http://java.sun.com/javaee/downloads/licenses/java_ee-6_0-final-full-pub-license.txt&quot; target=&quot;_top&quot;&gt;license terms. &lt;/a&gt; &lt;p&gt; Generated on ${TODAY} &lt;/font&gt; "
             Header="${DRAFT}" 
             Footer="${DRAFT}" >
    </javadoc>
  </target>

  <target name="create-v3-javadocs" description="Creates GlassFish v3 JavaDocs">
    <antcall target="clean-javadocs-dir">
      <param name="build.javadocs" value="${build.v3.javadocs}"/>
    </antcall>
    <mkdir dir="${build.v3.javadocs}"/>
    <javadoc 
             destdir="${build.v3.javadocs}"
             Verbose="true"
             maxmemory="2048m"
             author="false"
             version="true"
             source="1.6"
             encoding="ISO-8859-1"
             windowtitle="${v3.Title}"
             doctitle="&lt;h1&gt;${v3.Name} &lt;/h1&gt;&lt;p&gt;This document is the API specification for GlassFish v3."
             bottom="&lt;font size=&quot;-1&quot;&gt;&lt;a href=&quot;http://java.sun.com/webapps/bugreport&quot;&gt;Submit a bug or feature&lt;/a&gt; &lt;p&gt; Copyright &amp;copy; 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to &lt;a href=&quot;http://java.sun.com/javaee/downloads/licenses/java_ee-6_0-final-full-pub-license.txt&quot; target=&quot;_top&quot;&gt;license terms. &lt;/a&gt; &lt;p&gt; Generated on ${TODAY} &lt;/font&gt; "
             Header="${DRAFT}" 
             Footer="${DRAFT}" >

       <group title="Java EE 6 Platform Packages" packages="javax.*"/>
       <group title="GlassFish specific, Non-platform Packages"
          packages="com.sun.*:org.jvnet.*:org.glassfish.*"/>
       <link href="http://java.sun.com/javase/6/docs/api/"/>


       <!--
       -->
       <package name="javax.*"/>
       <package name="com.sun.appserv.*"/>
       <package name="com.sun.enterprise.module.*"/>
       <package name="com.sun.hk2.*"/>
       <package name="com.sun.enterprise.security.audit.*"/>
       <package name="org.jvnet.*"/>
       <package name="org.glassfish.api.*"/>
       <package name="org.glassfish.api.admin.*"/>
       <package name="org.glassfish.api.admin.cli"/>
       <package name="org.glassfish.api.amx.*"/>
       <package name="org.glassfish.api.event"/>
       <package name="org.glassfish.api.invocation"/>
       <package name="org.glassfish.api.deployment.*"/>
       <package name="org.glassfish.external.probe.provider.*"/>
       <package name="org.glassfish.external.statistics"/>
       <package name="org.glassfish.external.statistics.annotations"/>
       <package name="org.glassfish.api.embedded.*"/>
       <package name="org.glassfish.flashlight.provider"/>
       <package name="org.glassfish.flashlight.cli"/>
       <package name="org.glassfish.flashlight.client"/>
       <package name="org.glassfish.appclient.client.acc.*"/>
       <package name="org.glassfish.external.amx.*"/>
       <package name="org.glassfish.admin.amx.*"/>

       <excludepackage name="org.apache.*"/>
       <excludepackage name="org.glassfish.api.jdbc.validation.*"/>
       <excludepackage name="sample.*"/>
       <excludepackage name="killer.*"/>
       <excludepackage name="testing.*"/>
       <excludepackage name="javax.xml.messaging.*"/>
       <excludepackage name="javax.xml.registry.samples.*"/>
       <excludepackage name="javax.xml.namespace.*"/>
       <excludepackage name="com.sun.appserv.connectors.internal.*"/>
       <excludepackage name="com.sun.enterprise.module.common_impl.*"/>
       <excludepackage name="com.sun.enterprise.module.impl.*"/>
       <sourcepath refid="v3.src.path"/>
    </javadoc>
  </target>

  <target name="copy-jsf-image-files" description="Copy JSF image files" >
      <copy todir="${build.javadocs}/javax/faces">
          <fileset dir="${external.dir}/jsf/javax/faces" includes="**/*.jpg"/>
      </copy>
      <copy todir="${build.javadocs}">
<!--
Per Ed Burns' request to not include drop the color coding for JSF docs so removing jsf-api.css file.
Also removed 'stylesheetfile="jsf/jsf-api/jsf-api.css"' when generating the javadoc. 
-->
          <fileset dir="${external.dir}/jsf" includes="**/*.css,**/*.png"/>
      </copy>
  </target>

  <target name="jar-javadoc" description="Bundle JavaEE6 jar" >
      <jar destfile="${build.javadocs}/${destfile.name}" basedir="${build.javadocs}"/>
  </target>
</project>


 
 
Close
loading
Please Confirm
Close