4N/A<?xml version="1.0" encoding="iso-8859-1"?>
4N/A<!--
292N/A
52N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
52N/A
559N/A Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved.
52N/A
52N/A The contents of this file are subject to the terms of either the GNU
52N/A General Public License Version 2 only ("GPL") or the Common Development
52N/A and Distribution License("CDDL") (collectively, the "License"). You
292N/A may not use this file except in compliance with the License. You can
292N/A obtain a copy of the License at
292N/A https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
292N/A or packager/legal/LICENSE.txt. See the License for the specific
52N/A language governing permissions and limitations under the License.
4N/A
52N/A When distributing the software, include this License Header Notice in each
292N/A file and include the License file at packager/legal/LICENSE.txt.
292N/A
292N/A GPL Classpath Exception:
292N/A Oracle designates this particular file as subject to the "Classpath"
292N/A exception as provided by Oracle in the GPL Version 2 section of the License
292N/A file that accompanied this code.
292N/A
292N/A Modifications:
292N/A If applicable, add the following below the License Header, with the fields
292N/A enclosed by brackets [] replaced by your own identifying information:
292N/A "Portions Copyright [year] [name of copyright owner]"
52N/A
52N/A Contributor(s):
52N/A If you wish your version of this file to be governed by only the CDDL or
52N/A only the GPL Version 2, indicate your decision by adding "[Contributor]
52N/A elects to include this software in this distribution under the [CDDL or GPL
52N/A Version 2] license." If you don't indicate a single choice of license, a
52N/A recipient has the option to distribute your version of this file under
52N/A either the CDDL, the GPL Version 2 or to extend the choice of license to
52N/A its licensees as provided above. However, if you add GPL Version 2 code
52N/A and therefore, elected the GPL Version 2 license, then the option applies
52N/A only if the new code is made subject to such option by the copyright
52N/A holder.
292N/A
4N/A-->
52N/A
4N/A<!DOCTYPE project [
4N/A <!ENTITY commonBuild SYSTEM "ant-common.xml">
4N/A]>
559N/A
559N/A<!--
559N/A
559N/A NOTE: JavaMail is now built using Maven:
559N/A https://java.net/projects/javamail/pages/BuildInstructions
559N/A
559N/A This ant build file is obsolete and may not work.
559N/A
559N/A-->
559N/A
4N/A<project name="JavaMail" default="all" basedir=".">
4N/A
4N/A<!-- ========== Initialize Properties =================================== -->
4N/A
4N/A <!--
4N/A component.name: required property. the value should be the
4N/A name of the component directory
4N/A -->
4N/A <property name="component.name" value="mail"/>
4N/A
4N/A <property file="/build.properties"/>
4N/A
4N/A &commonBuild;
4N/A
4N/A <!-- all -->
4N/A <target name="all" depends="compile, assemble"
4N/A description="Build entire component">
4N/A </target>
4N/A
4N/A <!-- build -->
4N/A <target name="build" depends="compile, assemble"
4N/A description="Build entire component">
4N/A </target>
4N/A
4N/A <!-- init. Initialization involves creating publishing directories and
4N/A OS specific targets. -->
4N/A <target name="init" description="${component.name} initialization">
4N/A <tstamp>
4N/A <format property="start.time" pattern="MM/dd/yyyy hh:mm aa"/>
4N/A </tstamp>
4N/A <echo message="Building component ${component.name}"/>
4N/A <mkdir dir="${component.classes.dir}"/>
4N/A </target>
4N/A
4N/A <!-- compile -->
4N/A <target name="compile" depends="init"
4N/A description="Compile JavaMail sources">
4N/A
13N/A <copy file="${resources.dir}/javax/mail/Version.java"
4N/A toFile="${src.dir}/javax/mail/Version.java">
321N/A <filterset begintoken="$${" endtoken="}">
321N/A <filter token="mail.version" value="${release.version}"/>
4N/A </filterset>
4N/A </copy>
4N/A <javac srcdir="${src.dir}"
4N/A destdir="${component.classes.dir}"
4N/A debug="${javac.debug}"
4N/A optimize="${javac.optimize}"
4N/A source="${javac.source}"
4N/A deprecation="${javac.deprecation}"
4N/A failonerror="true"
559N/A target="${javac.target}"
559N/A includeantruntime="false">
4N/A <classpath>
4N/A <pathelement location="${activation.jar}"/>
4N/A </classpath>
4N/A <include name="javax/mail/**"/>
4N/A <include name="com/sun/mail/**"/>
4N/A </javac>
4N/A </target>
4N/A
4N/A <!-- prepare manifest files for jars -->
4N/A <target name="cook-manifest" depends="init"
4N/A description="Generate MANIFEST.MF files">
13N/A <!--
13N/A
13N/A Could make this simpler with ant-contrib foreach task...
13N/A
13N/A <foreach list=",imap.,pop3.,smtp.,dsn." target="cook-manifest-file"
13N/A param="mf"/>
13N/A -->
13N/A <mkdir dir="${component.classes.dir}/manifest"/>
13N/A <copy file="${resources.dir}/META-INF/MANIFEST.MF"
13N/A tofile="${component.classes.dir}/manifest/MANIFEST.MF">
13N/A <filterset begintoken="{" endtoken="}">
13N/A <filter token="mail.spec.version"
13N/A value="${release.specversion}"/>
13N/A <filter token="mail.version" value="${release.version}"/>
13N/A </filterset>
13N/A </copy>
13N/A <mkdir dir="${component.classes.imap.dir}/manifest"/>
13N/A <copy file="${resources.imap.dir}/META-INF/MANIFEST.MF"
13N/A tofile="${component.classes.imap.dir}/manifest/MANIFEST.MF">
13N/A <filterset begintoken="{" endtoken="}">
13N/A <filter token="mail.spec.version"
13N/A value="${release.specversion}"/>
13N/A <filter token="mail.version" value="${release.version}"/>
13N/A </filterset>
13N/A </copy>
13N/A <mkdir dir="${component.classes.pop3.dir}/manifest"/>
13N/A <copy file="${resources.pop3.dir}/META-INF/MANIFEST.MF"
13N/A tofile="${component.classes.pop3.dir}/manifest/MANIFEST.MF">
13N/A <filterset begintoken="{" endtoken="}">
13N/A <filter token="mail.spec.version"
13N/A value="${release.specversion}"/>
13N/A <filter token="mail.version" value="${release.version}"/>
13N/A </filterset>
13N/A </copy>
13N/A <mkdir dir="${component.classes.smtp.dir}/manifest"/>
13N/A <copy file="${resources.smtp.dir}/META-INF/MANIFEST.MF"
13N/A tofile="${component.classes.smtp.dir}/manifest/MANIFEST.MF">
13N/A <filterset begintoken="{" endtoken="}">
13N/A <filter token="mail.spec.version"
13N/A value="${release.specversion}"/>
13N/A <filter token="mail.version" value="${release.version}"/>
13N/A </filterset>
13N/A </copy>
13N/A <mkdir dir="${component.classes.dsn.dir}/manifest"/>
13N/A <copy file="${resources.dsn.dir}/META-INF/MANIFEST.MF"
13N/A tofile="${component.classes.dsn.dir}/manifest/MANIFEST.MF">
13N/A <filterset begintoken="{" endtoken="}">
13N/A <filter token="mail.spec.version"
13N/A value="${release.specversion}"/>
13N/A <filter token="mail.version" value="${release.version}"/>
4N/A </filterset>
4N/A </copy>
559N/A <mkdir dir="${component.classes.gimap.dir}/manifest"/>
559N/A <copy file="${resources.gimap.dir}/META-INF/MANIFEST.MF"
559N/A tofile="${component.classes.gimap.dir}/manifest/MANIFEST.MF">
559N/A <filterset begintoken="{" endtoken="}">
559N/A <filter token="mail.spec.version"
559N/A value="${release.specversion}"/>
559N/A <filter token="mail.version" value="${release.version}"/>
559N/A </filterset>
559N/A </copy>
4N/A </target>
4N/A
13N/A <!--
13N/A
13N/A This could be used with foreach, above.
13N/A XXX - do nested variable references work?
13N/A
13N/A <target name="cook-manifest-file">
13N/A <mkdir dir="${component.classes.${mf}dir}/manifest"/>
13N/A <copy file="${resources.${mf}dir}/META-INF/MANIFEST.MF"
13N/A tofile="${component.classes.${mf}dir}/manifest/MANIFEST.MF">
13N/A <filterset begintoken="{" endtoken="}">
13N/A <filter token="mail.spec.version"
13N/A value="${release.specversion}"/>
13N/A <filter token="mail.version" value="${release.version}"/>
13N/A </filterset>
13N/A </copy>
13N/A </target>
13N/A -->
13N/A
559N/A <!-- gimap compile -->
559N/A <target name="gimapcompile" depends="init"
559N/A description="Compile com/sun/mail/gimap sources">
559N/A
559N/A <mkdir dir="${component.classes.gimap.dir}"/>
559N/A <javac srcdir="${src.gimap.dir}"
559N/A destdir="${component.classes.gimap.dir}"
559N/A debug="${javac.debug}"
559N/A optimize="${javac.optimize}"
559N/A source="${javac.source}"
559N/A deprecation="${javac.deprecation}"
559N/A failonerror="true"
559N/A target="${javac.target}"
559N/A includeantruntime="false">
559N/A <classpath>
559N/A <pathelement location="${component.classes.dir}"/>
559N/A <pathelement location="${activation.jar}"/>
559N/A </classpath>
559N/A <include name="com/sun/mail/gimap/**"/>
559N/A </javac>
559N/A </target>
559N/A
4N/A <!-- dsn compile -->
4N/A <target name="dsncompile" depends="init"
4N/A description="Compile com/sun/mail/dsn sources">
4N/A
4N/A <mkdir dir="${component.classes.dsn.dir}"/>
13N/A <javac srcdir="${src.dsn.dir}"
4N/A destdir="${component.classes.dsn.dir}"
4N/A debug="${javac.debug}"
4N/A optimize="${javac.optimize}"
4N/A source="${javac.source}"
4N/A deprecation="${javac.deprecation}"
4N/A failonerror="true"
559N/A target="${javac.target}"
559N/A includeantruntime="false">
4N/A <classpath>
4N/A <pathelement location="${component.classes.dir}"/>
4N/A <pathelement location="${activation.jar}"/>
4N/A </classpath>
4N/A <include name="com/sun/mail/dsn/**"/>
4N/A </javac>
4N/A </target>
4N/A
4N/A <!-- demo compile -->
4N/A <target name="democompile" depends="init"
4N/A description="Compile demo sources">
4N/A
4N/A <mkdir dir="${component.classes.demo.dir}"/>
4N/A <javac srcdir="${src.demo.dir}"
4N/A destdir="${component.classes.demo.dir}"
4N/A debug="${javac.debug}"
4N/A optimize="${javac.optimize}"
4N/A source="${javac.source}"
4N/A deprecation="${javac.deprecation}"
4N/A failonerror="true"
559N/A target="${javac.target}"
559N/A includeantruntime="false">
4N/A <classpath>
4N/A <pathelement location="${component.classes.dir}"/>
4N/A <pathelement location="${activation.jar}"/>
4N/A </classpath>
4N/A <include name="*"/>
4N/A </javac>
4N/A
4N/A <mkdir dir="${component.classes.client.dir}"/>
4N/A <javac srcdir="${src.client.dir}"
4N/A destdir="${component.classes.client.dir}"
4N/A debug="${javac.debug}"
4N/A optimize="${javac.optimize}"
4N/A source="${javac.source}"
4N/A deprecation="${javac.deprecation}"
4N/A failonerror="true"
559N/A target="${javac.target}"
559N/A includeantruntime="false">
4N/A <classpath>
4N/A <pathelement location="${component.classes.dir}"/>
4N/A <pathelement location="${activation.jar}"/>
4N/A </classpath>
4N/A <include name="*"/>
4N/A </javac>
4N/A
4N/A <mkdir dir="${component.classes.servlet.dir}"/>
4N/A <javac srcdir="${src.servlet.dir}"
4N/A destdir="${component.classes.servlet.dir}"
4N/A debug="${javac.debug}"
4N/A optimize="${javac.optimize}"
4N/A source="${javac.source}"
4N/A deprecation="${javac.deprecation}"
4N/A failonerror="true"
559N/A target="${javac.target}"
559N/A includeantruntime="false">
4N/A <classpath>
4N/A <pathelement location="${component.classes.dir}"/>
4N/A <pathelement location="${activation.jar}"/>
4N/A <pathelement location="${javaee.jar}"/>
4N/A </classpath>
4N/A <include name="*"/>
4N/A </javac>
4N/A
168N/A <mkdir dir="${component.classes.logging.dir}"/>
168N/A <javac srcdir="${src.logging.dir}"
168N/A destdir="${component.classes.logging.dir}"
168N/A debug="${javac.debug}"
168N/A optimize="${javac.optimize}"
168N/A source="${javac.source}"
168N/A deprecation="${javac.deprecation}"
168N/A failonerror="true"
559N/A target="${javac.target}"
559N/A includeantruntime="false">
168N/A <classpath>
168N/A <pathelement location="${component.classes.dir}"/>
168N/A <pathelement location="${component.classes.demo.dir}"/>
168N/A <pathelement location="${activation.jar}"/>
168N/A </classpath>
168N/A <include name="*"/>
168N/A </javac>
168N/A
4N/A <!-- XXX - still need to add rules to build webapp -->
4N/A
4N/A </target>
4N/A
4N/A <!-- assemble -->
4N/A <target name="assemble" depends="jar"/>
4N/A
4N/A <target name="clean" description="Clean the build">
4N/A <delete includeEmptyDirs="true" failonerror="false">
4N/A <fileset dir="${component.classes.dir}"/>
4N/A <fileset dir="${component.classes.dsn.dir}"/>
559N/A <fileset dir="${component.classes.gimap.dir}"/>
4N/A <fileset dir="${component.classes.demo.dir}"/>
4N/A <fileset dir="${component.classes.client.dir}"/>
4N/A <fileset dir="${component.classes.servlet.dir}"/>
168N/A <fileset dir="${component.classes.logging.dir}"/>
4N/A </delete>
4N/A </target>
4N/A
4N/A <target name="clobber" description="Clobber all derived files">
4N/A <delete includeEmptyDirs="true" failonerror="false">
4N/A <fileset dir="target"/>
4N/A </delete>
4N/A </target>
4N/A
4N/A <!-- JavaMail bundle build targets -->
4N/A
13N/A <target name="release" depends="init, jars, democompile, docs">
13N/A <!-- XXX - need to replace "." with "_" in release.version -->
13N/A <property name="rel" value="javamail-${release.version}"/>
13N/A <property name="zipname" value="${rel}.zip"/>
13N/A <delete file="${basedir}/target/${zipname}"/>
13N/A <echo message="Creating JavaMail bundle ${basedir}/target/${zipname}"/>
13N/A <zip destfile="${basedir}/target/${zipname}">
13N/A <zipfileset dir="${release.dir}" prefix="${rel}"/>
13N/A <zipfileset dir="${src.demo.dir}" prefix="${rel}/demo"
4N/A excludes="**/internal/**"/>
13N/A <zipfileset dir="${src.client.dir}" prefix="${rel}/demo/client"/>
13N/A <zipfileset dir="${src.servlet.dir}"
13N/A prefix="${rel}/demo/servlet"/>
13N/A <zipfileset dir="webapp" prefix="${rel}/demo/webapp"
13N/A excludes="src/**,pom.xml"/>
13N/A <zipfileset dir="${src.webapp.dir}"
13N/A prefix="${rel}/demo/webapp/src/classes"/>
13N/A <zipfileset dir="${docroot.webapp.dir}"
13N/A prefix="${rel}/demo/webapp/src/docroot"/>
13N/A <zipfileset dir="${src.taglib.dir}"
13N/A prefix="${rel}/demo/webapp/src/taglib"/>
13N/A <zipfileset dir="${resources.taglib.dir}"
13N/A prefix="${rel}/demo/webapp/src/taglib"/>
168N/A <zipfileset dir="${src.logging.dir}"
168N/A prefix="${rel}/demo/logging"/>
4N/A </zip>
4N/A </target>
4N/A
4N/A <!-- Build all jars needed for release -->
4N/A <target name="jars"
559N/A depends="jar, mailapijar, pop3jar, imapjar, smtpjar, gimapjar, dsnjar"/>
4N/A
4N/A <!-- Assemble mail.jar -->
4N/A <target name="jar" depends="init, compile, cook-manifest">
4N/A <mkdir dir="${release.dir}"/>
4N/A <jar jarfile="${release.mail.jar}"
13N/A manifest="${component.classes.dir}/manifest/MANIFEST.MF">
13N/A <metainf dir="${resources.legal.dir}/META-INF"
13N/A includes="LICENSE.txt"/>
4N/A <metainf dir="${resources.dir}/META-INF"
4N/A includes="javamail.charset.map,javamail.default.*,mailcap"/>
4N/A <fileset dir="${component.classes.dir}">
4N/A <include name="javax/mail/**/*.class"/>
4N/A <include name="com/sun/mail/**/*.class"/>
4N/A </fileset>
4N/A </jar>
4N/A </target>
4N/A
4N/A <!-- Create zip file of source code to publish to maven repo -->
4N/A <target name="src">
4N/A <zip file="target/mail.src.zip">
4N/A <fileset dir="${src.dir}">
4N/A <include name="javax/mail/**/*.java"/>
4N/A <include name="com/sun/mail/**/*.java"/>
4N/A </fileset>
4N/A </zip>
4N/A </target>
4N/A
4N/A <target name="imapjar" depends="init, compile, cook-manifest">
4N/A <mkdir dir="${release.dir}/lib"/>
4N/A <jar jarfile="${release.imap.jar}"
13N/A manifest="${component.classes.imap.dir}/manifest/MANIFEST.MF">
13N/A <metainf dir="${resources.legal.dir}/META-INF"
13N/A includes="LICENSE.txt"/>
13N/A <metainf dir="${resources.imap.dir}/META-INF"
13N/A includes="javamail.providers"/>
4N/A <fileset dir="${component.classes.dir}">
4N/A <include name="com/sun/mail/iap/*.class"/>
4N/A <include name="com/sun/mail/imap/*.class"/>
13N/A <include name="com/sun/mail/imap/protocol/*.class"/>
4N/A </fileset>
4N/A </jar>
13N/A </target>
4N/A
4N/A <target name="pop3jar" depends="init, compile, cook-manifest">
4N/A <mkdir dir="${release.dir}/lib"/>
4N/A <jar jarfile="${release.pop3.jar}"
13N/A manifest="${component.classes.pop3.dir}/manifest/MANIFEST.MF">
13N/A <metainf dir="${resources.legal.dir}/META-INF"
13N/A includes="LICENSE.txt"/>
13N/A <metainf dir="${resources.pop3.dir}/META-INF"
13N/A includes="javamail.providers"/>
4N/A <fileset dir="${component.classes.dir}">
4N/A <include name="com/sun/mail/pop3/*.class"/>
4N/A </fileset>
4N/A </jar>
4N/A </target>
4N/A
4N/A <target name="smtpjar" depends="init, compile, cook-manifest">
4N/A <mkdir dir="${release.dir}/lib"/>
4N/A <jar jarfile="${release.smtp.jar}"
13N/A manifest="${component.classes.smtp.dir}/manifest/MANIFEST.MF">
13N/A <metainf dir="${resources.legal.dir}/META-INF"
13N/A includes="LICENSE.txt"/>
13N/A <metainf dir="${resources.smtp.dir}/META-INF"
13N/A includes="javamail.providers,javamail.address.map"/>
4N/A <fileset dir="${component.classes.dir}">
4N/A <include name="com/sun/mail/smtp/*.class"/>
4N/A </fileset>
4N/A </jar>
4N/A </target>
4N/A
559N/A <target name="gimapjar" depends="init, gimapcompile, cook-manifest">
559N/A <mkdir dir="${release.dir}/lib"/>
559N/A <jar jarfile="${release.gimap.jar}"
559N/A manifest="${component.classes.gimap.dir}/manifest/MANIFEST.MF">
559N/A <metainf dir="${resources.legal.dir}/META-INF"
559N/A includes="LICENSE.txt"/>
559N/A <metainf dir="${resources.gimap.dir}/META-INF"
559N/A includes="mailcap"/>
559N/A <fileset dir="${component.classes.gimap.dir}">
559N/A <include name="com/sun/mail/gimap/*.class"/>
559N/A </fileset>
559N/A </jar>
559N/A </target>
559N/A
4N/A <target name="dsnjar" depends="init, dsncompile, cook-manifest">
4N/A <mkdir dir="${release.dir}/lib"/>
4N/A <jar jarfile="${release.dsn.jar}"
13N/A manifest="${component.classes.dsn.dir}/manifest/MANIFEST.MF">
13N/A <metainf dir="${resources.legal.dir}/META-INF"
13N/A includes="LICENSE.txt"/>
13N/A <metainf dir="${resources.dsn.dir}/META-INF"
13N/A includes="mailcap"/>
4N/A <fileset dir="${component.classes.dsn.dir}">
4N/A <include name="com/sun/mail/dsn/*.class"/>
4N/A </fileset>
4N/A </jar>
4N/A </target>
4N/A
4N/A <target name="mailapijar" depends="init, compile, cook-manifest">
4N/A <mkdir dir="${release.dir}/lib"/>
4N/A <jar jarfile="${release.mailapi.jar}"
13N/A manifest="${component.classes.dir}/manifest/MANIFEST.MF">
13N/A <metainf dir="${resources.legal.dir}/META-INF"
13N/A includes="LICENSE.txt"/>
4N/A <metainf dir="${resources.dir}/META-INF"
13N/A includes="javamail.charset.map, mailcap"/>
4N/A <fileset dir="${component.classes.dir}">
4N/A <include name="javax/mail/**/*.class"/>
4N/A <include name="com/sun/mail/util/*.class"/>
4N/A <include name="com/sun/mail/handlers/*.class"/>
4N/A </fileset>
4N/A </jar>
13N/A </target>
4N/A
4N/A <!-- javadocs -->
4N/A <target name="docs" depends="init, jar, jar">
13N/A <copy todir="${release.dir}">
13N/A <fileset dir="${basedir}/doc/release" includes="*.txt" />
13N/A </copy>
4N/A <mkdir dir="${release.docs.dir}"/>
4N/A <copy todir="${release.docs.dir}">
4N/A <fileset dir="${basedir}/doc/spec" includes="*.txt" />
4N/A </copy>
321N/A <!--
321N/A To allow us to generate javadocs that only include some
321N/A classes in certain packages, we need to copy the sources
321N/A to another location and run javadoc against that subset
321N/A of the sources.
321N/A -->
321N/A <copy todir="${release.dir}/javadoc">
321N/A <fileset dir="${src.dir}">
321N/A <include name="**/*.html"/>
321N/A <include name="javax/mail/**"/>
321N/A </fileset>
321N/A <fileset dir="${src.dir}"
321N/A includes="
321N/A com/sun/mail/imap/IMAPFolder.java,
321N/A com/sun/mail/imap/IMAPMessage.java,
321N/A com/sun/mail/imap/IMAPStore.java,
321N/A com/sun/mail/imap/IMAPSSLStore.java
321N/A com/sun/mail/imap/ACL.java,
321N/A com/sun/mail/imap/Rights.java,
321N/A com/sun/mail/imap/Quota.java,
321N/A com/sun/mail/imap/SortTerm.java,
321N/A com/sun/mail/pop3/POP3Store.java,
321N/A com/sun/mail/pop3/POP3SSLStore.java,
321N/A com/sun/mail/pop3/POP3Folder.java,
321N/A com/sun/mail/pop3/POP3Message.java,
321N/A com/sun/mail/smtp/SMTPMessage.java,
321N/A com/sun/mail/smtp/SMTPAddressFailedException.java,
321N/A com/sun/mail/smtp/SMTPAddressSucceededException.java,
321N/A com/sun/mail/smtp/SMTPSendFailedException.java,
321N/A com/sun/mail/smtp/SMTPSenderFailedException.java,
321N/A com/sun/mail/smtp/SMTPTransport.java,
321N/A com/sun/mail/smtp/SMTPSSLTransport.java,
559N/A com/sun/mail/util/MailConnectException.java,
321N/A com/sun/mail/util/MailSSLSocketFactory.java,
559N/A com/sun/mail/util/ReadableMime.java,
321N/A com/sun/mail/util/logging/MailHandler.java
321N/A "/>
321N/A <fileset dir="${src.dsn.dir}"
321N/A includes="
321N/A com/sun/mail/dsn/package.html,
321N/A com/sun/mail/dsn/DeliveryStatus.java,
321N/A com/sun/mail/dsn/DispositionNotification.java,
321N/A com/sun/mail/dsn/MessageHeaders.java,
321N/A com/sun/mail/dsn/MultipartReport.java,
321N/A com/sun/mail/dsn/Report.java
321N/A "/>
559N/A <fileset dir="${src.dsn.dir}"
559N/A includes="
559N/A com/sun/mail/gimap/package.html,
559N/A com/sun/mail/gimap/GmailStore.java,
559N/A com/sun/mail/gimap/GmailSSLStore.java,
559N/A com/sun/mail/gimap/GmailFolder.java,
559N/A com/sun/mail/gimap/GmailMessage.java,
559N/A com/sun/mail/gimap/GmailMsgIdTerm.java,
559N/A com/sun/mail/gimap/GmailThrIdTerm.java,
559N/A com/sun/mail/gimap/GmailRawSearchTerm.java
559N/A "/>
321N/A </copy>
4N/A <mkdir dir="${release.javadocs.dir}"/>
321N/A <javadoc packagenames="javax.mail, javax.mail.internet,
4N/A javax.mail.search, javax.mail.event,
4N/A javax.mail.util,
4N/A com.sun.mail.imap,
4N/A com.sun.mail.pop3,
4N/A com.sun.mail.smtp,
559N/A com.sun.mail.gimap,
321N/A com.sun.mail.util, com.sun.mail.util.logging,
4N/A com.sun.mail.dsn"
4N/A destdir="${release.javadocs.dir}"
321N/A sourcepath="${release.dir}/javadoc"
559N/A classpath="${activation.jar}:${release.mail.jar}:${release.dsn.jar}:${release.gimap.jar}"
13N/A author="false"
13N/A version="false"
4N/A use="true"
321N/A overview="${release.dir}/javadoc/overview.html"
4N/A windowtitle="JavaMail API documentation"
4N/A doctitle="JavaMail API documentation">
4N/A <group title="JavaMail API Packages" packages="javax.*"/>
4N/A <group title="Sun-specific Packages" packages="com.sun.*"/>
559N/A <bottom>
559N/A<![CDATA[Copyright &#169; 1996-2013,
559N/A <a href="http://www.oracle.com">Oracle</a>
559N/A and/or its affiliates. All Rights Reserved.
559N/A Use is subject to
559N/A <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms<
559N/A /a>.
559N/A]]>
559N/A
559N/A </bottom>
321N/A <!-- following can really slow down javadoc generation
321N/A <link href="${javase.url}"/>
321N/A <link href="${jaf.url}"/>
321N/A -->
4N/A </javadoc>
4N/A </target>
4N/A
4N/A <target name="push-to-maven-prepare" depends="-push-to-maven-init, jar, src"
4N/A description="creates an image for the 'push-to-maven' goal">
4N/A <delete dir="target/maven-repo" /><!-- clean it -->
4N/A <maven-repository-importer
4N/A destdir="target/maven-repo" version="${release.version}">
4N/A <artifact jar="target/release/mail.jar" pom="mail.pom"
4N/A srczip="target/mail.src.zip" />
4N/A </maven-repository-importer>
4N/A </target>
4N/A
4N/A <target name="push-to-maven" depends="push-to-maven-prepare"
4N/A description="pushes jars to the java.net maven repository">
4N/A <cvs-import src="target/maven-repo" dest="glassfish/repo" />
4N/A </target>
4N/A</project>