[rules-users] Package -> PackageDescr
Mark Proctor
mproctor at codehaus.org
Mon Jan 28 18:01:56 EST 2008
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
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
More information about the rules-users
mailing list