Revision: 7230
http://languagetool.svn.sourceforge.net/languagetool/?rev=7230&view=rev
Author: gulp21-1
Date: 2012-06-04 15:45:10 +0000 (Mon, 04 Jun 2012)
Log Message:
-----------
[ltdiff] add license
make bash script work with package info
Modified Paths:
--------------
trunk/JLanguageTool/src/dev/tools/ltdiff/VersionDiffGenerator.java
trunk/JLanguageTool/src/dev/tools/ltdiff/ltdiff.bash
Modified: trunk/JLanguageTool/src/dev/tools/ltdiff/VersionDiffGenerator.java
===================================================================
--- trunk/JLanguageTool/src/dev/tools/ltdiff/VersionDiffGenerator.java
2012-06-04 09:32:38 UTC (rev 7229)
+++ trunk/JLanguageTool/src/dev/tools/ltdiff/VersionDiffGenerator.java
2012-06-04 15:45:10 UTC (rev 7230)
@@ -1,3 +1,22 @@
+/* LanguageTool, a natural language style checker
+ * Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ */
+
package tools.ltdiff;
import java.io.*;
@@ -9,6 +28,7 @@
/**
* Generates an HTML report of added, deleted and modified rules between
versions of LanguageTool.
* See ltdiff.bash.
+ * @author Markus Brenneis
*/
class VersionDiffGenerator {
@@ -32,7 +52,7 @@
rules = newRules;
}
- final Scanner scanner = new Scanner(new FileReader(i == 0 ? "old" :
"new"));
+ final Scanner scanner = new Scanner(new FileReader(i == 0 ?
"tools/ltdiff/old" : "tools/ltdiff/new"));
Rule r = new Rule();
Modified: trunk/JLanguageTool/src/dev/tools/ltdiff/ltdiff.bash
===================================================================
--- trunk/JLanguageTool/src/dev/tools/ltdiff/ltdiff.bash 2012-06-04
09:32:38 UTC (rev 7229)
+++ trunk/JLanguageTool/src/dev/tools/ltdiff/ltdiff.bash 2012-06-04
15:45:10 UTC (rev 7230)
@@ -64,8 +64,13 @@
mv old~ old
mv new~ new
- java VersionDiffGenerator $l_variant
+ cd ../..
+ java tools.ltdiff.VersionDiffGenerator $l_variant
+
+ mv changes_$l_variant.html tools/ltdiff/
+ cd tools/ltdiff
+
# read translated strings
i=1
if [ -f $l.txt ]; then
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs