Ignore:
Timestamp:
2011-07-29T10:33:36+02:00 (13 years ago)
Author:
bastik
Message:

fix problems introduced yesterday (missing resources + infinite loop)
unfortunately Gauß-Krüger still does not work, the datum conversion seems to give strange results

Location:
applications/editors/josm/plugins/proj4j
Files:
6 added
2 edited

Legend:

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

    r26409 r26416  
    8080        <echo message="creating ${ant.project.name}.jar ... "/>
    8181        <copy todir="${plugin.build.dir}/resources">
    82             <fileset dir="resources"/>
     82            <fileset dir="resources" excludes="nad/"/>
     83        </copy>
     84        <copy todir="${plugin.build.dir}/nad">
     85            <fileset dir="resources/nad"/>
    8386        </copy>
    8487        <copy todir="${plugin.build.dir}/images">
  • applications/editors/josm/plugins/proj4j/src/org/openstreetmap/josm/plugins/proj4j/ProjectionProj4J.java

    r26407 r26416  
    247247                selectedLabel.setText(tr("Selected: {0}", crsCode));
    248248                setupTransformations();
     249                if (actionListener != null) {
     250                    actionListener.actionPerformed(new ActionEvent(selectedLabel, 0, "CRS changed"));
     251                }
    249252            }
    250253        }
     
    277280        transformToWGS84 = transFactory.createTransform(proj4jCRS, wgs84CRS);
    278281        transformFromWGS84 = transFactory.createTransform(wgs84CRS, proj4jCRS);
    279 
    280         if (actionListener != null) {
    281             actionListener.actionPerformed(new ActionEvent(selectedLabel, 0, "CRS changed"));
    282         }
    283282    }
    284283
Note: See TracChangeset for help on using the changeset viewer.