Author Topic: Eclipse project for Programming KonaKart  (Read 31 times)


  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Eclipse project for Programming KonaKart
« on: July 03, 2018, 02:01:59 AM »
Is there an Eclipse project for programming the KonaKart storefront?
How do I load the source code into Eclipse for easy development of the storefront?


  • Administrator
  • Hero Member
  • *****
  • Posts: 267
    • View Profile
    • KonaKart Website
Re: Eclipse project for Programming KonaKart
« Reply #1 on: July 03, 2018, 04:04:00 AM »
Yes, there is a simple way to create an Eclipse project for developing the storefront in Eclipse.

First open a command window in the custom directory of your installation:

(Showing the example on Windows where KonaKart is installed at C:\KonaKart which is the default):

You will see there are actually two Eclipse projects that can be created:

Code: [Select]
PS C:\KonaKart\custom> .\bin\kkant -p | findstr Eclipse
 make_eclipse_project                     Create an Eclipse Project for Developing the Struts-2 Storefront
 make_eclipse_wizard_project              Create an Eclipse Project for Developing the Product Creation Wizard

For developing the storefront you need to run the make_eclipse_project target

When you run the make_eclipse_project target note the additional comments displayed at the end:

Code: [Select]
PS C:\KonaKart\custom> .\bin\kkant make_eclipse_project
Buildfile: C:\KonaKart\custom\build.xml
Trying to override old definition of task javac

     [echo] Create an Eclipse Project for Developing the Struts-2 Storefront
    [mkdir] Created dir: C:\KonaKart\custom\appEngEE\src
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\src
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\build\classes
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\licenses
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\resources
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\WebContent
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\src\com\konakart\bl\modules\others
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\src\com\konakartadmin\modules\others
     [copy] Copying 2 files to C:\KonaKart\custom\kkeclipse
     [copy] Copying 581 files to C:\KonaKart\custom\kkeclipse\src
     [copy] Copying 28 files to C:\KonaKart\custom\kkeclipse\resources
     [copy] Copying 1 file to C:\KonaKart\custom\kkeclipse\licenses
     [copy] Copying 1551 files to C:\KonaKart\custom\kkeclipse\WebContent
     [echo] -----------------------------------------------------------------------------------
     [echo] Eclipse Project Created on disk - called kkeclipse
     [echo] Start Eclipse
     [echo] Create a tomcat server (see 'Servers' in Eclipse)
     [echo] Move the kkeclipse directory to another location for development if you wish
     [echo] Import the kkeclipse project using 'Import existing projects into Workspace'
     [echo] Assign a server for kkeclipse to use (define server under Project Properties)
     [echo] Edit, Debug and Run the KonaKart Storefront in Eclipse!
     [echo] -----------------------------------------------------------------------------------


The numbers of files copied shown in the output will differ depending on the version of KonaKart.