Re: [ilugd] problem with openbravo pos

2008-04-14 Thread Puneet Lakhina
On Mon, Apr 14, 2008 at 3:40 AM, Mani A [EMAIL PROTECTED] wrote:

 vaibhav khatavkar wrote :

   its giving error as :
 
   $sh start.sh
   Exception in thread main java.lang.NoClassDefFoundError:
   com/openbravo/pos/forms/StartPOS
 

 Yes, that I remember happened in Kbuntu-7.10 (64-bit) when I tried to
 install the latest OpenOffice (not the ones provided by Kubuntu). It
 is certainly due to something missing as I was successful in the same
 situation on my 64-bit laptop. Try other versions of Java.  Many Java
 developers do not know the difference between JRE and JDK.


The above doesnt seem like a java version issue. Looks more like a classpath
issue. I havent ever used openbravo pos so dont know how it structures the
packages. Could you post the content of start.sh?

Most java developers are IDE blitzed..no knowledge of jdk jre difference is
probably a result of that. but how is that relevant here?




 --
 A. Mani
 Member, Cal. Math. Soc

 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Next Event: http://freed.in - February 22-24, 2008
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/




-- 
Puneet
http://sahyog.blogspot.com/
Latest Post: javac -g
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] problem with openbravo pos

2008-04-14 Thread vaibhav khatavkar
On Mon, Apr 14, 2008 at 12:02 PM, Puneet Lakhina [EMAIL PROTECTED]
wrote:

 On Mon, Apr 14, 2008 at 3:40 AM, Mani A [EMAIL PROTECTED] wrote:

  vaibhav khatavkar wrote :
 
its giving error as :
  
$sh start.sh
Exception in thread main java.lang.NoClassDefFoundError:
com/openbravo/pos/forms/StartPOS
  
 
  Yes, that I remember happened in Kbuntu-7.10 (64-bit) when I tried to
  install the latest OpenOffice (not the ones provided by Kubuntu). It
  is certainly due to something missing as I was successful in the same
  situation on my 64-bit laptop. Try other versions of Java.  Many Java
  developers do not know the difference between JRE and JDK.
 

 The above doesnt seem like a java version issue.

yupe .. i also think same  bcz HelloWorld program runs well

 Looks more like a classpath
 issue.

 regarding class path -  the same application with binaries run well ! why
is it so  ?

Also i tried to run it on windows xp ... same prob. while runing  src
package ..

 I havent ever used openbravo pos so dont know how it structures the
 packages. Could you post the content of start.sh?

Here m attaching start.sh

Most java developers are IDE blitzed..no knowledge of jdk jre difference is
 probably a result of that. but how is that relevant here?


 
 
  --
  A. Mani
  Member, Cal. Math. Soc
 
  ___
  ilugd mailinglist -- ilugd@lists.linux-delhi.org
  http://frodo.hserus.net/mailman/listinfo/ilugd
  Next Event: http://freed.in - February 22-24, 2008
  Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
  http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
 



 --
 Puneet
 http://sahyog.blogspot.com/
 Latest Post: javac -g
 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Next Event: http://freed.in - February 22-24, 2008
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/




-- 
with regards,
vaibhav
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] problem with openbravo pos

2008-04-14 Thread Puneet Lakhina
  The above doesnt seem like a java version issue.

 yupe .. i also think same  bcz HelloWorld program runs well

  Looks more like a classpath
  issue.

  regarding class path -  the same application with binaries run well !
 why
 is it so  ?

 Also i tried to run it on windows xp ... same prob. while runing  src
 package ..


I am just guessing here..but in case its src package, wouldnt you have to
build first and then run it. is there a build.sh or build.xml(ant)?


  I havent ever used openbravo pos so dont know how it structures the
  packages. Could you post the content of start.sh?
 
 Here m attaching start.sh


umm..i think the mailing list doesnt allow attachments, so please paste the
content of start.sh into your post.



 Most java developers are IDE blitzed..no knowledge of jdk jre difference
 is
  probably a result of that. but how is that relevant here?
 
 
  
  
   --
   A. Mani
   Member, Cal. Math. Soc
  
   ___
   ilugd mailinglist -- ilugd@lists.linux-delhi.org
   http://frodo.hserus.net/mailman/listinfo/ilugd
   Next Event: http://freed.in - February 22-24, 2008
   Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
   http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
  
 
 
 
  --
  Puneet
  http://sahyog.blogspot.com/
  Latest Post: javac -g
  ___
  ilugd mailinglist -- ilugd@lists.linux-delhi.org
  http://frodo.hserus.net/mailman/listinfo/ilugd
  Next Event: http://freed.in - February 22-24, 2008
  Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
  http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
 



 --
 with regards,
 vaibhav

 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Next Event: http://freed.in - February 22-24, 2008
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/




-- 
Puneet
http://sahyog.blogspot.com/
Latest Post: javac -g
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] problem with openbravo pos

2008-04-14 Thread vaibhav khatavkar
On Mon, Apr 14, 2008 at 3:51 PM, vaibhav khatavkar 
[EMAIL PROTECTED] wrote:



 On Mon, Apr 14, 2008 at 1:23 PM, Puneet Lakhina [EMAIL PROTECTED]
 wrote:

The above doesnt seem like a java version issue.
  
   yupe .. i also think same  bcz HelloWorld program runs well
  
Looks more like a classpath
issue.
  
regarding class path -  the same application with binaries run well
  !
   why
   is it so  ?
  
   Also i tried to run it on windows xp ... same prob. while runing  src
   package ..
  
 
  I am just guessing here..but in case its src package, wouldnt you have
  to
  build first and then run it. is there a build.sh or build.xml(ant)?

 Yupe .. there is build.xml ... m new to this stuff can u explain me
 roughly that how can i proceed next ??  (there is not much documentation on
 openbravo pos)

 I have following files n directories in my src root dirertory :

 openbravopos_2.00_src$ls
 Base diff.launch build.xml  configure.sh  liblocales
 src-data  src-posstart.sh  build  configure.bat  Head diff.launch
 licensing  src-beans  src-erp   start.bat



 
  
I havent ever used openbravo pos so dont know how it structures the
packages. Could you post the content of start.sh?
   
   Here m attaching start.sh
  
 
  umm..i think the mailing list doesnt allow attachments, so please paste
  the
  content of start.sh into your post.
  here is start.sh  :
 

 CP=openbravopos.jar

 CP=$CP:lib/l2fprod-common-tasks.jar
 CP=$CP:lib/jasperreports-2.0.1.jar
 CP=$CP:lib/jcommon-1.0.0.jar
 CP=$CP:lib/jfreechart-1.0.0.jar
 CP=$CP:lib/jdt-compiler-3.1.1.jar
 CP=$CP:lib/commons-beanutils-1.7.jar
 CP=$CP:lib/commons-digester-1.7.jar
 CP=$CP:lib/itext-1.3.1.jar
 CP=$CP:lib/poi-3.0.1-FINAL-20070705.jar
 CP=$CP:lib/barcode4j-light.jar
 CP=$CP:lib/commons-codec-1.3.jar
 CP=$CP:lib/velocity-1.5.jar
 CP=$CP:lib/oro-2.0.8.jar
 CP=$CP:lib/commons-collections-3.1.jar
 CP=$CP:lib/commons-lang-2.1.jar
 CP=$CP:lib/bsh-core-2.0b4.jar
 CP=$CP:lib/RXTXcomm.jar
 CP=$CP:lib/jpos111.jar
 CP=$CP:lib/substance.jar

 # Apache Axis SOAP libraries.
 CP=$CP:lib/axis.jar
 CP=$CP:lib/jaxrpc.jar
 CP=$CP:lib/saaj.jar
 CP=$CP:lib/wsdl4j-1.5.1.jar
 CP=$CP:lib/commons-discovery-0.2.jar
 CP=$CP:lib/commons-logging-1.0.4.jar

 CP=$CP:locales/

 java -cp $CP -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
 -Djava.library.path=lib/Linux/i686-unknown-linux-gnu
 com.openbravo.pos.forms.StartPOS



 
  
   Most java developers are IDE blitzed..no knowledge of jdk jre
  difference
   is
probably a result of that. but how is that relevant here?
   
   


 --
 A. Mani
 Member, Cal. Math. Soc

 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Next Event: http://freed.in - February 22-24, 2008
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

   
   
   
--
Puneet
http://sahyog.blogspot.com/
Latest Post: javac -g
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
   
  
  
  
   --
   with regards,
   vaibhav
  
   ___
   ilugd mailinglist -- ilugd@lists.linux-delhi.org
   http://frodo.hserus.net/mailman/listinfo/ilugd
   Next Event: http://freed.in - February 22-24, 2008
   Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
   http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
  
  
 
 
  --
  Puneet
  http://sahyog.blogspot.com/
  Latest Post: javac -g
  ___
  ilugd mailinglist -- ilugd@lists.linux-delhi.org
  http://frodo.hserus.net/mailman/listinfo/ilugd
  Next Event: http://freed.in - February 22-24, 2008
  Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
  http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
 



 --
 with regards,
 vaibhav

Hey thanx Puneet ,

  At last I get openbravopos_2.00_src working .. here
are the steps that i followed :

   - In root directory of openbravopos_2.00_src run ant .. it will
   generate openravopos.jar file in build/dist
   - And then just copy this openbravopos.jar file to root directory
   (openbravopos_2.00_src/)
   - run start.sh ... and ur pos starts :)


-- 
with regards,
vaibhav
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/