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

can i get the war file?

Started by john_g, October 01, 2007, 11:06:10 pm

Previous topic - Next topic

john_g

Hi,

I would like to have a .war file of Konakart where I can access the action classes and change them. Currently, I am unable to find the action classes to change, so that I can insert my logic. It would be great if some one can provide me the war file with the Ant script to build the war file after making the changes.

I am using this application for a cource project where I need to test the Konakart by running my test cases (black box and white box). For that, I need to access and change the action classes.

Appreciate a quick reply.

Thanks,

John

Brian

Hi John,

If you want a WAR file (although I'm not sure I understand why you need it here), you can just create that from the standard KoanKart kit that you can download.  Just install it and create the WAR file yourself.

All the java sources for the action classes are under "examples" in the download kit.

Certainly for development, why don't you just make an ant script that compiles the actions under examples and writes them to the classes directory rather than bothering with the war file?

Regards,
Brian

john_g

Thanks Brian.

It worked. But, I have a problem here. The "body" of the jsp pages is not getting displayed. Hence, I couldn't do any browsing. Please, let me know how to get around this.

Secondly, in the source code I didn't see the source code for the Admin modules. I would like to change the admin modules accordign to my requirement. I see, you being providing the admin jar files which I can't use to change the code. am i right?

Please, let me know. Appreciate you help.

Thanks,

John

Brian

Hi John,

QuoteThe "body" of the jsp pages is not getting displayed. Hence, I couldn't do any browsing. Please, let me know how to get around this.


Could be the result of any number of things. Check the tomcat log for any exceptions.

QuoteSecondly, in the source code I didn't see the source code for the Admin modules. I would like to change the admin modules accordign to my requirement.


Can you explain what you want to do?

QuoteI see, you being providing the admin jar files which I can't use to change the code. am i right?


Yes there's no source code in those.   

Regards,
Brian

Brian

Hi John,

So you've made some changes and you get at exception.   The next step is for you to start to debug it by looking at the code that it refers to in the exception.


You can easily change the look and feel of the application, you have all the source for that, or you could write your own clients from scratch.

We do not supply the source to the Admin Application and we'd rather you did not change the name anyway.

Brian

Burz

I can report that deployment via war file does work. The only parts of kona I changed were JSPs and some layout config files.