ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vjapa...@apache.org
Subject svn commit: r1556426 - in /ctakes/branches/ytex/ctakes-ytex-uima: pom.xml src/test/java/org/apache/ctakes/ytex/uima/annotators/SenseDisambiguatorAnnotatorTest.java
Date Wed, 08 Jan 2014 02:29:52 GMT
Author: vjapache
Date: Wed Jan  8 02:29:52 2014
New Revision: 1556426

URL: http://svn.apache.org/r1556426
Log:
oracle tests and scripts

Modified:
    ctakes/branches/ytex/ctakes-ytex-uima/pom.xml
    ctakes/branches/ytex/ctakes-ytex-uima/src/test/java/org/apache/ctakes/ytex/uima/annotators/SenseDisambiguatorAnnotatorTest.java

Modified: ctakes/branches/ytex/ctakes-ytex-uima/pom.xml
URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex-uima/pom.xml?rev=1556426&r1=1556425&r2=1556426&view=diff
==============================================================================
--- ctakes/branches/ytex/ctakes-ytex-uima/pom.xml (original)
+++ ctakes/branches/ytex/ctakes-ytex-uima/pom.xml Wed Jan  8 02:29:52 2014
@@ -205,6 +205,12 @@
 					</additionalClasspathElements>
 				</configuration>
 			</plugin>
+			<plugin>
+				<artifactId>maven-clean-plugin</artifactId>
+				<configuration>
+					<failOnError>false</failOnError>
+				</configuration>
+			</plugin>			
 		</plugins>
 		<pluginManagement>
 			<plugins>

Modified: ctakes/branches/ytex/ctakes-ytex-uima/src/test/java/org/apache/ctakes/ytex/uima/annotators/SenseDisambiguatorAnnotatorTest.java
URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex-uima/src/test/java/org/apache/ctakes/ytex/uima/annotators/SenseDisambiguatorAnnotatorTest.java?rev=1556426&r1=1556425&r2=1556426&view=diff
==============================================================================
--- ctakes/branches/ytex/ctakes-ytex-uima/src/test/java/org/apache/ctakes/ytex/uima/annotators/SenseDisambiguatorAnnotatorTest.java
(original)
+++ ctakes/branches/ytex/ctakes-ytex-uima/src/test/java/org/apache/ctakes/ytex/uima/annotators/SenseDisambiguatorAnnotatorTest.java
Wed Jan  8 02:29:52 2014
@@ -44,7 +44,14 @@ public class SenseDisambiguatorAnnotator
 			jdbcTemplate.execute("drop table if exists test_concepts");
 		if("mssql".equals(dbtype))
 			jdbcTemplate.execute("if exists(select * from sys.objects where object_id = object_id('test_concepts'))
drop table test_concepts");
-		//TODO if("orcl".equals(dbtype)))
+		if ("orcl".equals(dbtype)) {
+			// just try dropping the table, catch exception and hope all is well
+			try {
+				jdbcTemplate.execute("drop table test_concepts");
+			} catch (Exception ignore) {
+
+			}
+		}
 		jdbcTemplate
 				.execute("create table test_concepts(parent varchar(20), child varchar(20))");
 		jdbcTemplate



Mime
View raw message