[kaffe] Re: kaffe digest, Vol 1 #748 - 3 msgs

Syed Mudasir ahmed mudasir_1975@yahoo.com
Sun Nov 9 23:09:06 2003


hi,
   i haveing been struggleing to get jetty up with
kaffe, i have patched the FileURLConnection.java in
the ../libraries/javalib/kaffe/net/www/file/*.java
but it is of no use. i am still not able to get it up.
i do not understand what is the problem. the jetty
workis perfectly fine with sun's JAVA,but when i try
to  do with Kaffe is fails with this error
i belive i have gone wrong somewhere in the building
the kaffe.
i get the following error
12:32:41.962 WARN!! Alias request of
'file:/root/jetty/Jetty-4.2.12/demo/webapps/root/' for
'file:/root/jetty/Jetty-4.2.12/demo/webapps/root/'

can  jetty or anyother webserver with servelet support
can run with kaffe.

i have to come to an conclusion about kaffe. or i need
to make big B to take over kaffe. it does then there
is no point of open source
any help will be appricated
thanks in advance
Syed.Mudasir Ahmed
--- kaffe-request@kaffe.org wrote:
> Send kaffe mailing list submissions to
> 	kaffe@kaffe.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> or, via email, send a message with subject or body
> 'help' to
> 	kaffe-request@kaffe.org
> 
> You can reach the person managing the list at
> 	kaffe-admin@kaffe.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of kaffe digest..."
> 
> 
> Today's Topics:
> 
>    1. cannot find libnative (Mark and Janice
> Juszczec)
>    2. Re: Bug Report with partial fix (Atsushi
> Nemoto)
>    3. Re: Bug Report with partial fix (Atsushi
> Nemoto)
> 
> --__--__--
> 
> Message: 1
> From: "Mark and Janice Juszczec"
> <juszczec@hotmail.com>
> To: kaffe@kaffe.org
> Date: Sat, 08 Nov 2003 15:05:28 +0000
> Subject: [kaffe] cannot find libnative
> 
> 
> 
> Hi folks
> 
> For the last couple of years I've been trying to
> create a version of kaffe 
> for use on my mipsel based Helio pda.  It been an on
> again, off again 
> project.
> 
> Well, its on again.
> 
> I've taken three paths.  The first is working with a
> copy of the 
> Transvirtual pocketlinux kaffe source I found buried
> on some ftp site on the 
> net a few months ago.  The second path is trying to
> use the v1.1.0 release 
> of kaffe.  The third is using a prebuilt version I
> got from Transvirtual's 
> pocketlinux website several years ago.
> 
> What started as an attempt to create a java PIM for
> myself has turned into 
> "I'd really like to be able to create my own mipsel
> version of kaffe."  I'll 
> use the prebuilt version only when I get tired of
> hacking the kaffe source.  
> I haven't gotten tired of it yet.
> 
> Anyway,  as of today, the status is:
> 
> 1.  The Transvirtual pocketlinux kaffe source will
> compile for mipsel and I 
> can include/exclude the features I want.  It also
> has the Transvirtual 
> framebuffer awt implementation.  However, it won't
> run.  I've tracked the 
> problem to a call to
> kaffevm/systems/unix-jthreads/internal.c  A call to 
> readdir(DIR* dir) crashes with a signal 11 and I
> can't figure out why.
> 
> 2.  The kaffe v1.1.0 release also compiles for
> mipsel.  I can also 
> include/exclude the features I want.  When it runs,
> it complains about not 
> being able to find libnative.  Based on a quick read
> of the mailing list 
> archive and a look at the generated code, it looks
> like (even when compiled 
> statically) there are a series of libraries kaffe
> needs at run time.  The 
> libnative.a in question is about 2mb.  The pda won't
> hold that much.
> 
> So I've got 2 choices.  Continue to work with the
> Transvirtual source, solve 
> the readdir problem and any others that come up.
> 
> Or, use kaffe v1.1.0 and figure out how to compile
> the required libraries 
> into the kaffe executable.  Then merge the
> Transvirtual framebuffer awt code 
> into kaffe v1.1.0 or v1.2.0 or whichever version
> y'all want.
> 
> I think option 2 is the way to go.  kaffe v1.x is
> actively developed and 
> supported.  Can someone tell me if there is a way
> merge the libraries kaffe 
> needs at run time into the static binary?  Can
> anyone give me any hints as 
> to merging in a new awt implementation?
> 
> Mark
> 
>
_________________________________________________________________
> Frustrated with dial-up? Get high-speed for as low
> as $26.95.  
> https://broadband.msn.com (Prices may vary by
> service area.)
> 
> 
> 
> --__--__--
> 
> Message: 2
> Date: Sun, 09 Nov 2003 00:11:51 +0900 (JST)
> To: robilad@kaffe.org
> Cc: hacker@ross.interwrx.com, kaffe@kaffe.org
> Subject: Re: [kaffe] Bug Report with partial fix
> From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
> 
> Hi.  I'm trying CVS kaffe and found the appletviewer
> does not work and
> just say:
> 
> Warning: no applets were found. Make sure the input
> contains an <applet> tag
> 
> >>>>> On Mon, 27 Oct 2003 17:55:20 +0100, Dalibor
> Topic <robilad@kaffe.org> said:
> 
> robilad> Ross Martin wrote:
> >> Kaffe without patches fails to even load the
> applet.  I've attached
> >> a patch that fixes kaffe/applet/AppletTag.java
> and
> >> java/awt/ImageLoader.java to at least get it to
> the load stage and
> >> display some of the animations.
> 
> robilad> Thanks, I've checked in the patch. Please
> add a small
> robilad> ChangeLog entry next time ;)
> 
> The fix makes a character '/' treated as word
> charactors, so now
> "/applet" is a single word, isn't it?
> 
> ---
>
/usr/local/src/cvs/kaffe/libraries/javalib/kaffe/applet/AppletTag.java
> Tue Oct 28 01:57:02 2003
> +++
> kaffe/libraries/javalib/kaffe/applet/AppletTag.java
> Sat Nov  8 23:51:43 2003
> @@ -275,10 +275,7 @@
>                          currentTag.parseParam(st);
>                      }   // ignore <PARAM> outside
> of <APPLET>
>                  }
> -            } else
> -            if (ttype == '/') {
> -                ttype = st.nextToken();
> -                if (ttype == st.TT_WORD &&
> st.sval.equals("applet")) {
> +                else if ( st.sval.equals(
> "/applet") ) {
>                      tags.addElement(currentTag);
>                      currentTag = null;
>                  }
> 
> ---
> Atsushi Nemoto
> 
> 
> --__--__--
> 
> Message: 3
> Date: Sun, 09 Nov 2003 01:20:09 +0900 (JST)
> To: robilad@kaffe.org
> Cc: hacker@ross.interwrx.com, kaffe@kaffe.org
> Subject: Re: [kaffe] Bug Report with partial fix
> From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
> 
> >>>>> On Sun, 09 Nov 2003 00:11:51 +0900 (JST),
> Atsushi Nemoto <anemo@mba.ocn.ne.jp> said:
> 
> anemo> The fix makes a character '/' treated as word
> charactors, so
> anemo> now "/applet" is a single word, isn't it?
> 
> Sorry, my fix does not work if <param> tag exists. 
> Please ignore the
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree