Jin, Ming wrote:
I knew it would be an odd question, but I just have to ask just in case:
Is there a tool available to convert/extract a PackageDescr out of an
instance of Package?  My final goal is to use DrlDumper to obtain DRL,
or to use XmlDumper to get XML representations of the package.
We designed Package for runtime only, so we discard a lot of information, like the text representation, to reduce size. You could in theory take the bytecode that is wired up to consequenes and use a bytecode to .java converter - so in theory you could do this, but it would be messy and obviously bytecode loses comments etc.
Thanks,
-Ming

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to