Revision: 7972
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7972&view=rev
Author:   dnaber
Date:     2012-09-02 17:25:49 +0000 (Sun, 02 Sep 2012)
Log Message:
-----------
adapt to path changes

Modified Paths:
--------------
    trunk/JLanguageTool/build.properties
    trunk/JLanguageTool/build.xml

Modified: trunk/JLanguageTool/build.properties
===================================================================
--- trunk/JLanguageTool/build.properties        2012-09-02 17:19:11 UTC (rev 
7971)
+++ trunk/JLanguageTool/build.properties        2012-09-02 17:25:49 UTC (rev 
7972)
@@ -3,9 +3,9 @@
 version = 1.9-dev
 
 src.dir = ./src
-src.java.dir = ${src.dir}/java
-src.java.dev.dir = ${src.dir}/dev
-src.test.dir = ${src.dir}/test
+src.java.dir = ${src.dir}/main/java
+src.java.dev.dir = ${src.dir}/main/dev
+src.test.dir = ${src.dir}/test/java
 src.scripts.dir = ${src.dir}/scripts
 
 build.classes = ${build.dir}/classes
@@ -19,7 +19,8 @@
 
 junit.classes.dir = ./junit.classes
 junit.instrumented-classes.dir = ./junit.instrumented-classes
-resource.dir = ./src/resource
+resource.dir = ./src/main/resources/resource
+rules.dir = ./src/main/resources/rules
 
 ext.dir = ./libs
 ext.ooo.dir = ./libs/ooo

Modified: trunk/JLanguageTool/build.xml
===================================================================
--- trunk/JLanguageTool/build.xml       2012-09-02 17:19:11 UTC (rev 7971)
+++ trunk/JLanguageTool/build.xml       2012-09-02 17:25:49 UTC (rev 7972)
@@ -38,8 +38,9 @@
         <pathelement location="${ext.ooo.ridl.lib}" />
         <pathelement location="${ext.ooo.jurt.lib}" />
         <!-- -->
-        <pathelement location="${dist.dir}/resource" />
-        <pathelement location="${dist.dir}/rules" />
+        <pathelement location="${resource.dir}" />
+        <pathelement location="${rules.dir}" />
+        <pathelement location="src/main/resources" />
         <!-- tika lib -->
         <pathelement location="${ext.tika.lib}" />
         <!-- JNA-->
@@ -703,7 +704,7 @@
 
         <copy file="${resource.dir}/xx/dummy.dict" 
tofile="${dist.dir}/resource/cs/czech.dict" />
         <copy todir="${dist.dir}/rules">
-            <fileset dir="src/rules" excludes="CVS" />
+            <fileset dir="${rules.dir}" excludes="CVS" />
         </copy>
 
         <!-- general pattern for all hunspell-related files, including any 
license or readme files -->
@@ -719,7 +720,7 @@
 
     <target name="ooo-internal" depends="common,ooo-build">
         <!-- prepare properties file automatically -->
-        <javac includeAntRuntime="false" encoding="${encoding}" 
srcdir="${src.dir}/dev" includes="org/languagetool/dev/PrintLocales.java" 
destdir="${build.classes}" source="${source}" target="${target}" 
debug="${debug}">
+        <javac includeAntRuntime="false" encoding="${encoding}" 
srcdir="${src.java.dev.dir}" includes="org/languagetool/dev/PrintLocales.java" 
destdir="${build.classes}" source="${source}" target="${target}" 
debug="${debug}">
         </javac>
 
         <jar jarfile="${dist.dir}/printlocales.jar" basedir="${build.classes}" 
includes="org/languagetool/dev/**">

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to