From: <dn...@us...> - 2011-11-06 22:42:39
|
Revision: 5866 http://languagetool.svn.sourceforge.net/languagetool/?rev=5866&view=rev Author: dnaber Date: 2011-11-06 22:42:32 +0000 (Sun, 06 Nov 2011) Log Message: ----------- switch to LanguageTool's new package structure (org.languagetool.*) Modified Paths: -------------- trunk/ltcommunity/grails-app/controllers/org/languagetool/CorpusMatchController.groovy trunk/ltcommunity/grails-app/controllers/org/languagetool/HomepageController.groovy trunk/ltcommunity/grails-app/controllers/org/languagetool/RuleController.groovy trunk/ltcommunity/grails-app/controllers/org/languagetool/UserController.groovy trunk/ltcommunity/grails-app/controllers/org/languagetool/UserOpinionController.groovy trunk/ltcommunity/grails-app/controllers/org/languagetool/WikiCheckController.groovy trunk/ltcommunity/grails-app/domain/org/languagetool/UserRule.groovy trunk/ltcommunity/grails-app/views/_ruleMatches.gsp trunk/ltcommunity/grails-app/views/rule/edit.gsp trunk/ltcommunity/grails-app/views/rule/list.gsp trunk/ltcommunity/grails-app/views/rule/show.gsp trunk/ltcommunity/grails-app/views/user/login.gsp trunk/ltcommunity/grails-app/views/wikiCheck/index.gsp trunk/ltcommunity/src/java/org/languagetool/RuleComparator.java Modified: trunk/ltcommunity/grails-app/controllers/org/languagetool/CorpusMatchController.groovy =================================================================== --- trunk/ltcommunity/grails-app/controllers/org/languagetool/CorpusMatchController.groovy 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/controllers/org/languagetool/CorpusMatchController.groovy 2011-11-06 22:42:32 UTC (rev 5866) @@ -19,10 +19,6 @@ package org.languagetool -import javax.mail.* -import javax.mail.internet.* -import de.danielnaber.languagetool.* - /** * User voting on errors detected in a text corpus. */ Modified: trunk/ltcommunity/grails-app/controllers/org/languagetool/HomepageController.groovy =================================================================== --- trunk/ltcommunity/grails-app/controllers/org/languagetool/HomepageController.groovy 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/controllers/org/languagetool/HomepageController.groovy 2011-11-06 22:42:32 UTC (rev 5866) @@ -20,8 +20,8 @@ package org.languagetool import org.hibernate.* -import de.danielnaber.languagetool.* -import de.danielnaber.languagetool.rules.* +import org.languagetool.* +import org.languagetool.rules.* /** * The main page of the website. Modified: trunk/ltcommunity/grails-app/controllers/org/languagetool/RuleController.groovy =================================================================== --- trunk/ltcommunity/grails-app/controllers/org/languagetool/RuleController.groovy 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/controllers/org/languagetool/RuleController.groovy 2011-11-06 22:42:32 UTC (rev 5866) @@ -19,9 +19,8 @@ package org.languagetool -import de.danielnaber.languagetool.* -import de.danielnaber.languagetool.rules.* -import de.danielnaber.languagetool.rules.patterns.* +import org.languagetool.rules.* +import org.languagetool.rules.patterns.* /** * Display and edit error rules. Modified: trunk/ltcommunity/grails-app/controllers/org/languagetool/UserController.groovy =================================================================== --- trunk/ltcommunity/grails-app/controllers/org/languagetool/UserController.groovy 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/controllers/org/languagetool/UserController.groovy 2011-11-06 22:42:32 UTC (rev 5866) @@ -19,7 +19,7 @@ package org.languagetool -import de.danielnaber.languagetool.Language +import org.languagetool.Language import javax.mail.* import javax.mail.internet.* Modified: trunk/ltcommunity/grails-app/controllers/org/languagetool/UserOpinionController.groovy =================================================================== --- trunk/ltcommunity/grails-app/controllers/org/languagetool/UserOpinionController.groovy 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/controllers/org/languagetool/UserOpinionController.groovy 2011-11-06 22:42:32 UTC (rev 5866) @@ -19,7 +19,6 @@ package org.languagetool -import de.danielnaber.languagetool.* import java.sql.DriverManager import java.sql.ResultSet import java.sql.Connection Modified: trunk/ltcommunity/grails-app/controllers/org/languagetool/WikiCheckController.groovy =================================================================== --- trunk/ltcommunity/grails-app/controllers/org/languagetool/WikiCheckController.groovy 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/controllers/org/languagetool/WikiCheckController.groovy 2011-11-06 22:42:32 UTC (rev 5866) @@ -19,8 +19,8 @@ package org.languagetool -import de.danielnaber.languagetool.dev.wikipedia.WikipediaQuickCheck -import de.danielnaber.languagetool.dev.wikipedia.WikipediaQuickCheckResult +import org.languagetool.dev.wikipedia.WikipediaQuickCheck +import org.languagetool.dev.wikipedia.WikipediaQuickCheckResult class WikiCheckController extends BaseController { Modified: trunk/ltcommunity/grails-app/domain/org/languagetool/UserRule.groovy =================================================================== --- trunk/ltcommunity/grails-app/domain/org/languagetool/UserRule.groovy 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/domain/org/languagetool/UserRule.groovy 2011-11-06 22:42:32 UTC (rev 5866) @@ -19,10 +19,8 @@ package org.languagetool -import de.danielnaber.languagetool.AnalyzedSentence -import de.danielnaber.languagetool.rules.* -import de.danielnaber.languagetool.rules.patterns.* -import de.danielnaber.languagetool.Language +import org.languagetool.rules.* +import org.languagetool.rules.patterns.* /** * An individual user's rule. Modified: trunk/ltcommunity/grails-app/views/_ruleMatches.gsp =================================================================== --- trunk/ltcommunity/grails-app/views/_ruleMatches.gsp 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/views/_ruleMatches.gsp 2011-11-06 22:42:32 UTC (rev 5866) @@ -1,4 +1,4 @@ -<%@page import="de.danielnaber.languagetool.Language" %> +<%@page import="org.languagetool.Language" %> <ul> <g:each in="${matches}" var="matchInfo" status="i"> @@ -9,7 +9,7 @@ params="${[lang: lang]}"><span class="additional"><g:message code="ltc.check.visit.rule"/></span></g:link> <br/> <span class="exampleSentence">${ - de.danielnaber.languagetool.gui.Tools.getContext(matchInfo.getFromPos(), + org.languagetool.gui.Tools.getContext(matchInfo.getFromPos(), matchInfo.getToPos(), textToCheck, 100, "<span class='error'>", "</span>", true)}</span> <br /> Modified: trunk/ltcommunity/grails-app/views/rule/edit.gsp =================================================================== --- trunk/ltcommunity/grails-app/views/rule/edit.gsp 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/views/rule/edit.gsp 2011-11-06 22:42:32 UTC (rev 5866) @@ -1,7 +1,7 @@ <%@ page import="org.languagetool.User" %> -<%@ page import="de.danielnaber.languagetool.rules.patterns.PatternRule" %> -<%@ page import="de.danielnaber.languagetool.tools.StringTools" %> +<%@ page import="org.languagetool.rules.patterns.PatternRule" %> +<%@ page import="org.languagetool.tools.StringTools" %> <html> <head> <meta name="layout" content="main" /> Modified: trunk/ltcommunity/grails-app/views/rule/list.gsp =================================================================== --- trunk/ltcommunity/grails-app/views/rule/list.gsp 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/views/rule/list.gsp 2011-11-06 22:42:32 UTC (rev 5866) @@ -1,7 +1,7 @@ <%@ page import="org.languagetool.User" %> <%@ page import="org.languagetool.StringTools" %> -<%@ page import="de.danielnaber.languagetool.rules.patterns.PatternRule" %> +<%@ page import="org.languagetool.rules.patterns.PatternRule" %> <html> <head> <meta name="layout" content="main" /> Modified: trunk/ltcommunity/grails-app/views/rule/show.gsp =================================================================== --- trunk/ltcommunity/grails-app/views/rule/show.gsp 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/views/rule/show.gsp 2011-11-06 22:42:32 UTC (rev 5866) @@ -1,7 +1,7 @@ <%@ page import="org.languagetool.User" %> -<%@ page import="de.danielnaber.languagetool.rules.patterns.PatternRule" %> -<%@ page import="de.danielnaber.languagetool.tools.StringTools" %> +<%@ page import="org.languagetool.rules.patterns.PatternRule" %> +<%@ page import="org.languagetool.tools.StringTools" %> <html> <head> <meta name="layout" content="main" /> Modified: trunk/ltcommunity/grails-app/views/user/login.gsp =================================================================== --- trunk/ltcommunity/grails-app/views/user/login.gsp 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/views/user/login.gsp 2011-11-06 22:42:32 UTC (rev 5866) @@ -1,4 +1,4 @@ -<%@page import="de.danielnaber.languagetool.tools.StringTools" %> +<%@page import="org.languagetool.tools.StringTools" %> <html> <head> Modified: trunk/ltcommunity/grails-app/views/wikiCheck/index.gsp =================================================================== --- trunk/ltcommunity/grails-app/views/wikiCheck/index.gsp 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/grails-app/views/wikiCheck/index.gsp 2011-11-06 22:42:32 UTC (rev 5866) @@ -1,5 +1,5 @@ <%@page import="org.languagetool.*" %> -<%@page import="de.danielnaber.languagetool.tools.StringTools" %> +<%@page import="org.languagetool.tools.StringTools" %> <%@page import="org.hibernate.*" %> <html> Modified: trunk/ltcommunity/src/java/org/languagetool/RuleComparator.java =================================================================== --- trunk/ltcommunity/src/java/org/languagetool/RuleComparator.java 2011-11-06 22:22:43 UTC (rev 5865) +++ trunk/ltcommunity/src/java/org/languagetool/RuleComparator.java 2011-11-06 22:42:32 UTC (rev 5866) @@ -20,8 +20,8 @@ import java.util.Comparator; -import de.danielnaber.languagetool.rules.Rule; -import de.danielnaber.languagetool.rules.patterns.PatternRule; +import org.languagetool.rules.Rule; +import org.languagetool.rules.patterns.PatternRule; enum SortDirection { asc, desc } enum SortField { description, pattern, category } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |