You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Hsin-Yu Wang <hy...@nyu.edu> on 2004/03/05 20:30:20 UTC
Help in setting up under window xp
Hi All,
I ran into trouble in setting up pluto under win system.
Please help
Here is the steps that I took to install pluto
thanks a lot
Best Regards
Allen
*********************************************
1. J2SE
1. install j2sdk 1.4 => http://java.sun.com/j2se/
2. set up JAVA_HOME system variable and
3. put JAVA_HOME\bin into Path
4. restart computer
==========================================================
2. Set a default folder,
eg I create a folder: c:\MyPortal as my default
==========================================================
3. Maven
1. download maven => http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-1.0-rc1.zip
2. unzip maven into MyPortal
c:\MyPortal
|
|---maven-1.0-rc1
3. set up MAVEN_HOME variable pointing to the maven-1.0-rc1 folder
4. restart computer so that system variable can take effect
5. run under command line "c:\MyPortal\maven-1.0-rc1\bin\install_repo.bat c:\MyPortal\maven-1.0-rc1\.maven\repository"
6. put MAVEN_HOME\bin into Path
7. restart computer
==========================================================
4. Tomcat 5
1. download tomcat 5 => http://jakarta.apache.org/site/binindex.cgi
2. unzip maven into MyPortal
c:\MyPortal
|
|---maven-1.0-rc1
|---jakarta-tomcat-5.0.19
3. add CATALINA_HOME system variable pointing to c:\MyPortal\jakarta-tomcat-5.0.19
4. restart computer
==========================================================
5. CVS client
1. download cvs client => http://www.cvshome.org/dev/codewindow.html
2. unzip cvs into MyPortal
c:\MyPortal
|
|---maven-1.0-rc1
|---jakarta-tomcat-5.0.19
|---cvs
==========================================================
6. Pluto
1. use cvs to grab the pluto source:
1. "cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login"
2. when prompt password, just press enter
3. "cvs -z3 -d :pserver:anoncvs@csv.apache.org:/home/cvspublic co jakarta-pluto"
4. and it will donwload pluto for you
c:\MyPortal
|
|---maven-1.0-rc1
|---jakarta-tomcat-5.0.19
|---cvs
|---jakarta-pluto
6. copy the jakarta-pluto/build.properties.sample to jakarta-pluto/build.properties
7. edit jakarta-pluto/build.properties
maven.tomcat.home=C:\MyPortal\jakarta-tomcat-5.0.19
maven.tomcat.version.major=5
8. from the jakarta-pluto directory, type: "maven fullDeployment"
=============================================================
ERROR
from the Pluto step 8, after typing "maven fullDeployment",
There will be an error, and I guess the program goes wrong
when converting the path "/" into "\" for win system.
You can see that in line 6 and 7, it's searching for the right path
but in line 10, the path is wrong, "mcat-5.0.19/webapps " should be
"mcat-5.0.19\webapps" in windows.
error----------------------------------------------
1. deployTestsuite:
2. [java] deploying 'testsuite' ...
3. [java] finished!
4. [java] prepare web archive 'testsuite' ...
5. [java] CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested
6. error: java.io.FileNotFoundException: C:MyPortaljakarta-tomcat-5.0.19\webapps\pl
7. uto\WEB-INF\data\xml\portletdefinitionmapping.xml (The system cannot find the pa
8. th specified)
9. [java] java.io.IOException: Failed to load mapping file C:MyPortaljakarta-to
10. mcat-5.0.19/webapps\pluto\WEB-INF\data\xml\portletdefinitionmapping.xml
11. [java] at org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:141)
12. [java] at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:480)
13. BUILD SUCCESSFUL
14. Total time: 34 seconds
15. Finished at: Fri Mar 05 13:28:31 EST 2004
error-------------------------------------------------