Ticket #21523: build.patch

File build.patch, 2.0 KB (added by GerdP, 5 months ago)

remove some targets

  • build.xml

     
    2525       
    2626    <!-- ** include targets that all plugins have in common ** -->
    2727    <import file="../build-common.xml"/>
    28     <!-- ** internationalization ** -->
    29     <import file="i18n/build-i18n.xml"/>
    30 
    31     <target name="pot" description="Extract translatable strings from source." depends="gettext-init">
    32         <mkdir dir="${plugin.po.dir}"/>
    33         <gettext-extract keysFile="${ant.project.name}.pot" poDirectory="${plugin.po.dir}" keywords="-k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3">
    34             <fileset dir="${plugin.src.dir}" includes="**/*.java"/>
    35         </gettext-extract>
    36         <echo file="${plugin.po.dir}/${ant.project.name}.pot" append="true">
    37 #. Plugin ${ant.project.name}
    38 #: build.xml:1
    39 msgid "${plugin.description}"
    40 msgstr ""
    41 </echo>
    42     </target>
    43 
    44     <!--
     28  <!--
    4529    **********************************************************
    46     ** javadoc - create the plugin documentation
     30    ** compile - complies the source tree
    4731    **********************************************************
    4832    -->
    49     <target name="javadoc" description="generate documentation">
    50         <javadoc destdir="${plugin.javadoc.dir}"
    51                 sourcepath="${plugin.src.dir}"
    52                 windowtitle="${ant.project.name}"
    53                 linksource="true"
    54                 private="true">
    55             <classpath>
    56                 <pathelement location="${josm}"/>
    57             </classpath>
    58             <!-- Paths are relative to javadoc destdir (${plugin.javadoc.dir}). -->
    59             <link href="../../../core/javadoc/"/>
    60             <link href="https://josm.openstreetmap.de/doc/"/>
    61             <link href="https://docs.oracle.com//javase/8/docs/api/"/>
    62         </javadoc>
    63     </target>
    64 
    65     <target name="additional-manifest">
    66         <antcall target="mftrans"/>
    67     </target>
     33 
    6834</project>