Re: [Aglets-developer] How can i modify in Tahiti source code.
Status: Beta
Brought to you by:
cat4hire
From: Luca F. <cat...@us...> - 2005-06-13 12:43:01
|
On Monday 13 June 2005 13:25 Ghada Moustafa's cat walking on the keyboard wrote: > Hi all, > > I want to know how i can modify in Tahiti source code such as > MainWindow.java. I tried to modify it on JBuilder and compiled it and put > the class files in it two places: > > first place in \public\com\ibm\aglets\tahiti,but when i run Tahiti there > is no change happen. > > second place in \aglets-2.0.2\lib\aglets-2.0.2.jar,but when i run Tahiti > there is error appeared which is: Exception in thread "main" > java.lang.NoClassDefFoundError: com/ibm/awb/launcher/Main > > Plz i need help in this. > > Thanks. > Dear Ghada, I change the code of the src usually inside an ide (like jbuilder) and run the whole platform within the ide. However, the right way is to compile the class and to add it again in the jar, maybe you make an error importing the right directory tree (i.e., package) in the jar, cause it should not happen the NoClasDefFoundError. Try to list the jar content (I guess it's jar tvf aglets2.02.jar) and search for com/ibm/awb/launcher/Main.class if it absent, you made an error recreating the jar. Luca -- +-------------------------------------------+ Luca Ferrari, cat...@us... The Aglets project: http://aglets.sourceforge.net +-------------------------------------------+ |