Hi, listen I've only done this programmaticly before, so here goes...

I think you confusing the type of compilation they talking about... it doesnt compile the whole application, just the JSP files.
You still need to compile your project.

If you look at the netbeans folders, assuming thats what you using, you will see AFTER you have compiled the project that in creates a BUILD folder which holds all the classes and the JSP files. THATS what they want you to point at... and its the JSP's that will be compiled. If you want to, I think you can replace all the class files with the java equivalent, and it will then compile those as well. Products like NB are so good, and incidentally are actually using this exact same method, that to me, its pointless, why not just deploy the WAR file, but ok maybe you want it this way.

SO..

build: MUST point at the output of Netbeans.... the BUILD folder.

ALSO remember that you on windows and you have to use "C" paths.... ie C:\projects\ixania\build IS WRONG.... use C:\\projects\\ixania\\build

webapp: Is simply the full path to the location of your WAR.... again once you have compiled in NB.... the WAR will be located in the DIST folder. Note if you look at the ant script for DEPLOY.... you dont need the BUILD folder if you have the WAR... its already done

path: Is the most interesting.... its the URI or context path of your application.... normally it is the same name as your webapp, and for normal WAR deployment it has to be that way... ie when you drop a WAR into the webapp folder.... but with this it can actually be anything.... so if you type /TESTING/MYAPP When its deployed it will be addressed as http://loacalhost:8080/TESTING/MYAPP/

Naturally you need to install ant put it in your classpath, use run->cmd to get a Dos box, move to the folder with this build script in it, and run ant deploy, or whatever other task you want.

Have fun.....



----- Original Message ----- From: "Skijor" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Saturday, June 09, 2007 5:12 PM
Subject: Tomcat Deployer Problem


Does anyone use the tomcat deployer?  Will someone show me an example
deployer.properties with the following properties defined and where
they map to on your filesystem?  The manual lacks an example and I
can't figure it out from the build.xml file.

build:C:\webapps\ixania\build
webapp:ixania
path:/ixania

Is it correct to put this file at the root of the deployer
installation and try to run it from there? How does the deployer find
the source code using ${build}/webapp${path}?

thanks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to