Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixing failing tests after refactor

  • Loading branch information...
commit 4cf91e206c4bf7815a04e42c25adbee19a11ceb1 1 parent 626b05a
Mario Fusco mariofusco authored
2  drools-compiler/src/main/java/org/drools/compiler/kproject/models/KieModuleModelImpl.java
@@ -213,7 +213,7 @@ public void onNode(HierarchicalStreamReader reader, String name, String value) {
213 213 private static Schema loadSchema() {
214 214 SchemaFactory factory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
215 215 try {
216   - URL url = KieModuleModel.class.getClassLoader().getResource("../../../kie-api/src/main/resources/org/kie/api/kmodule.xsd");
  216 + URL url = KieModuleModel.class.getClassLoader().getResource("org/kie/api/kmodule.xsd");
217 217 return factory.newSchema(url);
218 218 } catch (SAXException ex ) {
219 219 throw new RuntimeException( "Unable to load XSD", ex );
2  drools-compiler/src/test/resources/org/drools/compiler/integrationtests/test_AddRemoveListeners.drl
... ... @@ -1,6 +1,6 @@
1 1 package org.drools.compiler
2 2
3   -import org.kie.event.rule.WorkingMemoryEventListener
  3 +import org.kie.api.event.rule.WorkingMemoryEventListener
4 4
5 5 rule "remove listener"
6 6 when

0 comments on commit 4cf91e2

Please sign in to comment.
Something went wrong with that request. Please try again.