KonaKart Community Forum

Installation / Configuration => Installation of KonaKart => Topic started by: BruceLee on October 18, 2007, 02:20:38 am

Title: How to compile the examples
Post by: BruceLee on October 18, 2007, 02:20:38 am
Dear Team,

I noticed there is build.xml for soapexamples.

Do you also provide an easy way to compile other examples like InsertOrder, using POJO API?

Thanks in advance!
-Bruce
Title: Re: How to compile the examples
Post by: Brian on October 18, 2007, 05:51:40 am
Hi Bruce,

We don't provide a build.xml for those particular examples but could add one in a future release.  It would not be hard for a developer to create one and copy the resulting class files to where he wants them.

Brian
Title: Re: How to compile the examples
Post by: BruceLee on October 18, 2007, 05:28:14 pm
We pulled the KK libs, and InsertOrder sample code to our app. The compilation was OK. However we got errors when running it:
java.util.MissingResourceException: Can't find bundle for base name com.konakart.bl.modules.shipping.flat.Flat, locale en
...
java.util.MissingResourceException: Can't find bundle for base name com.konakart.bl.modules.payment.chronopay.Chronopay, locale en


I checked kk admin, the Shipping and Payment modules are all enabled and Order is 0. Attached our test .java and Tomcat logs. We'd really appreciate your ideas!  8)

-Bruce
Title: Re: How to compile the examples
Post by: Brian on October 18, 2007, 05:44:21 pm
Hi Bruce,

It looks like your program cannot find the properties files for the modules.

Make sure they're on your classpath.

You'll find them under the webapps in the standard product.
eg: the Authorize.Net properties files are here:

/KonaKart/webapps/konakart/WEB-INF/classes/com/konakart/bl/modules/payment/authorizenet

Regards,
Brian
Title: Re: How to compile the examples
Post by: BruceLee on October 18, 2007, 09:36:47 pm
It rocks! :D
Now the only thing is I need to figure out how to auto copy /WEB-INF/classes/com/konakart to Tomcat webapps at deployment time. We use 'ant deploy'

Thank Brian saving us bunch of time.
-Bruce
Title: Re: How to compile the examples
Post by: paolo on October 19, 2007, 09:31:35 am
Hi Bruce,

I'm happy to see that our Forum support is helping you to move forwards. Please send us a link as soon as you have something up and running so that we can include it in our "Live Sites" section and don't forget to leave the "Powered by KonaKart" link at the bottom of your page  :)

Regards,

Paolo