Re: [drools-user] Convenience method?

2006-12-06 Thread Michael Neale
no reason, with drools 2 we had every method under the sun, and it was a bit too confusing for some, so we went the other direction for this. StringReader is what is needed as it is friendly to parsers, but sure, a convenience one could be OK. As for the IOException, blame sun and their 90's

[drools-user] Convenience method?

2006-12-05 Thread Dirk Bergstrom
Is there a reason there's no version of PackageBuilder.addPackageFromDrl() that takes two Strings? I'm reading my rules from a database, and I've got the DSL in memory, so why do I need to wrap my strings up as StringReaders, and catch an IOException that will never come? I'd be happy to provide