Skip to content

Commit

Permalink
Initial import of official php-java-bridge HEAD sources from sourceforge
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Nov 23, 2015
1 parent 4ed3584 commit 815416e
Show file tree
Hide file tree
Showing 748 changed files with 66,795 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/dist
/bin
/nbproject
/.classpath
/server/META-INF/java/JavaProxy.php
/server/META-INF/java/Java.inc
Expand Down
340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions CREDITS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
VM BRIDGE

Andre Felipe Machado,
Sam Ruby,
Kai Londenberg,
Nandika Jayawardana,
Sanka Samaranayake,
Jost Boekemeier
61 changes: 61 additions & 0 deletions CVS_RELEASE.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#!/bin/sh
set -x
LANG=C

rm -rf [^C][^V][^S]* .??* *~
cvs -Q update -APd
find . -print0 | xargs -0 touch
dirs=`ls -l | grep '^d' | fgrep -v CVS | awk '{print $9}'`
find $dirs -name "CVS" -print | xargs rm -rf

version=`cat VERSION`
ln -s `pwd` php-java-bridge-${version}

# create archive
tar czhf php-java-bridge_${version}.tar.gz --exclude "php-java-bridge-${version}/php-java-bridge[_-]*" --exclude CVS --exclude ".??*" php-java-bridge-${version}

rpmbuild -tb php-java-bridge_${version}.tar.gz
mv ~/rpmbuild/RPMS/i386/php-java-bridge-${version}-1.i386.rpm "./php-java-bridge-${version}-1.fc`cat /etc/issue | sed 1q | awk '{print $3}'`.i386.rpm"
mv ~/rpmbuild/RPMS/i386/php-java-bridge-devel-${version}-1.i386.rpm "./php-java-bridge-devel-${version}-1.fc`cat /etc/issue | sed 1q | awk '{print $3}'`.i386.rpm"

ant clean &&
ant PhpDoc 2>/dev/null >/dev/null &&
ant JavaDoc &&
ant &&
ant SrcZip

cp dist/*.war dist/src.zip .
cp -r php_java_lib tests.php5 tests.jsr223 server

cp JavaBridge.war JavaBridgeTemplate.war
for i in 'META-INF/*' 'WEB-INF/lib/[^pJ]*.jar' 'WEB-INF/lib/poi.jar' 'WEB-INF/cgi/*' 'WEB-INF/web.xml' 'WEB-INF/platform/*' 'locale/*' '*.class' '*.jsp' '*.rpt*' '*.php'; do
zip -d JavaBridgeTemplate.war "$i";
done
cat examples/php+jsp/settings.php >./index.php
echo '<?php phpinfo();?>' >test.php
rm -rf WEB-INF; mkdir WEB-INF
cp server/example-web.xml WEB-INF/web.xml
zip JavaBridgeTemplate.war index.php test.php
zip JavaBridgeTemplate.war WEB-INF/web.xml
zip -d JavaBridgeTemplate.war birtreportlib/
rm -f test.php

cp src.zip README FAQ.html PROTOCOL.TXT INSTALL.STANDALONE INSTALL.J2EE INSTALL.J2SE NEWS documentation
mv examples documentation
mv server documentation
list="documentation/API documentation/examples documentation/README documentation/FAQ.html documentation/PROTOCOL.TXT documentation/INSTALL.J2EE documentation/INSTALL.J2SE documentation/INSTALL.STANDALONE documentation/src.zip documentation/NEWS JavaBridge.war documentation/server/documentation documentation/server/php_java_lib documentation/server/tests.jsr223 documentation/server/tests.php5"
find $list -type d -name "CVS" -print | xargs rm -rf


chmod +x JavaBridge.war

# create j2ee download
zip -q -r php-java-bridge_${version}_documentation.zip $list
mv JavaBridgeTemplate.war "JavaBridgeTemplate`echo ${version}|sed 's/\.//g'`.war"
rm -rf $dirs
cvs -Q update -APd

scp "php-java-bridge_`cat VERSION`_documentation.zip" "JavaBridgeTemplate`echo ${version}|sed 's/\.//g'`.war" jost_boekemeier,[email protected]:"/home/pfs/project/p/ph/php-java-bridge/Binary\ package/php-java-bridge_`cat VERSION`/"
scp dist/Java.inc dist/php-script.jar dist/JavaBridge.jar dist/php-servlet.jar dist/script-api.jar jost_boekemeier,[email protected]:"/home/pfs/project/p/ph/php-java-bridge/Binary\ package/php-java-bridge_`cat VERSION`/exploded/"

scp "php-java-bridge_`cat VERSION`.tar.gz" jost_boekemeier,[email protected]:"/home/pfs/project/p/ph/php-java-bridge/RHEL_FC\ SecurityEnhancedLinux/php-java-bridge_`cat VERSION`/"
Loading

0 comments on commit 815416e

Please sign in to comment.