Ignore:
Timestamp:
2016-06-23T00:40:31+02:00 (9 years ago)
Author:
donvip
Message:

seachart - make the build portable

Location:
applications/editors/josm/plugins/seachart/josmtos57
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/josmtos57

    • Property svn:ignore set to
      build
      josmtos57.jar
  • applications/editors/josm/plugins/seachart/josmtos57/build.xml

    r31768 r32368  
    11<project name="josmtos57" default="dist" basedir=".">
    22  <property name="src" location="src"/>
     3  <property name="srcmain" location="../src"/>
    34  <property name="build" location="build"/>
    45  <property name="jarfile" location="./josmtos57.jar"/>
    5  
     6
    67  <target name="init">
    78    <mkdir dir="${build}"/>
    89  </target>
    9  
     10
    1011  <target name="compile" depends="init" description="compile the source">
    11     <javac includeantruntime="false" srcdir="${src}" destdir="${build}"/>
     12    <javac includeantruntime="false" sourcepath="${srcmain}" srcdir="${src}" destdir="${build}"/>
    1213  </target>
    13  
     14
    1415  <target name="dist" depends="compile" description="generate the distribution">
    1516    <jar jarfile="${jarfile}" basedir="${build}" manifestencoding="UTF-8">
     
    2021    </jar>
    2122  </target>
    22  
     23
    2324  <target name="clean" description="clean up">
    2425    <delete dir="${build}"/>
  • applications/editors/josm/plugins/seachart/josmtos57/src/josmtos57/Josmtos57.java

    r31846 r32368  
    8686                        in = new BufferedReader(new FileReader(new File(args[0])));
    8787                        try {
    88                                 S57osm.OSMmap(in, map);
     88                                S57osm.OSMmap(in, map, true);
    8989                        } catch (Exception e) {
    9090                                System.err.println("Input data error");
Note: See TracChangeset for help on using the changeset viewer.