<div>Hi Shi:</div>
<div>  Followed the link and got the source in my eclipse. After that I deleted "auditing.process" and "websale.process" from <strong>build</strong> directory in eclipse and tried to build again by clicking "Run As - Ant Build" on build.xml. I got the following output on eclipse console, but no "<strong>.process</strong>" files are created in<strong> /build/</strong> directory.</div>

<div> </div>
<div>*************************************************build.xml output START*******************************************</div>
<div><font color="#0000ff" size="2">
<p align="left">Buildfile: </p></font><u><font color="#000080" size="2">C:\Documents and Settings\Administrator\workspace\OpenCms-7.0.2-jBPM-3.1.2\build.xml
<p align="left">clean</p></font></u><font color="#0000ff" size="2">:
<p align="left">[</p></font><u><font color="#000080" size="2">delete</font></u><font color="#0000ff" size="2">] Deleting directory C:\Documents and Settings\Administrator\workspace\OpenCms-7.0.2-jBPM-3.1.2\bin</font><u><font color="#000080" size="2">
<p align="left">init</p></font></u><font color="#0000ff" size="2">:</font><font color="#fa6400" size="2">
<p align="left">[</p></font><u><font color="#000080" size="2">echo</font></u><font color="#fa6400" size="2">] Building jbpm-opencms 2.0.2
<p align="left">[echo] </p>
<p align="left">[</p></font><u><font color="#000080" size="2">echo</font></u><font color="#fa6400" size="2">] Working directory is: C:\Documents and Settings\Administrator\workspace\OpenCms-7.0.2-jBPM-3.1.2
<p align="left">[</p></font><u><font color="#000080" size="2">echo</font></u><font color="#fa6400" size="2">] Destination directory is: C:\Documents and Settings\Administrator\workspace\OpenCms-7.0.2-jBPM-3.1.2
<p align="left">[</p></font><u><font color="#000080" size="2">echo</font></u><font color="#fa6400" size="2">] Tomcat home is: d:\apache-tomcat-6.0.2
<p align="left">[echo] </p></font><u><font color="#000080" size="2">
<p align="left">initmsg</p></font></u><font color="#0000ff" size="2">:</font><u><font color="#000080" size="2">
<p align="left">prepare</p></font></u><font color="#0000ff" size="2">:
<p align="left">[</p></font><u><font color="#000080" size="2">mkdir</font></u><font color="#0000ff" size="2">] Created dir: C:\Documents and Settings\Administrator\workspace\OpenCms-7.0.2-jBPM-3.1.2\bin</font><u><font color="#000080" size="2">
<p align="left">compile</p></font></u><font color="#0000ff" size="2">:
<p align="left">[</p></font><u><font color="#000080" size="2">javac</font></u><font color="#0000ff" size="2">] Compiling 30 source files to C:\Documents and Settings\Administrator\workspace\OpenCms-7.0.2-jBPM-3.1.2\bin</font><font color="#fa6400" size="2">
<p align="left">[</p></font><u><font color="#000080" size="2">javac</font></u><font color="#fa6400" size="2">] Note: Some input files use unchecked or unsafe operations.
<p align="left">[</p></font><u><font color="#000080" size="2">javac</font></u><font color="#fa6400" size="2">] Note: Recompile with -Xlint:unchecked for details.</font><font color="#0000ff" size="2">
<p align="left">[</p></font><u><font color="#000080" size="2">copy</font></u><font color="#0000ff" size="2">] Copying 4 files to C:\Documents and Settings\Administrator\workspace\OpenCms-7.0.2-jBPM-3.1.2\bin
<p align="left">BUILD SUCCESSFUL</p>
<p>Total time: 3 seconds</p>
<div>*************************************************build.xml output END*******************************************</div>
<div> </div>
<div>Kindly advise. What am I missing now?</div>
<div> </div>
<div>Thank you!!</div>
<div> </div>
<div>Bye,</div>
<div>Viki.</div></font><br><br></div>
<div class="gmail_quote">On Jan 29, 2008 12: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">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>
<div class="Ih2E3d"><br>Regards,<br><br>Shi Yusen/Beijing Langhua Ltd.<br><br><br></div>$B:_(B 2008-01-29$BFsE*(B 11:06 +0300$B!$(BVikrama Sanjeeva$B<LF;!'(B<br>
<div>
<div></div>
<div class="Wj3C7c">> 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>>         <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<br>>         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<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<LF;!'(B<br>><br>>         > Hi Shi:<br>>         ><br>>         >    After unzipping your sample publish.process, I 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, websale process<br>
>         from<br>>         > Jboss-jBPM JPDL Suite in folder and finally zipped that<br>>         folder manualy<br>>         > using win-zip tool.<br>>         ><br>>         > On deploying it in jBPM-Workflow in OpenCMS Admin: I got the<br>
>         following<br>>         > error:<br>>         ><br>>         > [[ERROR] no processdefinition.xml inside process 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, publish.process. I<br>>         just unizpped<br>>         > it and zipped it back using winzip tool and deployed in<br>
>         opencms Admin.<br>>         > I got the same above error: 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 compressing/zipping<br>>         mechanism?<br>>         ><br>>         > Also, I found below script in your "processdefinition.xml".<br>>         You have<br>
>         > added it in "processdefinition.xml" which I guess was not<br>>         there in<br>>         > Jboss-jBPM JPDL Suite  when you developed publish.process.<br>>         ><br>>         > ********************************SCRIPT<br>
>         > START********************************<br>>         >  <script><br>>         >                <expression><br>>         ><br>>          token.addComment("rootpath=/sites/default/jbpm/");<br>
>         >                token.addComment("createProject=true");<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 "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 <<a href="mailto:shiys@langhua.cn">shiys@langhua.cn</a>><br>
>         wrote:<br>>         >         Glad you reached at this step. The process 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 ant<br>>         command to build<br>>         >         it into a<br>>         >         zip file, and then upload the zip file in 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 Sanjeeva$B<L(B<br>
>         $BF;!'(B<br>>         ><br>>         >         ><br>>         >         > Ok I've downloaded "JBoss jBPM JPDL 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 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 uploading<br>
>         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<br>
>         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<br>>         in OpneCms<br>>         >         7.0.3.<br>>         >         >         Then imported sample publish.process<br>
>         workflow in<br>>         >         jBPM-OpenCms<br>>         >         >         and tested how the process works.<br>>         >         ><br>>         >         >         Now, my question is that: How I can<br>
>         define/create<br>>         >         new<br>>         >         >         process/workflow which I can import in<br>>         jBPM-OpenCms<br>>         >         7.0.3?<br>>         >         >         Does i need a "tool" for defining jBPM<br>
>         workflows?<br>>         >         ><br>>         >         >         Please advise!<br>>         >         ><br>>         >         >         Bye,<br>>         >         >         Viki.<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<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>