Skip to content

Commit

Permalink
added source code of released version
Browse files Browse the repository at this point in the history
  • Loading branch information
beata.tautan committed Jun 6, 2024
1 parent d22f18b commit 8d62b29
Show file tree
Hide file tree
Showing 536 changed files with 19,094 additions and 4,544 deletions.
17 changes: 11 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<property name="plugin.dist.dir" value="${basedir}/dist" />
<property name="plugin.lib.dir" value="${basedir}/lib" />
<property name="plugin.images.dir" value="${basedir}/images" />
<property name="plugin.name" value="KartaView.jar" />
<property name="JOSM_lib" value="josm-tested.jar" />

<tstamp>
Expand All @@ -32,7 +31,7 @@
<fileset dir="${plugin.lib.dir}" includes="**/*.jar" excludes="josm-tested.jar,josm-old.jar" />
<fileset dir="${plugin.lib.dir}" includes="${JOSM_lib}" />
</path>
<javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeantruntime="true" excludes="**/package-info.java" classpathref="classpath">
<javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeantruntime="true" excludes="**/package-info.java" classpathref="classpath" source="11" target="11">
<compilerarg value="-Xlint:deprecation" />
<compilerarg value="-Xlint:unchecked" />
</javac>
Expand All @@ -49,8 +48,8 @@
<fileset dir="${plugin.lib.dir}" includes="**/*.jar" excludes="josm-tested.jar,josm-latest.jar" />
<fileset dir="${plugin.lib.dir}" includes="${JOSM_lib}" />
</path>
<javadoc destdir="${plugin.apidoc.dir}" source="1.8" classpathref="classpath" windowtitle="KartaView plugin API">
<link href="http://docs.oracle.com/javase/8/docs/api/" />
<javadoc destdir="${plugin.apidoc.dir}" source="11" classpathref="classpath" windowtitle="KartaView plugin API">
<link href="http://docs.oracle.com/javase/11/docs/api/" />
<packageset dir="${plugin.src.dir}">
</packageset>
</javadoc>
Expand All @@ -75,8 +74,14 @@
<replaceregexp if:set="osc_service_url" file="${plugin.build.dir}/kartaview_service.properties" match="service.url=.*" replace="${osc_service_url}" />
<replaceregexp if:set="osc_details_url" file="${plugin.build.dir}/kartaview_service.properties" match="service.details.url=.*" replace="${osc_details_url}" />
<replaceregexp if:set="osc_user_url" file="${plugin.build.dir}/kartaview_service.properties" match="service.user.url=.*" replace="${osc_user_url}" />
<replaceregexp if:set="apollo_service_url" file="${plugin.build.dir}/kartaview_apollo_service.properties" match="${url.key}" replace="${apollo_service_url}" />
<replaceregexp if:set="apollo_service_url" file="${plugin.build.dir}/kartaview_apollo_service.properties" match="service.url=.*" replace="${apollo_service_url}" />
<replaceregexp if:set="debug_log_enabled" file="${plugin.build.dir}/kartaview.properties" match="debug.log.enabled=.*" replace="${debug_log_enabled}" />
<replaceregexp if:set="plugin_jar_name" file="${plugin.build.dir}/kartaview.properties" match="plugin.jar.name=.*" replace="${plugin_jar_name}" />
<replaceregexp if:set="is_private_build" file="${plugin.build.dir}/kartaview_gui.properties" match="is.private.build=.*" replace="${is_private_build}" />
<replaceregexp if:set="enable_cache" file="${plugin.build.dir}/kartaview.properties" match="enable.cache=.*" replace="${enable_cache}" />

<property file="${plugin.build.dir}/kartaview.properties" prefix="prop"/>
<property name="plugin.name" value="${prop.plugin.jar.name}.jar" />

<copy todir="${plugin.build.dir}/images">
<fileset dir="images" />
Expand All @@ -89,7 +94,7 @@
</copy>
<jar destfile="${plugin.out.dir}/${plugin.name}" basedir="${plugin.build.dir}">
<zipfileset src="${plugin.lib.dir}/gson-2.5.jar" />
<zipfileset src="${plugin.lib.dir}/josm-common-3.6.jar" />
<zipfileset src="${plugin.lib.dir}/josm-common-4.3.jar" />
<manifest>
<attribute name="Author" value="Grab" />
<attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.kartaview.KartaViewPlugin" />
Expand Down
25 changes: 25 additions & 0 deletions images/detections/ turn_restriction_left_u_turn_th_ns.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/detections/aux_direction_east.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions images/detections/aux_direction_north.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/detections/aux_direction_south.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/detections/aux_direction_west.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions images/detections/bus_only_th.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions images/detections/camera_position_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions images/detections/car_sign_id.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions images/detections/car_sign_ph.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions images/detections/clarity_1_iq.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8d62b29

Please sign in to comment.