]
Mauricio Salatino commented on JBRULES-2905:
--------------------------------------------
It's good to know that in jboss we can be having some troubles. Please let me know if
you test it and you revert this modification, because right now drools-server it's
pretty easy to use. I will be doing my own testing and put here if I found something that
it's not working properly.
drools-spring: Should be able to work offline too. Include XSD in the
jar and use the spring support to map the URL to the included XSD.
----------------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-2905
URL:
https://issues.jboss.org/browse/JBRULES-2905
Project: Drools
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: Geoffrey De Smet
Assignee: Mauricio Salatino
Fix For: 5.2.0.M2
Currently using drools-spring means you need to be able to lay a connection to the
Internet to download the xsd.
Spring has support to avoid that.
Do the following:
1) Define a good url for the XSD. The current one sux:
https://github.com/droolsjbpm/droolsjbpm-integration/raw/master/drools-co...
Take something like
http://www.drools.org/schema/drools-spring-1.2.0.xsd
or http\://www.jboss.org/schema/drools-spring-1.2.0.xsd
Check with
jboss.org what's the best location.
2) Include spring properties files in the drools-spring jar to map that url to
<good url> = /org/drools/container/spring/drools-spring-1.2.0.xsd
You need 2 files (put them in src/main/resources(/META-INF)):
META-INF/spring.schemas
http\://www.drools.org/schema/drools-spring-1.2.0.xsd=org/drools/container/spring/drools-spring-1.2.0.xsd
META-INF/spring.handlers
?
3) Actually upload the XSD to that good url too, so it's available for
Eclipse/IntelliJ.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: