[rules-users] Drools + Spring without internet

Anderson Rocha anderson.ufal at gmail.com
Wed Dec 1 09:59:49 EST 2010


Thank you for your replay.

I downloaded the schemas and configured the applicationContext.xml like
this, consider "path to my" the path to the file.

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:drools="http://drools.org/schema/drools-spring"
       xmlns:camel="http://camel.apache.org/schema/spring"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

*http://drools.org/schema/drools-springfile:///path/to/my/drools-spring-1.0.0.xsd
*

*http://camel.apache.org/schema/springfile:///path/to/my/camel-spring.xsd"
*>

I have a web application, and when I execute it works =) but I have some
unit tests and I initialize the spring with the code

ApplicationContext applicationContext = new
ClassPathXmlApplicationContext(new String[] {"applicationContext.xml"});

In this case I get the same error I had before. Any ideia?

Anderson

2010/12/1 Mauricio Salatino <salaboy at gmail.com>

> yes you can download the schemas to your hard drive and point the
> applicationContext.xml to them.
>
>
> 2010/12/1 Anderson Rocha <anderson.ufal at gmail.com>
>
>> Hi all,
>>
>> I realized that to use Drools with Spring I need to be conected to the
>> internet, but sometimes I am not. There is a way to download the tags of
>> Drools and configure the applicationContext.xml to seek for them localy?
>>
>> Regards,
>> Anderson
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
>
> --
>  - CTO @ http://www.plugtree.com
>  - MyJourney @ http://salaboy.wordpress.com
>  - Co-Founder @ http://www.jbug.com.ar
>
>  - Salatino "Salaboy" Mauricio -
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101201/36e406f4/attachment.html 


More information about the rules-users mailing list