[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2905) 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.
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Thu Feb 17 05:38:14 EST 2011
[ https://issues.jboss.org/browse/JBRULES-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582952#comment-12582952 ]
Geoffrey De Smet commented on JBRULES-2905:
-------------------------------------------
Also use the good url wherever guvnor uses it, such as /home/gdesmet/projects/jboss/droolsjbpm/guvnor/guvnor-webapp/src/test/resources/org/drools/guvnor/server/contenthandler/valid-spring-context.xml
> 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: Mark Proctor
>
> 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-container/drools-spring/src/main/resources/org/drools/container/spring/drools-spring-1.2.0.xsd
> 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
> If I recall correctly you need 2 properties files.
> 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: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list