Ignore:
Timestamp:
2018-06-03T23:00:32+02:00 (6 years ago)
Author:
holgermappt
Message:

Re-added source and javadoc JARs to dist and clean targets. The JARs are to be build, but not SVN managed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r34225 r34244  
    3030    <property name="ant.build.javac.source" value="1.8"/>
    3131    <property name="plugin.jar"             location="${plugin.dist.dir}/${ant.project.name}.jar"/>
     32    <property name="plugin.sources.jar"     location="${plugin.dist.dir}/${ant.project.name}-sources.jar"/>
     33    <property name="plugin.javadoc.jar"     location="${plugin.dist.dir}/${ant.project.name}-javadoc.jar"/>
    3234    <property name="javac.compiler"         value="com.google.errorprone.ErrorProneAntCompilerAdapter" />
    3335
     
    121123    <!--
    122124    **********************************************************
    123     ** dist - creates the plugin jar
    124     **********************************************************
    125     -->
    126     <target name="dist" depends="compile,revision" unless="skip-dist">
     125    ** dist - creates the plugin jars
     126    **********************************************************
     127    -->
     128    <target name="dist" depends="compile,javadoc,revision" unless="skip-dist">
    127129        <echo message="creating ${ant.project.name}.jar ... "/>
    128130        <antcall target="setup-dist" />
     
    184186            </restrict>
    185187        </jar>
     188        <jar destfile="${plugin.sources.jar}" basedir="${plugin.src.dir}"/>
     189        <jar destfile="${plugin.javadoc.jar}" basedir="${plugin.doc.dir}"/>
    186190        <delete file="MANIFEST" failonerror="no"/>
    187191        <antcall target="post-dist" />
     
    327331        <delete dir="${checkstyle-build.dir}"/>
    328332        <delete file="${plugin.jar}"/>
     333        <delete file="${plugin.sources.jar}"/>
     334        <delete file="${plugin.javadoc.jar}"/>
    329335    </target>
    330336    <!--
Note: See TracChangeset for help on using the changeset viewer.