Note: I am using eclipse IDE and when I change the rule and save it .. it needs to look at dsl to compile the rules, I am still in design phase so not using knowledge builder.

 

the problem is that I have multiple versions of the dsl file with same name in different packages for example:

 

com.dsl1 has      application.dsl

com.dsl2 has      application.dsl

… more

 

Now when I copy one of the dsl into the same folder as my dslr it works ..  when I delete the dsl the dslr doesn’t compile … I just wana refer to the dsl and not copy it into the same folder.

 

Thanks,

saleem

 

From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Wolfgang Laun
Sent: Thursday, February 17, 2011 1:28 PM
To: Rules Users List
Subject: Re: [rules-users] dsl file in other folder

 

I have read and (I think) fully understood the 5.1.1. code of the DSL/DSLR parser, and the statement "expander <path>" just isn't used any more.

Pass all your DSL files to the KnowledgeBuilder, and then all your DSLR files.

-W


2011/2/17 Saleem Lakhani <Saleem.Lakhani@citizensfla.com>

 

I m using Drools 5 and I can see in an online book for Drools 5 that’s using expander …

 

saleem

 

From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Esteban Aliverti
Sent: Thursday, February 17, 2011 12:42 PM
To: Rules Users List
Subject: Re: [rules-users] dsl file in other folder

 

Which version of drools are you using? "expander" keyword is deprecated. There is no longer need to use it. Kbuilder will try to expand a dslr file with all the dsl definitions it has.

Best regards,

El feb 17, 2011 1:45 p.m., "Saleem Lakhani" <Saleem.Lakhani@citizensfla.com> escribió:

How can I access dsl file which is not in the same folder as the dslr;

 

expander application.dsl  {application.dsl is not in the same folder as dslr}

 

thanks,

saleem

 


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users