You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by an...@apache.org on 2012/01/06 22:57:38 UTC

svn commit: r1228435 - in /incubator/oozie/branches/3.1: client/src/main/java/org/apache/oozie/cli/OozieCLI.java release-log.txt

Author: angeloh
Date: Fri Jan  6 21:57:38 2012
New Revision: 1228435

URL: http://svn.apache.org/viewvc?rev=1228435&view=rev
Log:
Closes OOZIE-571 Oozie validate command doesnt work for schema 0.2 -- for Virag

Modified:
    incubator/oozie/branches/3.1/client/src/main/java/org/apache/oozie/cli/OozieCLI.java
    incubator/oozie/branches/3.1/release-log.txt

Modified: incubator/oozie/branches/3.1/client/src/main/java/org/apache/oozie/cli/OozieCLI.java
URL: http://svn.apache.org/viewvc/incubator/oozie/branches/3.1/client/src/main/java/org/apache/oozie/cli/OozieCLI.java?rev=1228435&r1=1228434&r2=1228435&view=diff
==============================================================================
--- incubator/oozie/branches/3.1/client/src/main/java/org/apache/oozie/cli/OozieCLI.java (original)
+++ incubator/oozie/branches/3.1/client/src/main/java/org/apache/oozie/cli/OozieCLI.java Fri Jan  6 21:57:38 2012
@@ -1219,6 +1219,22 @@ public class OozieCLI {
                         "email-action-0.1.xsd")));
                 sources.add(new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(
                         "distcp-action-0.1.xsd")));
+                sources.add(new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(
+                        "oozie-workflow-0.2.xsd")));
+                sources.add(new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(
+                        "oozie-workflow-0.2.5.xsd")));
+                sources.add(new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(
+                        "oozie-workflow-0.3.xsd")));
+                sources.add(new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(
+                        "oozie-coordinator-0.1.xsd")));
+                sources.add(new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(
+                        "oozie-coordinator-0.2.xsd")));
+                sources.add(new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(
+                        "oozie-coordinator-0.3.xsd")));
+                sources.add(new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(
+                        "oozie-bundle-0.1.xsd")));
+                sources.add(new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(
+                        "oozie-sla-0.1.xsd")));
                 SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
                 Schema schema = factory.newSchema(sources.toArray(new StreamSource[sources.size()]));
                 Validator validator = schema.newValidator();

Modified: incubator/oozie/branches/3.1/release-log.txt
URL: http://svn.apache.org/viewvc/incubator/oozie/branches/3.1/release-log.txt?rev=1228435&r1=1228434&r2=1228435&view=diff
==============================================================================
--- incubator/oozie/branches/3.1/release-log.txt (original)
+++ incubator/oozie/branches/3.1/release-log.txt Fri Jan  6 21:57:38 2012
@@ -1,4 +1,5 @@
 -- Oozie 3.1.1 release
+OOZIE-571 Oozie validate command doesnt work for schema 0.2
 OOZIE-570 Oozie bundle is running but not materializing new actions
 OOZIE-25 Removing confusing exception trace during wf suspend/kill/resume
 OOZIE-567 Is sub-workflow lib directory not used? Libraries of both parent and child workflows need to be added to classpath