<div>Hi Shi,</div>
<div> </div>
<div> Is there any username/password for your CVS repository?</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>Bye,</div>
<div>Viki.<br><br></div>
<div class="gmail_quote">On Jan 28, 2008 5:13 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">The publish process is here:<br><a href="http://jbpm-opencms.cvs.sourceforge.net/jbpm-opencms/OpenCms-7.0.2-jBPM-3.1.2/processes/publish/" target="_blank">http://jbpm-opencms.cvs.sourceforge.net/jbpm-opencms/OpenCms-7.0.2-jBPM-3.1.2/processes/publish/</a><br>
You can use cvs client in Eclipse to download the source code.<br><br>You can add your process target in you build.xml, see this as a sample:<br><a href="http://jbpm-opencms.cvs.sourceforge.net/jbpm-opencms/OpenCms-7.0.2-jBPM-3.1.2/build.xml?view=markup" target="_blank">http://jbpm-opencms.cvs.sourceforge.net/jbpm-opencms/OpenCms-7.0.2-jBPM-3.1.2/build.xml?view=markup</a><br>
>From line 141-155 is the compile-publish target which compile and zip<br>the publish.process.<br><br>You can do all of these in your Eclipse.<br>
<div class="Ih2E3d"><br>Regards,<br><br>Shi Yusen/Beijing Langhua Ltd.<br><br></div>$B:_(B 2008-01-28$B0lE*(B 15:29 +0300$B!$(BVikrama Sanjeeva$B<LF;!'(B<br>
<div>
<div></div>
<div class="Wj3C7c">> Hi Shi:<br>><br>> After unzipping your sample publish.process, I found following<br>> dir/files in it:<br>><br>> classes<br>> gpd.xml<br>> processdefinition.xml<br>> processimage.jpg<br>
><br>> "classes" conatins class files in package:<br>> "cn.langhua.opencms.jbpm.publish"<br>><br>> Then I copied the same dir/files of sample, websale process from<br>> Jboss-jBPM JPDL Suite in folder and finally zipped that folder manualy<br>
> using win-zip tool.<br>><br>> On deploying it in jBPM-Workflow in OpenCMS Admin: I got the following<br>> error:<br>><br>> [[ERROR] no processdefinition.xml inside process archive]<br>> org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside<br>
> process archive]<br>><br>> Then I did the same with your sample, publish.process. I just unizpped<br>> it and zipped it back using winzip tool and deployed in opencms Admin.<br>> I got the same above error: org.jbpm.jpdl.JpdlException: [[ERROR] no<br>
> processdefinition.xml inside process archive]<br>><br>> Why it is so? Do I have to change my compressing/zipping mechanism?<br>><br>> Also, I found below script in your "processdefinition.xml". You have<br>
> added it in "processdefinition.xml" which I guess was not there in<br>> Jboss-jBPM JPDL Suite when you developed publish.process.<br>><br>> ********************************SCRIPT<br>> START********************************<br>
> <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><br>> </script><br>
> ********************************SCRIPT END<br>> ********************************<br>><br>> Different script is their in "processdefinition.xml" of websale which<br>> you provided as a sample in "jBPM-OpenCms".<br>
><br>> What am I missing?<br>><br>> Your prompt reply will be highly appreciated!<br>><br>> Thank you.<br>><br>> Bye,<br>> Viki.<br>><br>><br>><br>><br>><br>><br>> On Jan 28, 2008 12:34 PM, Shi Yusen <<a href="mailto:shiys@langhua.cn">shiys@langhua.cn</a>> wrote:<br>
> Glad you reached at this step. The process file is a zip file.<br>> Try to<br>> unzip to check its content.<br>><br>> So the answer is simple: zip it or run an ant command to build<br>
> 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>
><br>> ><br>> > Ok I've downloaded "JBoss jBPM JPDL Suite " and found that<br>> sample<br>> > publish.process which comes along with jBPM-openCMS is<br>
> developed in<br>> > same suite. Now my problem is that, once I've defined a<br>> process in JDL<br>> > suite, how I will import/upload that in jBPM-OpemCMS<br>> workflow? I know<br>
> > there is a button in openCMS Admin for uploading process<br>> definition.<br>> > But I want to know (after defining porcess in<br>> JBoss-jBPM-eclipse) how<br>> > it will be exported from eclipse and then imported in<br>
> 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<br>> <<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<br>> 7.0.3.<br>> > Then imported sample publish.process workflow in<br>
> jBPM-OpenCms<br>> > and tested how the process works.<br>> ><br>> > Now, my question is that: How I can define/create<br>> new<br>> > process/workflow which I can import in jBPM-OpenCms<br>
> 7.0.3?<br>> > Does i need a "tool" for defining jBPM workflows?<br>> ><br>> > Please advise!<br>> ><br>> > Bye,<br>
> > Viki.<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<br>
> 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,<br>> 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>> 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></div>
</div></blockquote></div><br>