mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
22.08.2013 812a8542dc15bfc7ec8398fd808466766464a897
Since jabx and xjc are now part of JDK (starting with 1.6), we no longer need the jars nor the ant task.
Building directly with xjc is preferred and this also makes the war file lighter.
8 files deleted
1 files modified
38 ■■■■■ changed files
opendj-sdk/opends/build.xml 38 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/resource/dsml/lib/activation.jar patch | view | raw | blame | history
opendj-sdk/opends/resource/dsml/lib/jaxb-api.jar patch | view | raw | blame | history
opendj-sdk/opends/resource/dsml/lib/jaxb-impl.jar patch | view | raw | blame | history
opendj-sdk/opends/resource/dsml/lib/jaxb-xjc.jar patch | view | raw | blame | history
opendj-sdk/opends/resource/dsml/lib/jaxb1-impl.jar patch | view | raw | blame | history
opendj-sdk/opends/resource/dsml/lib/jsr173_1.0_api.jar patch | view | raw | blame | history
opendj-sdk/opends/resource/dsml/lib/saaj-1.3.jar patch | view | raw | blame | history
opendj-sdk/opends/resource/dsml/lib/saaj-impl-1.3.jar patch | view | raw | blame | history
opendj-sdk/opends/build.xml
@@ -1545,26 +1545,21 @@
  <!-- Prepare the Directory Server DSML library. -->
  <target name="predsml" depends="prepackage"
       description="Prepare the Directory Server DSML library.">
    <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
      <classpath>
        <fileset dir="${dsml.lib.dir}">
          <include name="**/*.jar" />
        </fileset>
      </classpath>
    </taskdef>
    <delete dir="${dsml.gen.dir}/org/opends/dsml/protocol" />
    <mkdir dir="${dsml.gen.dir}/org/opends/dsml/protocol" />
    <xjc destdir="${dsml.gen.dir}" schema="${dsml.dir}/schema/DSMLv2.xsd"
         removeOldOutput="yes" package="org.opends.dsml.protocol"
         binding="${dsml.dir}/schema/bindings.xjb" target="2.1">
      <!-- Don't generate package-info.java as it conflicts with
           the one in src/dsml -->
    <exec executable="xjc">
        <arg value="-d"/>
        <arg value="${dsml.gen.dir}"/>
        <arg value="-p"/>
        <arg value="org.opends.dsml.protocol"/>
        <arg value="-b"/>
        <arg value="${dsml.dir}/schema/bindings.xjb"/>
        <arg value="-target"/>
        <arg value="2.1"/>
      <arg value="-npa"/>
      <arg value="-verbose"/>
      <produces dir="${dsml.gen.dir}/org/opends/dsml/protocol"
           includes="* impl/*" />
    </xjc>
        <arg value="${dsml.dir}/schema/DSMLv2.xsd"/>
    </exec>
    <mkdir dir="${dsml.classes.dir}" />
    <javac srcdir="${dsml.gen.dir}" destdir="${dsml.classes.dir}">
@@ -1600,15 +1595,6 @@
           excludes="web.xml, **/*.jar, **/*.properties" />
      <classes dir="${dsml.classes.dir}" />
      <lib dir="${dsml.lib.dir}">
        <include name="jaxb-api.jar" />
        <include name="jaxb-impl.jar" />
        <include name="jsr173_1.0_api.jar" />
        <include name="saaj-1.3.jar" />
        <include name="saaj-impl-1.3.jar" />
      </lib>
      <lib dir="${pdir}/lib">
        <include name="${SHORT_NAME}.jar" />
        <include name="${SHORT_NAME}_fr.jar" />
opendj-sdk/opends/resource/dsml/lib/activation.jar
Binary files differ
opendj-sdk/opends/resource/dsml/lib/jaxb-api.jar
Binary files differ
opendj-sdk/opends/resource/dsml/lib/jaxb-impl.jar
Binary files differ
opendj-sdk/opends/resource/dsml/lib/jaxb-xjc.jar
Binary files differ
opendj-sdk/opends/resource/dsml/lib/jaxb1-impl.jar
Binary files differ
opendj-sdk/opends/resource/dsml/lib/jsr173_1.0_api.jar
Binary files differ
opendj-sdk/opends/resource/dsml/lib/saaj-1.3.jar
Binary files differ
opendj-sdk/opends/resource/dsml/lib/saaj-impl-1.3.jar
Binary files differ