• Welcome to KonaKart Community Forum. Please login or sign up.
 

How to Import KONAKART as ECLIPSE project

Started by Dark Saga, July 08, 2008, 05:02:29 pm

Previous topic - Next topic

Dark Saga

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

ming

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

Dark Saga

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 ?

Dark Saga

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

Can you Plize give me more instructions ?

ming

what problems are you having exactly?

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


rula

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

Dark Saga

Thanks Rula ,

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

Tanks a lot

BrianNicholas

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!

superbear

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/

BrianNicholas

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.  :/

BrianNicholas

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?

superbear

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.

BrianNicholas

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!  :)

karthic

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?

ming

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