<div>Hi Shi:</div>
<div> </div>
<div> After unzipping your sample publish.process, I found following dir/files in it:</div>
<div> </div>
<div>classes</div>
<div>gpd.xml</div>
<div>processdefinition.xml</div>
<div>processimage.jpg</div>
<div> </div>
<div>"classes" conatins class files in package: "cn.langhua.opencms.jbpm.publish"</div>
<div> </div>
<div>Then I copied the same dir/files of sample, websale process from Jboss-jBPM JPDL Suite in folder and finally zipped that folder manualy using win-zip tool.</div>
<div> </div>
<div>On deploying it in jBPM-Workflow in OpenCMS Admin: I got the following error:</div>
<div> </div>
<div>[[ERROR] no processdefinition.xml inside process archive]</div>
<div>org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]<br></div>
<div>Then I did the same with your sample, publish.process. I just unizpped it and zipped it back using winzip tool and deployed in opencms Admin. I got the <strong>same</strong> above <strong>error</strong>: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]<br>
</div>
<div>Why it is so? Do I have to change my compressing/zipping mechanism?</div>
<div> </div>
<div>Also, I found below script in your "processdefinition.xml". You have added it in "processdefinition.xml" which I guess was not there in Jboss-jBPM JPDL Suite when you developed publish.process.</div>
<div> </div>
<div>********************************SCRIPT START********************************</div>
<div> <script><br> <expression><br> token.addComment("rootpath=/sites/default/jbpm/");<br> token.addComment("createProject=true");<br> token.addComment("projectPrefix=publish_");<br>
token.addComment("elementdefaultvisibility=write");<br> </expression></div>
<div> </script></div>
<div>********************************SCRIPT END ********************************</div>
<div> </div>
<div>Different script is their in "processdefinition.xml" of websale which you provided as a sample in "jBPM-OpenCms".</div>
<div> </div>
<div>What am I missing?</div>
<div> </div>
<div>Your prompt reply will be highly appreciated!</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div>Bye,</div>
<div>Viki.</div>
<div> </div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Jan 28, 2008 12:34 PM, Shi Yusen <<a href="mailto:shiys@langhua.cn">shiys@langhua.cn</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Glad you reached at this step. The process file is a zip file. Try to<br>unzip to check its content.<br><br>
So the answer is simple: zip it or run an ant command to build it into a<br>zip file, and then upload the zip file in OpenCms jBPM amdin.<br><br>Kind Regards,<br><br>Shi Yusen/Beijing Langhua Ltd.<br><br><br>$B:_(B 2008-01-28$B0lE*(B 11:13 +0300$B!$(BVikrama Sanjeeva$B<LF;!'(B<br>
<div>
<div></div>
<div class="Wj3C7c">><br>> Ok I've downloaded "JBoss jBPM JPDL Suite " and found that sample<br>> publish.process which comes along with jBPM-openCMS is developed in<br>> same suite. Now my problem is that, once I've defined a process in JDL<br>
> suite, how I will import/upload that in jBPM-OpemCMS workflow? I know<br>> there is a button in openCMS Admin for uploading process definition.<br>> But I want to know (after defining porcess in JBoss-jBPM-eclipse) how<br>
> it will be exported from eclipse and then imported in opencms?<br>><br>> I m looking for urgent help in this regard.!!<br>><br>> Thank you!<br>><br>> Bye,<br>> Viki.<br>><br>><br>> On Jan 26, 2008 10:14 PM, Vikrama Sanjeeva <<a href="mailto:viki.sanjeeva@gmail.com">viki.sanjeeva@gmail.com</a>><br>
> wrote:<br>> Hi,<br>><br>> Installed jBPM-OpenCms 3.1.2 workflow in OpneCms 7.0.3.<br>> Then imported sample publish.process workflow in jBPM-OpenCms<br>> and tested how the process works.<br>
><br>> Now, my question is that: How I can define/create new<br>> process/workflow which I can import in jBPM-OpenCms 7.0.3?<br>> Does i need a "tool" for defining jBPM workflows?<br>
><br>> Please advise!<br>><br>> Bye,<br>> Viki.<br>><br></div></div>> _______________________________________________<br>> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
<br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></blockquote>
</div><br>