Index: applications/editors/josm/plugins/openvisible/build.xml
===================================================================
--- applications/editors/josm/plugins/openvisible/build.xml	(revision 12778)
+++ applications/editors/josm/plugins/openvisible/build.xml	(revision 12780)
@@ -1,107 +1,94 @@
 <project name="openvisible" default="dist" basedir=".">
-
-  <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) -->
-  <property environment="env"/>
-  <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm">
-    <and>
-      <os family="windows"/>
-    </and>
-  </condition>
-
-  <!-- compilation properties -->
-  <property name="josm.build.dir" value="../../core"/>
-  <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/>
-  <property name="plugin.build.dir" value="build"/>
-  <property name="plugin.dist.dir" value="../../dist"/>
-  <property name="plugin.name" value="${ant.project.name}"/>
-  <property name="plugin.jar" value="${plugin.name}.jar"/>
-  
-  <property name="plugin.description" value="Allows opening gpx/osm files that intersect the currently visible screen area (V${plugin.version})."/>
-  <property name="plugin.stage" value="50"/>
-  <property name="plugin.class" value="at.dallermassl.josm.plugin.openvisible.OpenVisiblePlugin"/>
-  
-  <!-- update site meta data -->
-  <property name="plugin.site.file" value="josm-site.xml"/>
-  <property name="plugin.site.description" value="Josm's OpenVisible Update Site"/>
-  <property name="plugin.site.url" value="http://www.tegmento.org/~cdaller/josm/${ant.project.name}/"/>
-  <property name="plugin.site.upload.target" value="cdaller@www.tegmento.org:public_html/josm/${ant.project.name}/"/>
-
-  <property name="ant.build.javac.target" value="1.5"/>
-  
-
-  <target name="dist" depends="compile,site">
-    <!-- images -->
-    <copy todir="${plugin.build.dir}/images">
-      <fileset dir="images" />
-    </copy>
-    <!-- copy configuration xml files 
-	 <copy todir="${plugin.build.dir}">
-	   <fileset dir="src"> 
-	     <include name="*.xml"/>
-  	   </fileset>
-	 </copy>
-	 -->
-    
-    <mkdir dir="${plugin.dist.dir}"/>
-    
-    <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
-      <env key="LANG" value="C"/>
-      <arg value="info"/>
-      <arg value="--xml"/>
-      <arg value="."/>
-    </exec>
-    <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
-    <delete file="REVISION"/>
-    <!-- create jar file -->
-    <jar destfile="${plugin.dist.dir}/${plugin.jar}" basedir="${plugin.build.dir}">
-      <manifest>
-        <attribute name="Plugin-Class" value="${plugin.class}" />
-        <attribute name="Plugin-Description" value="${plugin.description}" />
-        <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
-        <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
-        <attribute name="Plugin-Mainversion" value="1180" />
-        <attribute name="Plugin-Dependencies" value="jgrapht-jdk1.5" />
-        <attribute name="Plugin-Stage" value="${plugin.stage}" />
-      </manifest>
-    </jar>
-  </target>
-
-  <target name="compile" depends="init">
-    <echo message="creating ${plugin.jar}"/>
-    <mkdir dir="${plugin.build.dir}"/>
-    <javac srcdir="src" destdir="${plugin.build.dir}" debug="true" source="1.5" target="1.5">
-      <classpath>
-	<pathelement path="${josm.build.dir}/build"/>
-	<fileset dir="${josm.build.dir}/lib">
-	  <include name="**/*.jar"/>
-	</fileset>
-        <!--
+<!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) -->
+    <property environment="env"/>
+    <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm">
+        <and>
+            <os family="windows"/>
+        </and>
+    </condition>
+<!-- compilation properties -->
+    <property name="josm.build.dir" value="../../core"/>
+    <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/>
+    <property name="plugin.build.dir" value="build"/>
+    <property name="plugin.dist.dir" value="../../dist"/>
+    <property name="plugin.name" value="${ant.project.name}"/>
+    <property name="plugin.jar" value="${plugin.name}.jar"/>
+    <property name="plugin.description" value="Allows opening gpx/osm files that intersect the currently visible screen area (V${plugin.version})."/>
+    <property name="plugin.stage" value="50"/>
+    <property name="plugin.class" value="at.dallermassl.josm.plugin.openvisible.OpenVisiblePlugin"/>
+<!-- update site meta data -->
+    <property name="plugin.site.file" value="josm-site.xml"/>
+    <property name="plugin.site.description" value="Josm's OpenVisible Update Site"/>
+    <property name="plugin.site.url" value="http://www.tegmento.org/~cdaller/josm/${ant.project.name}/"/>
+    <property name="plugin.site.upload.target" value="cdaller@www.tegmento.org:public_html/josm/${ant.project.name}/"/>
+    <property name="ant.build.javac.target" value="1.5"/>
+    <target name="dist" depends="compile,site">
+<!-- images -->
+        <copy todir="${plugin.build.dir}/images">
+            <fileset dir="images" />
+        </copy>
+<!-- copy configuration xml files
+     <copy todir="${plugin.build.dir}">
+       <fileset dir="src">
+         <include name="*.xml"/>
+       </fileset>
+     </copy>
+     -->
+        <mkdir dir="${plugin.dist.dir}"/>
+        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
+            <env key="LANG" value="C"/>
+            <arg value="info"/>
+            <arg value="--xml"/>
+            <arg value="."/>
+        </exec>
+        <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
+        <delete file="REVISION"/>
+<!-- create jar file -->
+        <jar destfile="${plugin.dist.dir}/${plugin.jar}" basedir="${plugin.build.dir}">
+            <manifest>
+                <attribute name="Plugin-Class" value="${plugin.class}" />
+                <attribute name="Plugin-Description" value="${plugin.description}" />
+                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
+                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
+                <attribute name="Plugin-Mainversion" value="1180" />
+                <attribute name="Plugin-Dependencies" value="jgrapht-jdk1.5" />
+                <attribute name="Plugin-Stage" value="${plugin.stage}" />
+            </manifest>
+        </jar>
+    </target>
+    <target name="compile" depends="init">
+        <echo message="creating ${plugin.jar}"/>
+        <mkdir dir="${plugin.build.dir}"/>
+        <javac srcdir="src" destdir="${plugin.build.dir}" debug="true" source="1.5" target="1.5">
+            <classpath>
+                <pathelement path="${josm.build.dir}/build"/>
+                <fileset dir="${josm.build.dir}/lib">
+                    <include name="**/*.jar"/>
+                </fileset>
+<!--
             <fileset dir="lib">
               <include name="**/*.jar"/>
             </fileset>
             -->
-      </classpath>
-    </javac>
-  </target>
-
-  <target name="install" depends="dist">
-    <copy file="${plugin.dist.dir}/${plugin.jar}" todir="${josm.plugins.dir}"/>
-    <!--
-	<copy todir="${josm.home.dir}/plugins">
-    	  <fileset dir="lib">
+            </classpath>
+        </javac>
+    </target>
+    <target name="install" depends="dist">
+        <copy file="${plugin.dist.dir}/${plugin.jar}" todir="${josm.plugins.dir}"/>
+<!--
+    <copy todir="${josm.home.dir}/plugins">
+          <fileset dir="lib">
             <include name="**/*.jar"/>
-    	  </fileset>
-	</copy>
-  	-->
-  </target>
-
-  <target name="init">
-    <echo>java version: ${java.version}</echo>
-  </target>
-
-  <!-- write site description for the given plugin so josm will accept it -->
-  <target name="site">
-    <echo message="creating site description in ${plugin.site.file}"/>
-    <echo file="${plugin.site.file}">&lt;!-- plugins available on this site -->
+          </fileset>
+    </copy>
+    -->
+    </target>
+    <target name="init">
+        <echo>java version: ${java.version}</echo>
+    </target>
+<!-- write site description for the given plugin so josm will accept it -->
+    <target name="site">
+        <echo message="creating site description in ${plugin.site.file}"/>
+        <echo file="${plugin.site.file}">&lt;!-- plugins available on this site -->
   &lt;plugins>
   &lt;plugin id="${ant.project.name}" version="${plugin.version}">
@@ -112,10 +99,9 @@
   &lt;/plugins>
 </echo>
-</target>
-
+    </target>
 <!-- write site description for the given plugin (not implemented in JOSM as full version yet!) -->
-<target name="site-full-donotuse">
-  <echo message="creating site description in ${plugin.site.file}"/>
-  <echo file="${plugin.site.file}">&lt;?xml version="1.0"?>
+    <target name="site-full-donotuse">
+        <echo message="creating site description in ${plugin.site.file}"/>
+        <echo file="${plugin.site.file}">&lt;?xml version="1.0"?>
     &lt;site version="1.0">
     &lt;!-- meta data of site -->
@@ -138,22 +124,18 @@
 &lt;/site>
 </echo>
-</target>
-
-
+    </target>
 <!-- upload the site description and the jar file via ssh -->
-<target name="upload" depends="dist,site">
-  <echo message="uploading jar and site description to ${plugin.site.upload.target}"/>
-  <exec executable="scp">
-    <arg value="${plugin.dist.dir}/${plugin.jar}"/>
-    <arg value="${plugin.site.file}"/>
-    <arg value="${plugin.site.upload.target}"/>
-  </exec>
-</target>
-
-<target name="clean">
-  <delete dir="${plugin.build.dir}" />
-  <delete dir="${plugin.site.file}" />
-  <delete file="${plugin.dist.dir}/${plugin.jar}" />
-</target>
-
+    <target name="upload" depends="dist,site">
+        <echo message="uploading jar and site description to ${plugin.site.upload.target}"/>
+        <exec executable="scp">
+            <arg value="${plugin.dist.dir}/${plugin.jar}"/>
+            <arg value="${plugin.site.file}"/>
+            <arg value="${plugin.site.upload.target}"/>
+        </exec>
+    </target>
+    <target name="clean">
+        <delete dir="${plugin.build.dir}" />
+        <delete dir="${plugin.site.file}" />
+        <delete file="${plugin.dist.dir}/${plugin.jar}" />
+    </target>
 </project>
