[rules-users] Dynamic rule file uploading

Fnu Mahalakshmi FMahalakshmi at nyx.com
Tue Jun 15 11:06:32 EDT 2010


Hi guys,

I have : {R1.drl,R2.drl,R3.brl}
After conversion and loading I have {R1.drl,R2.drl,R3.brl,R3.drl} files in the same directory where all my rules are stored.

I am using:
    File folder = new File("SRC/MAIN/RULES");
    File[] listOfFiles = folder.listFiles();

for listing all the files in my rules directory.
Now is there anyway that I can just hold on to the required files whenever my rule files are updated rather than having to manually keeping deleting and updating my rules directory?
Is there a more better way to do it rather than just listing all the files in the directory??

Thanks,
M
</pre>

<P><hr size=1></P>
<P><STRONG><font color=green>Please consider the environment before printing this email.</font></STRONG></P>
<P><STRONG>Visit our website at <a href="http://www.nyse.com">http://www.nyse.com</a> <br>

*****************************************************************************
<br>
Note:  The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system.  Thank you.  NYSE Euronext.

</STRONG></P><pre>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100615/4c210fea/attachment.html 


More information about the rules-users mailing list