Index: /applications/editors/josm/plugins/build.xml
===================================================================
--- /applications/editors/josm/plugins/build.xml	(revision 6066)
+++ /applications/editors/josm/plugins/build.xml	(revision 6067)
@@ -29,5 +29,4 @@
     <!--ant	dir="duplicateway"	antfile="build.xml"	target="dist"/ code still uses API 0.4 -->
     <ant	dir="lang"		antfile="build.xml"	target="dist"/>
-    <ant	dir="mappaint"		antfile="build.xml"	target="dist"/>
     <ant	dir="namefinder"	antfile="build.xml"	target="dist"/>
     <ant	dir="nearclick"		antfile="build.xml"	target="dist"/>
@@ -60,5 +59,4 @@
     <ant	dir="lakewalker"	antfile="build.xml"	target="clean"/>
     <ant	dir="lang"		antfile="build.xml"	target="clean"/>
-    <ant	dir="mappaint"		antfile="build.xml"	target="clean"/>
     <ant	dir="namefinder"	antfile="build.xml"	target="clean"/>
     <ant	dir="navigator"		antfile="build.xml"	target="clean"/>
Index: /applications/editors/josm/plugins/mappaint/NOW_INCLUDED_IN_JOSM
===================================================================
--- /applications/editors/josm/plugins/mappaint/NOW_INCLUDED_IN_JOSM	(revision 6066)
+++ /applications/editors/josm/plugins/mappaint/NOW_INCLUDED_IN_JOSM	(revision 6067)
@@ -2,2 +2,6 @@
 now be found at http://josm.openstreetmap.de/svn/trunk/.  For details see
 http://lists.openstreetmap.org/pipermail/josm-dev/2007-December/000475.html
+
+Apparently, this version doesn't even build anymore with recent versions of
+JOSM:
+http://lists.openstreetmap.org/pipermail/talk-de/2007-December/005798.html
Index: /applications/editors/josm/plugins/mappaint/build.xml
===================================================================
--- /applications/editors/josm/plugins/mappaint/build.xml	(revision 6067)
+++ /applications/editors/josm/plugins/mappaint/build.xml	(revision 6067)
@@ -0,0 +1,71 @@
+<project name="mappaint" 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="josm.jar"         location="../../core/dist/josm-custom.jar" />
+  <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="../dist/${plugin.name}.jar"/>
+
+
+  <!-- you should not need to modify anything below this! -->
+
+  <target name="compile">
+    <mkdir dir="${plugin.build.dir}"></mkdir>
+    <javac srcdir="src" classpath="${josm.jar}" destdir="${plugin.build.dir}" debug="true" source="1.5" target="1.5">
+      <include name="**/*.java" />
+	  <!--compilerarg value="-Xlint:deprecation"/-->
+    </javac>
+  </target>
+
+  <target name="dist" depends="compile">
+    <!-- copy the "standard" mappaint style -->
+    <copy todir="${plugin.build.dir}/standard">
+      <fileset dir="styles/standard"></fileset>
+    </copy>
+    <!-- define the version of the jar file -->
+    <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 intermediate file -->
+    <delete file="REVISION"/>
+    <!-- create jar file with manifest -->
+    <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
+      <manifest>
+        <attribute name="Plugin-Class" value="mappaint.MapPaintPlugin" />
+        <attribute name="Plugin-Description" value="An alternative render for the map with colouring, line thickness and icons.&lt;br&gt;" />
+        <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
+        <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
+        <attribute name="Author" value="Nick Whitelegg / Ulf Lamping"/>
+      </manifest>
+    </jar>
+  </target>
+
+  <target name="clean">
+    <delete dir="${plugin.build.dir}" />
+    <delete file="${plugin.jar}" />
+  </target>
+
+  <target name="clean_install">
+    <delete file="${josm.plugins.dir}/${plugin.name}.jar" />
+  </target>
+
+  <target name="install" depends="dist">
+    <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
+  </target>
+
+</project>
