<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 3/15/11 12:27 PM, Wen Yao wrote:
    <blockquote
      cite="mid:AANLkTimO_VmUitJiT5RU_bB2GhcV_GqAKVcrmooUw245@mail.gmail.com"
      type="cite">Thanks Tihomir.<br>
      <br>
      Attached is my bpmn file which I haven't edited. I don't think I
      am using jBPM. I just new a ruleflow file which is supported by
      Drools 5.1. It's a bpmn file.<br>
      <br>
      For question 3, I created a bpmn file in eclipse and didn't edit
      it. Then try to import it into oryx. It didn't work.<br>
      <br>
      Thanks for your answer!<br>
      <br clear="all">
      Best regards,<br>
      ----<br>
      Wen <br>
    </blockquote>
    I am able to open your process without errors in both Eclipse as
    well as in Oryx after importing it to Guvnor. Here is what I have
    tested your process with:<br>
    <br>
    Guvnor: latest from trunk (<a class="moz-txt-link-freetext" href="https://github.com/droolsjbpm/guvnor">https://github.com/droolsjbpm/guvnor</a>) as
    well as the version that comes with jBPM5-Final (
    <a class="moz-txt-link-freetext" href="http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.0-Final/">http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.0-Final/</a>
    ) and also the latest snapshot
(<a class="moz-txt-link-freetext" href="http://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/">http://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/</a>)<br>
    <br>
    Oryx: Latest version
    (<a class="moz-txt-link-freetext" href="http://people.redhat.com/tsurdilo/oryx/1.0.0.049-SNAPSHOT/">http://people.redhat.com/tsurdilo/oryx/1.0.0.049-SNAPSHOT/</a>), you
    should download <a
href="http://people.redhat.com/tsurdilo/oryx/1.0.0.049-SNAPSHOT/designer-1.0.0.049-SNAPSHOT-jboss.war">designer-1.0.0.049-SNAPSHOT-jboss.war</a>
    and rename it to designer.war before deploying.<br>
    <br>
    You may be using some older versions, if you let me what what they
    are then I can test with those as well.<br>
    <br>
    Thanks.<br>
    Tihomir<br>
    <blockquote
      cite="mid:AANLkTimO_VmUitJiT5RU_bB2GhcV_GqAKVcrmooUw245@mail.gmail.com"
      type="cite">
      <br>
      <br>
      <div class="gmail_quote">On Tue, Mar 15, 2011 at 12:00 PM, <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          Send rules-users mailing list submissions to<br>
          &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
            href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
          <br>
          To subscribe or unsubscribe via the World Wide Web, visit<br>
          &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
            href="https://lists.jboss.org/mailman/listinfo/rules-users"
            target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
          or, via email, send a message with subject or body 'help' to<br>
          &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
            href="mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org</a><br>
          <br>
          You can reach the person managing the list at<br>
          &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
            href="mailto:rules-users-owner@lists.jboss.org">rules-users-owner@lists.jboss.org</a><br>
          <br>
          When replying, please edit your Subject line so it is more
          specific<br>
          than "Re: Contents of rules-users digest..."<br>
          <br>
          <br>
          Today's Topics:<br>
          <br>
          &nbsp; 1. Importing existing .dslr + .dsl to Guvnor (wantastic)<br>
          &nbsp; 2. Re: A question about using "lane" in Drools-flow<br>
          &nbsp; &nbsp; &nbsp;(Tihomir Surdilovic)<br>
          <br>
          <br>
----------------------------------------------------------------------<br>
          <br>
          Message: 1<br>
          Date: Tue, 15 Mar 2011 07:24:16 -0700 (PDT)<br>
          From: wantastic &lt;<a moz-do-not-send="true"
            href="mailto:wantastic@gmail.com">wantastic@gmail.com</a>&gt;<br>
          Subject: [rules-users] Importing existing .dslr + .dsl to
          Guvnor<br>
          To: <a moz-do-not-send="true"
            href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
          Message-ID: &lt;<a moz-do-not-send="true"
            href="mailto:1300199055985-2681597.post@n3.nabble.com">1300199055985-2681597.post@n3.nabble.com</a>&gt;<br>
          Content-Type: text/plain; charset=us-ascii<br>
          <br>
          Hello everyone,<br>
          <br>
          &nbsp;I am a newbie to Guvnor. I have a set of .dslr files with
          .dsl to translate<br>
          them.<br>
          I know I can just copy and paste .dslr file and .dsl file.
          However, the<br>
          problem is that<br>
          I call external function within .dsl file and when I try to
          validate the<br>
          dsl, it complains for not having the method.<br>
          <br>
          ex)<br>
          <br>
          [condition][Trade]xpathMatch "{xpath}"=trade : Trade( type ==<br>
          Trade.TRADE_TYPE ) and eval(
          DslHelper.xmlContentMatches(trade, "{xpath}") )<br>
          <br>
          This is my condition and it has all models like Trade.
          However, it complains<br>
          about not having DslHelper function. This function has so many
          dependencies<br>
          that I cannot upload through POJO jar.<br>
          <br>
          Is there any elegant way to solve this problem?<br>
          <br>
          <br>
          Thanks in advance :)<br>
          <br>
          --<br>
          View this message in context: <a moz-do-not-send="true"
href="http://drools-java-rules-engine.46999.n3.nabble.com/Importing-existing-dslr-dsl-to-Guvnor-tp2681597p2681597.html"
            target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Importing-existing-dslr-dsl-to-Guvnor-tp2681597p2681597.html</a><br>
          Sent from the Drools - User mailing list archive at
          Nabble.com.<br>
          <br>
          <br>
          ------------------------------<br>
          <br>
          Message: 2<br>
          Date: Tue, 15 Mar 2011 10:24:40 -0400<br>
          From: Tihomir Surdilovic &lt;<a moz-do-not-send="true"
            href="mailto:tsurdilo@redhat.com">tsurdilo@redhat.com</a>&gt;<br>
          Subject: Re: [rules-users] A question about using "lane" in<br>
          &nbsp; &nbsp; &nbsp; &nbsp;Drools-flow<br>
          To: <a moz-do-not-send="true"
            href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
          Message-ID: &lt;<a moz-do-not-send="true"
            href="mailto:4D7F76A8.5030108@redhat.com">4D7F76A8.5030108@redhat.com</a>&gt;<br>
          Content-Type: text/plain; charset="iso-8859-1"<br>
          <br>
          On 3/14/11 9:27 PM, Wen Yao wrote:<br>
          &gt; Hi,<br>
          &gt;<br>
          &gt; When I was working on a project using Drools-flow, I had
          some problems<br>
          &gt; with the "lane" and "laneset".<br>
          &gt;<br>
          &gt; 1. In eclipse, I used the Flow editor to create a process
          and add some<br>
          &gt; swimlanes. When I tried to run it, it always had this
          error:<br>
          &gt; org.xml.sax.SAXParseException: &lt;lane&gt; is after an
          invalid element:<br>
          &gt; org.drools.xml.Handler<br>
          &gt; Then I looked into the XML file and changed the following
          code:<br>
          &gt;<br>
          &gt; &lt;laneSet&gt;<br>
          &gt; &lt;lane name="Patient" &gt;<br>
          &gt; &lt;/lane&gt;<br>
          &gt; &lt;lane name="Doctor" &gt;<br>
          &gt; &lt;/lane&gt;<br>
          &gt; &lt;/laneSet&gt;<br>
          &gt;<br>
          &gt; to:<br>
          &gt; &lt;laneSet&gt;<br>
          &gt; &lt;lane name="Patient" &gt;<br>
          &gt; &lt;/lane&gt;<br>
          &gt; &lt;/laneSet&gt;<br>
          &gt; &lt;laneSet&gt;<br>
          &gt; &lt;lane name="Doctor" &gt;<br>
          &gt; &lt;/lane&gt;<br>
          &gt; &lt;/laneSet&gt;<br>
          &gt; It worked. Could you explain why?<br>
          <br>
          Are you using jbpm-5.0-Final? I am not able to reproduce the
          mentioned<br>
          error. Upload your bpmn2 please.<br>
          &gt;<br>
          &gt; 2. I created a process in the web-based oryx designer
          with a pool that<br>
          &gt; contains several lanes. Then I imported this file in
          Eclipse, which<br>
          &gt; cannot open it correctly because of the lane issue, since
          the format<br>
          &gt; in oryx exported file is like this:<br>
          &gt; &lt;laneSet id="XXX"&gt;<br>
          &gt; &lt;lane name="Patient" &gt;<br>
          &gt; &lt;/lane&gt;<br>
          &gt; &lt;lane name="Doctor" &gt;<br>
          &gt; &lt;/lane&gt;<br>
          &gt; &lt;/laneSet&gt;<br>
          Oryx follows the bpmn2 schema correctly.<br>
          &gt;<br>
          &gt; 3. The bpmn file I created in Eclipse, although validated
          to be<br>
          &gt; correct, cannot be imported in Oryx. I am wondering
          whether it can be<br>
          &gt; done this way.<br>
          Is this after you made your custom xml changes?<br>
          &gt;<br>
          &gt; Could you kindly address my concerns?<br>
          &gt;<br>
          &gt; Thank you very much!<br>
          &gt;<br>
          &gt;<br>
          &gt;<br>
          &gt; Best regards,<br>
          &gt; ----<br>
          &gt; Wen<br>
          &gt;<br>
          &gt;<br>
          &gt; _______________________________________________<br>
          &gt; rules-users mailing list<br>
          &gt; <a moz-do-not-send="true"
            href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
          &gt; <a moz-do-not-send="true"
            href="https://lists.jboss.org/mailman/listinfo/rules-users"
            target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
          <br>
          -------------- next part --------------<br>
          An HTML attachment was scrubbed...<br>
          URL: <a moz-do-not-send="true"
href="http://lists.jboss.org/pipermail/rules-users/attachments/20110315/9a11773c/attachment-0001.html"
            target="_blank">http://lists.jboss.org/pipermail/rules-users/attachments/20110315/9a11773c/attachment-0001.html</a><br>
          <br>
          ------------------------------<br>
          <br>
          _______________________________________________<br>
          rules-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
          <a moz-do-not-send="true"
            href="https://lists.jboss.org/mailman/listinfo/rules-users"
            target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
          <br>
          <br>
          End of rules-users Digest, Vol 52, Issue 67<br>
          *******************************************<br>
        </blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>