Revision: 8001
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8001&view=rev
Author:   dnaber
Date:     2012-09-08 12:02:14 +0000 (Sat, 08 Sep 2012)
Log Message:
-----------
link fixes

Modified Paths:
--------------
    trunk/JLanguageTool/src/main/dev/org/languagetool/dev/RuleOverview.java

Modified: 
trunk/JLanguageTool/src/main/dev/org/languagetool/dev/RuleOverview.java
===================================================================
--- trunk/JLanguageTool/src/main/dev/org/languagetool/dev/RuleOverview.java     
2012-09-08 11:46:17 UTC (rev 8000)
+++ trunk/JLanguageTool/src/main/dev/org/languagetool/dev/RuleOverview.java     
2012-09-08 12:02:14 UTC (rev 8001)
@@ -111,7 +111,7 @@
         xmlRules = xmlRules.replaceAll("(?s)<rules.*?>", "");
         final int count = countXmlRules(xmlRules);
         final int countInRuleGroup = countXmlRuleGroupRules(xmlRules);
-        final String ruleBase = 
"http://languagetool.svn.sourceforge.net/viewvc/languagetool/trunk/JLanguageTool/src/rules/";;
+        final String ruleBase = 
"http://languagetool.svn.sourceforge.net/viewvc/languagetool/trunk/JLanguageTool/src/main/resources/org/languagetool/rules/";;
         System.out.print("<td valign=\"top\" align=\"right\">" + (count + 
countInRuleGroup) + "</td>");
         System.out.print("<td valign=\"top\" align=\"right\">" +
             "<a href=\"" + ruleBase + lang.getShortName() + "/grammar.xml" + 
"\">Show</a> / " +
@@ -121,7 +121,7 @@
       }
 
       // count Java rules:
-      final File dir = new File("src/java/org/languagetool" + 
+      final File dir = new File("src/main/java" +
               JLanguageTool.getDataBroker().getRulesDir() + "/" + 
lang.getShortName());
       if (!dir.exists()) {
         System.out.print("<td valign=\"top\" align=\"right\">0</td>");
@@ -151,7 +151,7 @@
       
     if (overallJavaCount == 0) {
       throw new RuntimeException("No Java rules found - start this script from 
the LanguageTool directory so " +
-              "that the sources are at 'src/java/org/languagetool'");
+              "that the sources are at 
'src/main/java/org/languagetool/rules'");
     }
     if (langSpecificWebsiteCount == 0) {
       throw new RuntimeException("No language specific websites found - please 
let the web root parameter " +

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