dev@grizzly.java.net

deployer and php comments

From: Survivant 00 <survivant00_at_gmail.com>
Date: Mon, 29 Jun 2009 18:16:35 -0400

to resume the problem :

the problem with Deployer and PHP is simple (to reproduce). It's related to
the rootFolder.

with PHP the rootfolder should be (rootfolder + context) instead of using
rootfolder like JSP and servlets.

the problem could be fix easily if we could do that with servlets (maybe we
can.. that's why I asked JF to check that.. maybe

http://localhost:8080/warfile/index.jsp
http://localhost:8080/hudson/

actually JSP/servlets
setContextPath(context) // context = warfile
setServletPath(/)
setrootfolder(rootfolder)

PHP
setContextPath(context)
setServletPath(/)
setrootfolder(rootfolder+context)

How can we change the JSP to reflect the syntax for PHP ? (maybe I did
something wrong... I starting Deployer few months ago, and we found some
bugs in http, so I did refactoring to get it to work.. but maybe because the
bugs found are fixed, I need to change a little the code.. that's why I need
your help :) someone other than me :)

to test PHP to reproduce the problem.. use this (because I know that the
problem occurs)

I created a zip file that contains the libraries for JSP and PHP with
applications to tests and xml file to add theses supports. (hudson,
twitter...wordpress (php)

and use -a /demo where are the warfile and wordpress folder is.

the goal.. all theses applications must work in the sametime

http://www.mediafire.com/?sharekey=fc577931a2d88b4119747bd91027d4dd431eab634af4c054