* Matthew Toseland <toad at amphibian.dyndns.org> [2006-07-03 16:26:44]:

> What was the problem?

That you get a NoClassDefFound ERROR from the linker ... as it's not an
exception, it's not catchable imo.

The solution is to use the classloader and to try to load it before
trying to access it. I just don't know how to do it :) I'll rtfm when I
get around it

NextGen$

> 
> On Sun, Jul 02, 2006 at 07:24:53PM +0000, nextgens at freenetproject.org 
> wrote:
> > Author: nextgens
> > Date: 2006-07-02 19:24:51 +0000 (Sun, 02 Jul 2006)
> > New Revision: 9430
> > 
> > Modified:
> >    trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
> > Log:
> > don't display the version number of freenet-ext : I don't know how to do 
> > backward compatibility ... so I remove it for the time beeing, waiting for 
> > the final architecture of freenet-ext to be designed
> > 
> > Modified: trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
> > ===================================================================
> > --- trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java      
> > 2006-07-02 19:04:00 UTC (rev 9429)
> > +++ trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java      
> > 2006-07-02 19:24:51 UTC (rev 9430)
> > @@ -12,7 +12,6 @@
> >  import freenet.client.InserterException;
> >  import freenet.config.SubConfig;
> >  import freenet.keys.FreenetURI;
> > -import freenet.node.ExtVersion;
> >  import freenet.node.Node;
> >  import freenet.node.Version;
> >  import freenet.node.useralerts.UserAlert;
> > @@ -415,16 +414,7 @@
> >             buf.append("</div>\n");
> >             buf.append("<div class=\"infobox-content\">\n");
> >             
> > -           int ExtBuildNumber = -1;
> > -           String ExtVer = null;
> > -           try{
> > -                   ExtBuildNumber = ExtVersion.buildNumber();
> > -                   ExtVer = ExtVersion.cvsRevision;
> > -                   buf.append("Freenet "+Version.nodeVersion+" Build 
> > #"+Version.buildNumber()+" r"+Version.cvsRevision+"<br/>");
> > -                   buf.append("Freenet-ext Build #"+ExtBuildNumber+" 
> > r"+ExtVer+"<br/>");
> > -           }catch(Exception ex){
> > -                   // Compatibility code ... will be removed
> > -           }
> > +           buf.append("Freenet "+Version.nodeVersion+" Build 
> > #"+Version.buildNumber()+" r"+Version.cvsRevision+"<br/>");
> >             
> >             if(Version.buildNumber() < Version.highestSeenBuild && 
> > advancedDarknetOutputEnabled) {
> >                     buf.append("<br />");
> > 
> > _______________________________________________
> > cvs mailing list
> > cvs at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> > 
> 
> -- 
> Matthew J Toseland - toad at amphibian.dyndns.org
> Freenet Project Official Codemonkey - http://freenetproject.org/
> ICTHUS - Nothing is impossible. Our Boss says so.



> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20060703/6ea79109/attachment.pgp>

Reply via email to