forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Springer, Ian P." <ian.sprin...@hp.com>
Subject RE: bin/ subdir missing from 0.6 dist
Date Tue, 09 Nov 2004 19:37:20 GMT
It did find the exectuable. It found the 0.5.1 exectuable which was
already in my PATH. You should change the instructions to specify that
it should be added to the head of your PATH.

I think I was unclear as to what the steps below are meant o accomplish.
I thought you were saying that they would generate a bin/ subdir under
my Forrest installation dir, but after running it successfully, it looks
like it just generates the Forrest website. So I guess the main point is
that I need to set FORREST_HOME to C:\opt\forrest0.6\src\core, as
opposed to C:\opt\forrest0.6, as I did for Forrest 0.5.1..

Ian

| -----Original Message-----
| From: Ross Gardler [mailto:rgardler@apache.org] 
| Sent: Tuesday, November 09, 2004 2:18 PM
| To: dev@forrest.apache.org
| Subject: Re: bin/ subdir missing from 0.6 dist
| 
| Springer, Ian P. wrote:
| > I tried this and got an error. Here's the output:
| > 
| > C:\opt\forrest0.6>build
| 
| <snip/>
| 
| >   *-----------------------------------------------------------------
| >   | Installation notice
| >   *-----------------------------------------------------------------
| >   | You have built the distribution of Forrest.
| >   | Please set the environment variable FORREST_HOME to point to 
| > src/core
| >   | It is recommended to add
| >   |    unix: $FORREST_HOME/bin: to your $PATH
| >   |    win: %FORREST_HOME%\bin; to your %PATH%
| >   | Then do 'forrest -projecthelp' to list options for the 'forrest'
| > command
| >   | More help at http://forrest.apache.org/
| >   *-----------------------------------------------------------------
| > 
| > BUILD SUCCESSFUL
| > Total time: 2 seconds
| > 
| > C:\opt\forrest0.6>set FORREST_HOME=C:\opt\forrest0.6\src\core
| 
| You set FORREST_HOME as instructed, but you have not done the 
| second thing in the instruction above:
| 
| It is recommended to add
|     |    unix: $FORREST_HOME/bin: to your $PATH
|     |    win: %FORREST_HOME%\bin; to your %PATH%
| 
| > C:\opt\forrest0.6>forrest site
| > The system cannot find the path specified.
| 
| This is because you have not added it to your path as 
| suggested and so your OS can't find the executable. If you 
| don't do this then you need to tell windows how to find the 
| executable when executing Forrest:
| 
| "C:\opt\forrest0.6\srczcore\bin\forrest site"
| 
| > Even if this did work, IMO, it is not very intuitive. The 
| way things 
| > worked in v0.5.1 was much easier and similar to other 
| Apache projects 
| > like Ant and Maven.
| 
| I can't remember that far back, but I thought we had exactly 
| the same process in 0.5. Anyway, it is impossible to install 
| a command line application without either putting it in your 
| path or specifiying it in the command line. We agree that the 
| "src/core" part is a little confusing and that is one of the 
| reasons for the directory restructure in 0.7
| 
| Ross
| 

Mime
View raw message