Index: /applications/editors/josm/plugins/cadastre-fr/.classpath
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/.classpath	(revision 29733)
+++ /applications/editors/josm/plugins/cadastre-fr/.classpath	(revision 29734)
@@ -2,6 +2,8 @@
 <classpath>
 	<classpathentry kind="src" path="src"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK 5"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
-	<classpathentry kind="output" path="build"/>
+	<classpathentry combineaccessrules="false" kind="src" path="/JOSM-GeoTools"/>
+	<classpathentry combineaccessrules="false" kind="src" path="/JOSM-jts"/>
+	<classpathentry kind="output" path="bin"/>
 </classpath>
Index: /applications/editors/josm/plugins/cadastre-fr/.project
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/.project	(revision 29733)
+++ /applications/editors/josm/plugins/cadastre-fr/.project	(revision 29734)
@@ -1,7 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-	<name>JOSM-Cadastre-fr</name>
+	<name>cadastre-fr</name>
 	<comment></comment>
 	<projects>
+		<project>JOSM</project>
 	</projects>
 	<buildSpec>
Index: /applications/editors/josm/plugins/cadastre-fr/build.xml
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/build.xml	(revision 29733)
+++ /applications/editors/josm/plugins/cadastre-fr/build.xml	(revision 29734)
@@ -15,6 +15,29 @@
     <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/FR:JOSM/Fr:Plugin/Cadastre"/>
     <property name="plugin.stage" value="60"/>
+    <property name="plugin.requires" value="jts;geotools"/>
 
     <!-- ** include targets that all plugins have in common ** -->
     <import file="../build-common.xml"/>
+
+    <property name="jts" location="../../dist/jts.jar"/>
+    <property name="geotools" location="../../dist/geotools.jar"/>
+
+    <!--
+    **********************************************************
+    ** compile - compiles the source tree
+    **********************************************************
+    -->
+    <target name="compile">
+        <echo message="compiling sources for  ${plugin.jar} ... "/>
+        <javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="UTF-8">
+            <classpath>
+                <pathelement path="${plugin.build.dir}"/>
+                <pathelement location="${josm}"/>
+                <pathelement location="${jts}"/>
+                <pathelement location="${geotools}"/>
+            </classpath>
+            <compilerarg value="-Xlint:deprecation"/>
+            <compilerarg value="-Xlint:unchecked"/>
+        </javac>
+    </target>
 </project>
