|
From: <php...@li...> - 2010-04-23 16:03:37
|
Hi Nicholas,
thank you very much for this bug report. This is a regression.
Please edit your JEE application WEB-INF/web.xml and remove the
"php_include_java" option:
"<!-- the following line conveniently adds
require_once("java/Java.inc") to each PHP script. Remove the line, if
you don't need this feature. -->"
"<init-param><param-name>php_include_java</param-name><param-value>On</param-value></init-param>"
Or please edit java/JavaProxy.php and remove the trailing newline from
it. The JavaProxy.php file should end with:
?> [newline]
not with:
?> [newline]
[newline]
This is a typical PHP problem. Other projects omit the trailing ?>
altogether. We can't do this because the JavaProxy.php may be used to
build larger PHP files:
<?php // code from JavaProxy.php
?>
<?php // code from another PHP file
?>
The bug is in the new build system. Line #17 should be removed from
http://php-java-bridge.cvs.sourceforge.net/viewvc/php-java-bridge/php-java-bridge/server/buildJavaProxy.php?revision=1.1&view=markup
I will fix this bug and re-release version 6.1.2 as 6.1.2.1 next week.
Regards,
Jost Bökemeier
|