You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by tw...@apache.org on 2007/04/20 15:01:39 UTC
svn commit: r530784 - in
/incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools:
annot_view/Gladis.java cvd/CVD.java cvd/Gladis.java cvd/MainFrame.java
Author: twgoetz
Date: Fri Apr 20 06:01:38 2007
New Revision: 530784
URL: http://svn.apache.org/viewvc?view=rev&rev=530784
Log:
Jira UIMA-381: rename CVD packages.
http://issues.apache.org/jira/browse/UIMA-381
Added:
incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/annot_view/Gladis.java
incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/CVD.java
- copied, changed from r530781, incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/Gladis.java
Removed:
incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/Gladis.java
Modified:
incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/MainFrame.java
Added: incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/annot_view/Gladis.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/annot_view/Gladis.java?view=auto&rev=530784
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/annot_view/Gladis.java (added)
+++ incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/annot_view/Gladis.java Fri Apr 20 06:01:38 2007
@@ -0,0 +1,39 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+
+package org.apache.uima.tools.annot_view;
+
+import org.apache.uima.tools.cvd.CVD;
+
+/**
+ * Compatibility class, delegates to the new {@link org.apache.uima.tools.cvd.CVD org.apache.uima.tools.cvd.CVD}.
+ *
+ * @deprecated Use org.apache.uima.tools.cvd.CVD instead.
+ */
+public class Gladis {
+
+ /**
+ * @param args
+ */
+ public static void main(String[] args) {
+ CVD.main(args);
+ }
+
+}
Copied: incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/CVD.java (from r530781, incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/Gladis.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/CVD.java?view=diff&rev=530784&p1=incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/Gladis.java&r1=530781&p2=incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/CVD.java&r2=530784
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/Gladis.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/CVD.java Fri Apr 20 06:01:38 2007
@@ -34,7 +34,7 @@
*
*
*/
-public class Gladis {
+public class CVD {
public static final String MAN_PATH_PROPERTY = "uima.tools.cvd.manpath";
@@ -48,7 +48,7 @@
private static final String LOOK_AND_FEEL_PARAM = "-lookandfeel";
- private Gladis() {
+ private CVD() {
super();
}
Modified: incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/MainFrame.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/MainFrame.java?view=diff&rev=530784&r1=530783&r2=530784
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/MainFrame.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/MainFrame.java Fri Apr 20 06:01:38 2007
@@ -1401,7 +1401,7 @@
editorPane.addHyperlinkListener(new Hyperactive());
URL manURL = ClassLoader.getSystemResource(manFileName);
if (manURL == null) {
- String manpath = System.getProperty(Gladis.MAN_PATH_PROPERTY, null);
+ String manpath = System.getProperty(CVD.MAN_PATH_PROPERTY, null);
if (manpath != null) {
File manDir = new File(manpath);
File manFile = new File(manDir, manFileName);