From: <php...@li...> - 2006-09-12 15:58:05
|
On Sep 12, 2006, at 8:32 AM, php-java-bridge- us...@li... wrote: > Hi, > >> when I want to add >> a single class to >> PEAR in the future, how do I avoid having it go >> through the whole >> process again? > > you could set the bootPath to an empty string in line > 103, see > http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java- > bridge/server/php/java/bridge/Snarf.java?view=annotate&sortby=date > > In the future we should avoid creating stubs if the > files already exist. > That makes sense. > >> I double checked and there is no RT directory like >> you mentioned. > > Thanks. I think the easiest way to fix this is to > check if the created directory contains > java_lang_System.php. If it does and the dir doesn't > have the name "rt", rename it. I have created a ticket > for this bug: > http://sourceforge.net/tracker/index.php? > func=detail&aid=1557227&group_id=117793&atid=679233 > The file "java_lang_System.php" does indeed exist in my "classes" directory. So it looks like it is just a naming issue (at least with Power PC machines). I will have an Intel Mac laptop at the end of the month so can test the same install there to see if there is a difference. >> am not sure how this affect the overall >> installation? > > The Lucene search and Itext PDF examples use something > like: > > require_once("rt/java_lang_System.php"); > require_once("rt/java_awt_Color.php"); > Okay, so it is just an issue with where you do an include. I was concerned that the bridge software itself would look for the "rt" directory and run into problems if it could not find it. > When rt doesn't exist, those examples will not work. > >> to the bridge software because of its name? > > The require_once() in the above examples will fail. > >>> Do you use a power or intel mac? >> I am currently running this on a dual G4 powerPC > > I thought so. There's a chance that the intel macs are > more compatible with the Sun VM. > > Regards, > Jost Boekemeier > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http:// > messenger.yahoo.de > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |