The Pluto 1.1 installation instructions given on the web site [1] are
not working for me.  I suspect there's some information missing
concerning specification of the Tomcat installation directory.

The first step (mvn install) runs OK, but the second step has two
problems:  (1) the "cd ../pluto-util" doesn't work in the sequence
given;  I suspect it should be "cd pluto-util", and (2) using this cd
command, running "mvn pluto:install" fails with a non-existemnt
directory error.  A copy of my installation log is below [3].

I think the instructions at [1] should explain how to specify the Tomcat
installation directory (by editing pluto-util/pom.xml? see below).

Also, the issue tracking link at [2] is broken.

That's the bare desription, more details follow...

Initially, I was wondering how Maven would know about my tomcat
installation directory.  I did a little poking about in the pom.xml
files and came up with:
[[
  <configuration>
     <installationDirectory>../../pluto-tomcat</installationDirectory>
  </configuration>
]]
in pluto-util/pom.xml.  Further searching shows references to
${pluto.installation.dir} in file
maven-pluto-plugin/target/classes/META-INF/maven/plugin.xml, which I
take to be where the directory specified above is actually used.  (There
are layers of things going on here that I find hard to follow;  pointers
to relevant documentation would be helpful.)

So I tried editing the pluto-util/pom.xml to reference my Tomcat
installation directory tree  C:/DEV/Apache Software Foundation/Tomcat
5.5/webapps/pluto-tomcat instead of the relative path used previously.
Same error ("Installation Directory C:\DEV\Apache Software
Foundation\Tomcat 5.5\webapps\pluto-tomcat does not exist").

So I create the target directory, and try again.  This appears to
succeed.  But examination of the files suggeststhat they should have
been installed relative to tomcat root.  I delete the files just
installed, change the installation directory to "C:/DEV/Apache Software
Foundation/Tomcat 5.5" and try again.  This works, and this time the new
 Pluto servlets appear in the tomcat management page.

Browsing to http://localhost:8080/pluto-testsuite/ gets me a "Hello
world" display.   (Now how did I run those test cases previously...?)

#g
--

[1] http://portals.apache.org/pluto/1.1/getting-started.html

[2] http://portals.apache.org/pluto/1.1/issue-tracking.html

...

[3] Log of attempted installation per [1]

[[
D:\Work\OxfordCS\Pluto-1.1>cd ..\pluto-util
The system cannot find the path specified.

D:\Work\OxfordCS\Pluto-1.1>cd pluto-util

D:\Work\OxfordCS\Pluto-1.1\pluto-util>mvn pluto:install
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'pluto'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO]
----------------------------------------------------------------------------
[INFO] Building Pluto
[INFO]    task-segment: [pluto:install]
[INFO]
----------------------------------------------------------------------------
[INFO] [pluto:install]
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Installation Directory
D:\Work\OxfordCS\Pluto-1.1\pluto-util\..\..\pluto-tomcat does not exist.
[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Tue Oct 25 11:22:11 BST 2005
[INFO] Final Memory: 3M/7M
[INFO]
----------------------------------------------------------------------------
]]


-- 
Graham Klyne
Research Technology Service
Oxford University Computing Services

Reply via email to