KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: Dark Saga on July 08, 2008, 05:02:29 pm

Title: How to Import KONAKART as ECLIPSE project
Post by: Dark Saga on July 08, 2008, 05:02:29 pm
Hi everybody,

I'm very interested in KONAKART customisation ,
and i would like to have some precise instructions in how to create or import konakart open source part as an Eclipse Web Project.

Is there any shared Source Code in a CVS or SVN server that i could use to create my E-com app via KonaKart Customisation .

Thanks ,
YOUSSEF
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: ming on July 08, 2008, 05:11:10 pm
Hi,

Does this help?

http://www.konakart.com/forum/index.php/topic,331.msg1538.html#msg1538


(There's no SVN server - you have to download the source in the installation kit)

Ming
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: Dark Saga on July 08, 2008, 05:15:00 pm
thanks
I've already seen this topic and then i tried but i've got too much problems exuting the build.xml

Is there more instructions ?
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: Dark Saga on July 08, 2008, 05:21:16 pm
(There's no SVN server - you have to download the source in the installation kit)

Can you Plize give me more instructions ?
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: ming on July 08, 2008, 05:24:15 pm
what problems are you having exactly?

you have the ant build file - does that help you?

Title: Re: How to Import KONAKART as ECLIPSE project
Post by: rula on July 09, 2008, 08:44:28 pm
Hi konakarts,

here my way to run konakart in eclipse(3.3.0) with tomcat(5.5.25) and (sysdeo plugin)
1.create a java project

2.install konakart into this project folder of your eclipse workspace

3.make
custom/appn/src
custom/adminengine/src
custom/engine/src
custom/modules/src
to src-folders

4.set jars from
konakart/Web-INF/lib
konakartadmin/Web-INF/lib
birt-viewer/Web-INF/lib
and(from tomcat/common/lib)
jsp-api
servlet-api
to build path

This works for me.

regards, rula
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: Dark Saga on July 16, 2008, 10:45:50 am
Thanks Rula ,

It's fine , that's what i was looking for

Tanks a lot
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: BrianNicholas on March 08, 2012, 09:48:48 am
Hello there.

I do not quite get what you guys mean on how to import or connect KonaKart to Eclipse.
I have created a dynamic web project in Eclipse. Then where do I go from here?
Could you guide me as I have never touched Java codings and Eclipse before.

Thanks a lot in advanced!
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: superbear on March 08, 2012, 11:23:26 am
Don't get me wrong, but if you new to Java, I think you will have a lot of problems, even if you get the project imported correctly.

But here are some guides:
When you download Konakart, there is a custom folder with a file called build.xml in it. You can use ANT to build an storefront eclipse project.

Just open your command line go to the konakart custom folder and type:

bin/kkant make_eclipse_project

press enter. This will generate an eclipse project, which you can import to Eclipse using Import > Existing Project into workspace.
You do not have to create a Dynamic Web Project yourself!!!

Hope this helps you getting started.

ANT http://ant.apache.org/
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: BrianNicholas on March 12, 2012, 03:24:43 am
Thanks a lot superbear!  :)
I'll try to use ANT and hope to get it working by the end of this week (hopefully!). Hope it  will work alright for me.  :/
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: BrianNicholas on March 12, 2012, 04:10:42 am
Hi there Superbear!

I do not quite get what you mean by this:

QuoteJust open your command line go to the konakart custom folder and type:

bin/kkant make_eclipse_project


What is or where is my command line? How do I get to my command line?
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: superbear on March 12, 2012, 10:16:43 am
When you are using windows just do this:

press windows key + R
a dialog appears telling you to run a command
type cmd and press enter

now there is a black window with white text. Thats the command line.

you can list the content of the current directory by typing:
dir

you can change to a deeper directory by typing:
cd directoryToChangeTo

you can change to a higher directory by typing:
cd ..

you can switch the harddrive by typing:

cd <driveLetter:>
e.g.:

cd C:
cd D:
...

with these commands go to the konakart custom directory.

maybe you want to google for windows and command line (cmd). To get more help.
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: BrianNicholas on March 14, 2012, 03:42:39 am
Quote from: rula on July 09, 2008, 08:44:28 pm
Hi konakarts,

here my way to run konakart in eclipse(3.3.0) with tomcat(5.5.25) and (sysdeo plugin)
1.create a java project

2.install konakart into this project folder of your eclipse workspace

3.make
custom/appn/src
custom/adminengine/src
custom/engine/src
custom/modules/src
to src-folders

4.set jars from
konakart/Web-INF/lib
konakartadmin/Web-INF/lib
birt-viewer/Web-INF/lib
and(from tomcat/common/lib)
jsp-api
servlet-api
to build path

This works for me.

regards, rula


Hi Rula !

I am wondering how do you have any detailed steps to set jars from Step 4 on wards? And I have also seen many people in the forum talking about the build.xml file. How do I put it into my project in the Eclipse workspace and actually run it?

Thank you so much for your much appreciated help!  :)
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: karthic on March 25, 2013, 06:46:48 am
Hi superbear, i am trying to import the project as you said, but the command line says an error "build.xml does not exist". How to resolve this? Any ideas?
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: ming on March 28, 2013, 11:55:49 am
sounds like you're in the wrong directory.  Issue a DIR command (or ls if you're on Linux) and see if you can see a build.xml file
Title: Re: How to Import KONAKART as ECLIPSE project
Post by: karthic on March 29, 2013, 06:23:06 am
Hi Administrator, fixed it. Its just a command line problem. I have used this and it works "bin\kkant make_eclipse_project". Thanks for your reply.