From: <php...@li...> - 2006-09-11 18:33:06
|
On Sep 11, 2006, at 9:38 AM, php-java-bridge-=20 us...@li... wrote: > Hi, > > first of all thank you very much for the feedback. > >> non-zts-20050922/JavaBridge.jar --convert >> This ran for about 4 minutes before completing. > > It creates PHP proxies for the classes found in boot > classpath and for the additional libraries specified > on the command line. Depending on how many classes it > has to convert and how fast your machine/VM is, this > may take some time. On my devel. machine the command > completes in less than two seconds. But even 4 minutes > shouldn't be a problem because one usually calls this > command once; during installation. > Okay, that makes sense, although when I want to add a single class to =20= PEAR in the future, how do I avoid having it go through the whole =20 process again? >> directory (/urs/local/php5/lib/php) and found >> several new directories: > >> charsets >> classes >> jce >> jsse >> laf >> ui > > These are created from the essential .jar files from > the boot classpath. But rt is missing for some reason, > doesn't the apple VM store the runtime into rt.jar? > If not, we have a portability problem -- all other JVM > implementations I've looked at (among them IBM, Sun, > GNU) keep the base classes in rt.jar. > > I double checked and tthere is no RT directory like you mentioned. I =20= am not sure how this affect the overall installation? Are you saying =20= that the stubs created in my "classes" directory may not be visible =20 to the bridge software because of its name? >> And the "classes" directory is >> HUGE. > > That must be the rt then. This means that we have to > add code which tries to detect the apple VM and rename > the "classes" directory into the standard name "rt". > Do you use a power or intel mac? > I am currently running this on a dual G4 powerPC and will also be =20 installing this on a dual G5 Xserve server, once I understand how to =20 use the bridge properly. > >> It looks >> like it has thousands of items (are these classes >> too)? > > Yes, the directory contains java_lang_String.php and > the like. > > >> My questions are: >> 1) What are all those other directories for when I >> only asked for my >> sample class to be made into a PEAR class? > > They're created for convenience. > > > Regards, > Jost Boekemeier > > > > =09 > > =09 > =09 > ___________________________________________________________ > Der fr=FChe Vogel f=E4ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! = =20 > Mail: http://mail.yahoo.de > > ----------------------------------------------------------------------=20= > --- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |