<div>Hi Shi:</div>
<div> </div>
<div> Thanks you so much for helping! Its working now. </div>
<div> </div>
<div>I think my eclipse enviornment for developing "opencms-compatible jbpm-jdl process" is now configured? What do you say? Means, I could define process under <strong>/process</strong> dir in eclipse, build using ant and finally deploy MyProcess.process in opencms?</div>
<div> </div>
<div> </div>
<div>Bye</div>
<div>Viki. </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">On Jan 29, 2008 3:45 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 output said you ran clean, init, initmsg, prepare and compile. The<br>compile is default target.<br><br>
Run As -> Ant Build ... -> select compile-publish, and run<br>Good luck,<br>
<div class="Ih2E3d"><br>Shi Yusen/Beijing Langhua Ltd.<br><br><br></div>$B:_(B 2008-01-29$BFsE*(B 14:03 +0300$B!$(BVikrama Sanjeeva$B<LF;!'(B<br>
<div>
<div></div>
<div class="Wj3C7c">> Hi Shi:<br>> Followed the link and got the source in my eclipse. After that I<br>> deleted "auditing.process" and "websale.process" from build directory<br>> in eclipse and tried to build again by clicking "Run As - Ant Build"<br>
> on build.xml. I got the following output on eclipse console, but no<br>> ".process" files are created in /build/ directory.<br>><br>> *************************************************build.xml output<br>
> START*******************************************<br>> Buildfile:<br>><br>> C:\Documents and Settings\Administrator\workspace<br>> \OpenCms-7.0.2-jBPM-3.1.2\build.xml<br>><br>> clean<br>><br>> :<br>
><br>> [<br>><br>> delete] Deleting directory C:\Documents and Settings\Administrator<br>> \workspace\OpenCms-7.0.2-jBPM-3.1.2\bin<br>><br>> init<br>><br>> :<br>><br>> [<br>><br>> echo] Building jbpm-opencms 2.0.2<br>
><br>> [echo]<br>><br>> [<br>><br>> echo] Working directory is: C:\Documents and Settings\Administrator<br>> \workspace\OpenCms-7.0.2-jBPM-3.1.2<br>><br>> [<br>><br>> echo] Destination directory is: C:\Documents and Settings<br>
> \Administrator\workspace\OpenCms-7.0.2-jBPM-3.1.2<br>><br>> [<br>><br>> echo] Tomcat home is: d:\apache-tomcat-6.0.2<br>><br>> [echo]<br>><br>> initmsg<br>><br>> :<br>><br>> prepare<br>
><br>> :<br>><br>> [<br>><br>> mkdir] Created dir: C:\Documents and Settings\Administrator\workspace<br>> \OpenCms-7.0.2-jBPM-3.1.2\bin<br>><br>> compile<br>><br>> :<br>><br>> [<br>><br>
> javac] Compiling 30 source files to C:\Documents and Settings<br>> \Administrator\workspace\OpenCms-7.0.2-jBPM-3.1.2\bin<br>><br>> [<br>><br>> javac] Note: Some input files use unchecked or unsafe operations.<br>
><br>> [<br>><br>> javac] Note: Recompile with -Xlint:unchecked for details.<br>><br>> [<br>><br>> copy] Copying 4 files to C:\Documents and Settings\Administrator<br>> \workspace\OpenCms-7.0.2-jBPM-3.1.2\bin<br>
><br>> BUILD SUCCESSFUL<br>><br>> Total time: 3 seconds<br>><br>> *************************************************build.xml output<br>> END*******************************************<br>><br>> Kindly advise. What am I missing now?<br>
><br>> Thank you!!<br>><br>> Bye,<br>> Viki.<br>><br>><br>><br>> On Jan 29, 2008 12:13 PM, Shi Yusen <<a href="mailto:shiys@langhua.cn">shiys@langhua.cn</a>> wrote:<br>> Here is a howto:<br>
> <a href="http://sourceforge.net/cvs/?group_id=166365" target="_blank">http://sourceforge.net/cvs/?group_id=166365</a><br>><br>> In brief, use anonymous to login.<br>><br>> Regards,<br>
><br>> Shi Yusen/Beijing Langhua Ltd.<br>><br>><br>><br>> $B:_(B 2008-01-29$BFsE*(B 11:06 +0300$B!$(BVikrama Sanjeeva$B<LF;!'(B<br>><br>> > Hi Shi,<br>> ><br>> > Is there any username/password for your CVS repository?<br>
> ><br>> > Thanks<br>> ><br>> > Bye,<br>> > Viki.<br>> ><br>> ><br>> > On Jan 28, 2008 5:13 PM, Shi Yusen <<a href="mailto:shiys@langhua.cn">shiys@langhua.cn</a>> wrote:<br>
> > The publish process is here:<br>> ><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<br>> source code.<br>> ><br>> > You can add your process target in you build.xml,<br>> see this as<br>
> > a sample:<br>> ><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<br>> which compile<br>> > and zip<br>> > the publish.process.<br>> ><br>> > You can do all of these in your Eclipse.<br>
> ><br>> > Regards,<br>> ><br>> > Shi Yusen/Beijing Langhua Ltd.<br>> ><br>> ><br>> > $B:_(B 2008-01-28$B0lE*(B 15:29 +0300$B!$(BVikrama Sanjeeva$B<L(B<br>
> $BF;!'(B<br>> ><br>> > > Hi Shi:<br>> > ><br>> > > After unzipping your sample publish.process, I<br>> found<br>
> > 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,<br>> websale process<br>> > from<br>> > > Jboss-jBPM JPDL Suite in folder and finally zipped<br>
> that<br>> > folder manualy<br>> > > using win-zip tool.<br>> > ><br>> > > On deploying it in jBPM-Workflow in OpenCMS Admin:<br>
> I got the<br>> > following<br>> > > error:<br>> > ><br>> > > [[ERROR] no processdefinition.xml inside process<br>
> archive]<br>> > > org.jbpm.jpdl.JpdlException: [[ERROR] no<br>> > processdefinition.xml inside<br>> > > process archive]<br>> > ><br>
> > > Then I did the same with your sample,<br>> publish.process. I<br>> > just unizpped<br>> > > it and zipped it back using winzip tool and<br>
> deployed in<br>> > opencms Admin.<br>> > > I got the same above error:<br>> org.jbpm.jpdl.JpdlException:<br>> > [[ERROR] no<br>> > > processdefinition.xml inside process archive]<br>
> > ><br>> > > Why it is so? Do I have to change my<br>> compressing/zipping<br>> > mechanism?<br>> > ><br>> > > Also, I found below script in your<br>
> "processdefinition.xml".<br>> > You have<br>> > > added it in "processdefinition.xml" which I guess<br>> was not<br>> > there in<br>
> > > Jboss-jBPM JPDL Suite when you developed<br>> publish.process.<br>> > ><br>> > > ********************************SCRIPT<br>> > > START********************************<br>
> > > <script><br>> > > <expression><br>> > ><br>> > token.addComment("rootpath=/sites/default/jbpm/");<br>
> > ><br>> token.addComment("createProject=true");<br>> > ><br>> token.addComment("projectPrefix=publish_");<br>> > ><br>
> > token.addComment("elementdefaultvisibility=write");<br>> > > </expression><br>> > > </script><br>> > > ********************************SCRIPT END<br>
> > > ********************************<br>> > ><br>> > > Different script is their in<br>> "processdefinition.xml" of<br>> > 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<br>
> <<a href="mailto:shiys@langhua.cn">shiys@langhua.cn</a>><br>> > wrote:<br>> > > Glad you reached at this step. The process<br>> file is a<br>
> > zip file.<br>> > > Try to<br>> > > unzip to check its content.<br>> > ><br>> > > So the answer is simple: zip it or run an<br>
> ant<br>> > command to build<br>> > > it into a<br>> > > zip file, and then upload the zip file in<br>> OpenCms<br>
> > 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<br>> Sanjeeva$B<L(B<br>> > $BF;!'(B<br>> > ><br>
> > > ><br>> > > > Ok I've downloaded "JBoss jBPM JPDL<br>> Suite " and<br>> > found that<br>> > > sample<br>
> > > > publish.process which comes along with<br>> > jBPM-openCMS is<br>> > > developed in<br>> > > > same suite. Now my problem is that, once<br>
> I've<br>> > defined a<br>> > > process in JDL<br>> > > > suite, how I will import/upload that in<br>> > jBPM-OpemCMS<br>
> > > workflow? I know<br>> > > > there is a button in openCMS Admin for<br>> uploading<br>> > process<br>> > > definition.<br>
> > > > But I want to know (after defining<br>> porcess in<br>> > > JBoss-jBPM-eclipse) how<br>> > > > it will be exported from eclipse and<br>
> then imported<br>> > in<br>> > > opencms?<br>> > > ><br>> > > > I m looking for urgent help in this<br>
> regard.!!<br>> > > ><br>> > > > Thank you!<br>> > > ><br>> > > > Bye,<br>
> > > > Viki.<br>> > > ><br>> > > ><br>> > > > On Jan 26, 2008 10:14 PM, Vikrama<br>
> 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<br>> workflow<br>> > in OpneCms<br>> > > 7.0.3.<br>
> > > > Then imported sample<br>> publish.process<br>> > workflow in<br>> > > jBPM-OpenCms<br>> > > > and tested how the process<br>
> works.<br>> > > ><br>> > > > Now, my question is that: How I<br>> can<br>> > define/create<br>> > > new<br>
> > > > process/workflow which I can<br>> import in<br>> > jBPM-OpenCms<br>> > > 7.0.3?<br>> > > > Does i need a "tool" for<br>
> defining jBPM<br>> > workflows?<br>> > > ><br>> > > > Please advise!<br>> > > ><br>
> > > > Bye,<br>> > > > Viki.<br>> > > ><br>> > ><br>> > > ><br>
> _______________________________________________<br>> > > > This mail is sent to you from the<br>> opencms-dev<br>> > mailing list<br>> > > > To change your list options, or to<br>
> unsubscribe<br>> > from the<br>> > > list, please visit<br>> > > ><br>> ><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>> _______________________________________________<br>> > > This mail is sent to you from the<br>
> opencms-dev<br>> > mailing list<br>> > > To change your list options, or to<br>> unsubscribe from<br>> > the list,<br>> > > please visit<br>
> > ><br>> ><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<br>> mailing list<br>> > > To change your list options, or to unsubscribe<br>
> from the<br>> > list, please visit<br>> > ><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<br>> mailing list<br>
> > To change your list options, or to unsubscribe from<br>> the list,<br>> > please visit<br>> ><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<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>