Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 002c4917ecec3d47b9bf5b8840b1f10f > files > 19

glassfish-jaxb1-1.0.6-2.mga2.src.rpm

<?xml version="1.0"?>

<!--
 The contents of this file are subject to the terms
 of the Common Development and Distribution License
 (the "License").  You may not use this file except
 in compliance with the License.
 
 You can obtain a copy of the license at
 https://jwsdp.dev.java.net/CDDLv1.0.html
 See the License for the specific language governing
 permissions and limitations under the License.
 
 When distributing Covered Code, include this CDDL
 HEADER in each file and include the License file at
 https://jwsdp.dev.java.net/CDDLv1.0.html  If applicable,
 add the following below this CDDL HEADER, with the
 fields enclosed by brackets "[]" replaced with your
 own identifying information: Portions Copyright [yyyy]
 [name of copyright owner]
-->

<!--
  build script for the source code bundle.
-->
<project name="test" default="build">
  <target name="build">
    <!-- check if dom4j.jar is there -->
    <available file="lib/dom4j.jar" property="dom4j.available"/>
    <fail unless="dom4j.available">download dom4j.jar from http://www.dom4j.org/ and place it to the lib directory</fail>
    
    <!-- compile -->
    <mkdir dir="build"/>
    <javac srcdir="src" destdir="build" includes="javax/**">
      <classpath>
        <fileset dir="lib" includes="**/*.jar"/>
      </classpath>
    </javac>
  </target>
  <target name="jar" depends="build">
    <jar jarfile="jaxb-api.jar">
      <fileset dir="build">
        <include name="javax/xml/bind/**/*.class"/>
      </fileset>
      <manifest>
        <attribute name="Specification-Title" value="Java Architecture for XML Binding"/>
        <attribute name="Specification-Version" value="1.0"/>
        <attribute name="Specification-Vendor" value="${java.vendor}"/>
        <attribute name="Implementation-Title" value="JAXB Reference Implementation"/>
        <attribute name="Implementation-Version" value="1.0.1"/>
        <attribute name="Implementation-Vendor" value="${java.vendor}"/>
        <attribute name="Implementation-Vendor-Id" value="com.sun"/>
        <attribute name="Extension-Name" value="javax.xml.bind"/>
      </manifest>
    </jar>
  </target>

  <target name="javadoc" description="Generates the Javadoc of the application">
    <tstamp>
      <format property="year" pattern="yyyy" />
    </tstamp>
    <javadoc sourcepath="src" 
        packagenames="javax.xml.*" 
        destdir="apidocs" 
        access="protected" 
        old="false" 
        verbose="false" 
        encoding="iso-8859-1" 
        version="true" 
        use="true" 
        author="true" 
        splitindex="false" 
        nodeprecated="false" 
        nodeprecatedlist="false" 
        notree="false" 
        noindex="false" 
        nohelp="false" 
        nonavbar="false" 
        serialwarn="false" 
        charset="ISO-8859-1" 
        source="1.5" 
        linksource="true" 
        breakiterator="false">
        <doctitle><![CDATA[<h1>Java Architecture for XML Binding 1.0.6 API</h1>]]></doctitle>
        <bottom><![CDATA[<small>Copyright &#169; 2004-${year}. Oracle.</small>]]></bottom>
    </javadoc>
  </target>

</project>