<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The src code is not kept. You would have to get this from the
PackageBuilder and the JavaDialect, which is  in the DialectRegistry.
You'll need to do this via reflection. When you get a reference to the
mape it'll be bytes  again, just do new String(byte[] bytes).<br>
<br>
Mark<br>
Markus Helbig wrote:
<blockquote
 cite="mid:50f4d7ac0711290033n6971bf43vfb60e5d38c31ba8b@mail.gmail.com"
 type="cite">
  <pre wrap="">I decompiled the class files, but there's sth curious in the Constant
Pool there is an invalid TagValue it is 97, it occurs in the
*ReturnValueInvoker Classes any idea what's 97 (or it should be mapped
to)?

valid types are (as far as i know):

CONSTANT_Class         7
CONSTANT_Fieldref         9
CONSTANT_Methodref         10
CONSTANT_InterfaceMethodref         11
CONSTANT_String         8
CONSTANT_Integer         3
CONSTANT_Float         4
CONSTANT_Long         5
CONSTANT_Double         6
CONSTANT_NameAndType         12
CONSTANT_Utf8         1

Cheers

Markus

2007/11/29, Markus Helbig <a class="moz-txt-link-rfc2396E" href="mailto:mhelbig81@googlemail.com">&lt;mhelbig81@googlemail.com&gt;</a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">now i tried Mark's suggestion but this is also just bytecode i get ...
ok with byte code it would be possible to decompile ...

Cheers

Markus

2007/11/28, Darko IVANCAN <a class="moz-txt-link-rfc2396E" href="mailto:ivancan@gmx.de">&lt;ivancan@gmx.de&gt;</a>:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi,

Obviously Mark's suggestion is better.

Anyway: Seen, that the BRMS gives you a package (as .pkg) and the
RuleAgents can load those files and Packages are Serializable, I think
you want to investigate also in this possibility, by looking how current
DRools code is doing this job.

Darko

On 28/11/2007 16:00, Markus Helbig wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">that's right, but can you read bytecode? Or is there a way to
serialize into pure Java Code,

i think i'll try the way Mark provided ...

Cheers

Markus

2007/11/28, Darko IVANCAN <a class="moz-txt-link-rfc2396E" href="mailto:ivancan@gmx.de">&lt;ivancan@gmx.de&gt;</a>:

        </pre>
        <blockquote type="cite">
          <pre wrap="">Hi,

The package can be serialized. See manual: deployment options.
The package can also be downloaded from the BRMS.

Hope this helps,
Darko Ivancan

On 28/11/2007 13:58, Markus Helbig wrote:

          </pre>
          <blockquote type="cite">
            <pre wrap="">Hi,

is there any possibility to get the compiled java code of the rules
... could be helpful for several reasons ...

Cheers

Markus
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>




            </pre>
          </blockquote>
          <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>


          </pre>
        </blockquote>
        <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>



        </pre>
      </blockquote>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>

  </pre>
</blockquote>
<br>
</body>
</html>