[OSM-dev] OSM Applet

Nick Black nickblack1 at gmail.com
Wed Oct 11 14:05:44 BST 2006


Mean to send this to the list:

Cheers. built successfully with runapplet.sh - after a couple of changes.

1) I had to create a directory:

/var/lib/tomcat4/webapps/api/WEB-INF/lib

2) I had to steal copy xml.jsp from someone's /home/ on dev as its not
in SVN anymore.

Is xml.jsp even needed anymore?

Nick

On 10/11/06, SteveC <steve at asklater.com> wrote:
> * @ 11/10/06 01:05:39 PM nickblack1 at gmail.com wrote:
> > Hello,
> >
> > I've taking a look at the applet source code, and was hoping I could
> > get a couple of tips from anyone who has worked on it, or anyone who
> > has worked on applets before.
> >
> > Using Eclipse as an IDE, there are some immediate problems.  For
> > example, when running the applet within eclipse,  there are problems
> > associated with Applets use of classes like:
> >
> > org.apache.commons.httpclient.UsernamePasswordCredentials
> >
> > that interact with apache, and classes like, JSObject that talk to java script.
> >
> > I can get it running in a pretty hacky way - At the moment I am
> > changing variables like userName, to "myusername" to test the app.  Is
> > this a sensible way to test and debug?  It seems ok for looking at
>
> no, see runappllet.sh
>
> > some aspects of the applet, but what happens when I need to look at
> > the connection to apache - is there some form of emulator/plugin for
> > eclipse (or another IDE) that can deal with these connections?
>
> don't know
>
> > I'd be interested to hear how anyone has gone about running the applet
> > for development - even if the answer is "i dont use an IDE" - in this
>
> you guessed it :-)
>
> > case, how do you log errors, or replicate step-into's, break points
> > etc?  I genreally prefer working in vim to Eclipse or other IDEs, but
> > debugging a java program seems a lot more complex than degbugging
> > ruby?
>
> Syetem.out.println();'s everywhere or the processing provided equiv.
>
> Erm the other thing is to make sure ant is building it...
>
> have fun,
>
> SteveC steve at asklater.com http://www.asklater.com/steve/
>




More information about the dev mailing list