If possible, it would be better to use relative paths, like
./images/hello.gif or ./css/default.css
Otherwise, if it starts with a / then the whole webapp name has to be
included (at least that is true for WebSphere). And this sort of defeats
the whole purpose of war files, IHMO.
Carol
"Stephan Hesmer"
<[EMAIL PROTECTED] To: "JetSpeed"
<[EMAIL PROTECTED]>
om> cc:
Sent by: Subject: Re: WAR support, part 2
<[EMAIL PROTECTED]
-dogs.com>
12/13/2000 09:03 AM
Please respond to
"JetSpeed"
Raphael,
it seems, that there are a lot of directories in the properties files and
xsl/rss files, that are still corrupted.
Second, you changed all directories to the images to "images/hello.gif",
but
it should be "/images/hello.gif". With Velocity/ECS it is working without
slash, but if you use the jsp service it won't work anymore.
Can you have a look at it.
Thanks
Stephan
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "JetSpeed" <[EMAIL PROTECTED]>
Sent: Tuesday, December 12, 2000 1:14 AM
Subject: WAR support, part 2
OK, I've stabilized the WAR support and it's now ready for testing:
Using the WAR:
1. checkout the source and go to the build directory
cd <jetspeedRoot>/build
2. build
[Win32/DOS] .\build webapp
[Win32/cygnus] bash build.sh webapp
[unix] ./build.sh webapp
3. get a servlet 2.2 runner like tomcat
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2/bin/
4. unzip the tomcat distribution
5. copy the jetspeed WAR file to the Tomcat webapps directory
[Win32] copy <jetspeedRoot>\bin\jetspeed.jar <tomcat_home>\webapps\
[Unix] cp <jetspeedRoot>/bin/jetspeed.jar <tomcat_home>/webapps/
6. start Tomcat
[Win32] <tomcat_home>\bin\startup.bat
[Unix] <tomcat_home>/bin/startup.sh
7. Connect to Jetspeed
http://localhost:8080/jetspeed/
There are 2 default accounts created:
Login: turbine Password: turbine
Login: admin Password: jetspeed
7a. If you want the registration to work and you're on NT without a local
SMTP
server:
- either download a free SMTP server implementation and install it on
your
computer.
For example: http://java.apache.org/james/
- or modify the mailhost setting in
<tomcat_home>/webapps/jetspeed/WEB-INF/conf/TurbineResources.properties
I'll strangle the next one who'll ask how to install Jetspeed... :)
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]