Changeset 16006 in josm for trunk/build.xml


Ignore:
Timestamp:
2020-03-03T02:12:44+01:00 (6 years ago)
Author:
Don-vip
Message:

see #18140 - reorganization of data(_nodist), images(_nodist), styles(_nodist), IDE and native files in a more practical file tree.

  • Everything belonging to the jar is now in resources (data, images, styles)
  • Everything not belonging to the jar is now in nodist (data, images, styles)
  • Everything related to OS native functions is now in native (linux, macosx, windows)
  • Everything related to an IDE is now in ide (eclipse, netbeans)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r16002 r16006  
    5151        <property name="script-build.dir" location="${base.dir}/build2"/>
    5252        <property name="checkstyle-build.dir" location="${base.dir}/build2"/>
    53         <property name="epsg.output" location="${base.dir}/data/projection/custom-epsg"/>
     53        <property name="epsg.output" location="${base.dir}/resources/data/projection/custom-epsg"/>
    5454        <property name="error_prone_core.jar" location="${tools.dir}/error_prone_core.jar"/>
    5555        <property name="error_prone_javac.jar" location="${tools.dir}/error_prone_javac.jar"/>
     
    9797            </fileset>
    9898            <pathelement path="${build.dir}"/>
     99            <pathelement path="${base.dir}/resources"/>
    99100            <pathelement path="${failureaccess.jar}"/>
    100101            <pathelement path="${guava.jar}"/>
     
    187188    -->
    188189    <target name="check-schemas" unless="check-schemas.notRequired" depends="init-properties">
    189         <schemavalidate file="data/defaultpresets.xml" >
    190             <schema namespace="http://josm.openstreetmap.de/tagging-preset-1.0" file="data/tagging-preset.xsd" />
     190        <schemavalidate file="resources/data/defaultpresets.xml" >
     191            <schema namespace="http://josm.openstreetmap.de/tagging-preset-1.0" file="resources/data/tagging-preset.xsd" />
    191192        </schemavalidate>
    192193    </target>
     
    215216            </manifest>
    216217            <service type="java.text.spi.DecimalFormatSymbolsProvider" provider="org.openstreetmap.josm.tools.JosmDecimalFormatSymbolsProvider" />
    217             <zipfileset dir="images" prefix="images"/>
    218             <zipfileset dir="data" prefix="data"/>
    219             <zipfileset dir="styles" prefix="styles"/>
    220218            <zipfileset dir="${src.dir}/org/openstreetmap/gui/jmapviewer/images" prefix="org/openstreetmap/gui/jmapviewer/images"/>
    221219        </jar>
     
    494492        </sequential>
    495493    </macrodef>
    496     <target name="test-compile" depends="test-init,compile">
     494    <target name="test-compile" depends="test-init,compile,epsg">
    497495        <call-javac testfamily="unit">
    498496            <cp-elements>
Note: See TracChangeset for help on using the changeset viewer.