RE: AW: moving to different hardware

2010-12-16 Thread Gav...


 -Original Message-
 From: Szabo, Patrick (LNG-VIE) [mailto:patrick.sz...@lexisnexis.at]
 Sent: Thursday, 16 December 2010 10:06 PM
 To: user@forrest.apache.org
 Subject: AW: AW: moving to different hardware
 
 Hi,
 
 Today was the day.
 We copied all the files (install folder and project folder) und set the
 variables.
 Unfortunately it's not working.
 
 We did the following:
 
 We copied apache-forrest and workflow-dok (that's our project) to
 C:\forrest\.
 We set the Variables to:
 
 FORREST_HOME = C:\forrest\apache-forrest\
 Path = ...;%FORREST_HOME%\bin
 
 We did a restart and the variables are set properly.
 If we enter 'forrest run' it says that it does not recognize forrest as
 a command.

Does not sound like the variables are set properly.

Please open a cmd window and paste the output of

echo %FORREST_HOME%

echo %PATH%


 
 We've also tried to run the forrest.bat directly with 'forrest.bat
 run'.
 It starts running but the build fails with an error that it can't find
 a documentation folder in C:\forrest\apache-forrest\. That's weird
 because our project-folder is C:\forrest\workflow-dok anyway.

Because you need to run the command from the project directory which 
you can't do without the 'forrest' command working.

Gav...

 
 What are we doing wrong ?!
 
 PS: I can't take a look at the configuration of our old server since it
 is not located in the same building (or country) and i have no remote-
 acced.
 
 Thanks in advance
 
 Kind regards
 
 
 . . . . . . . . . . . . . . . . . . . . . . . . . .
 Patrick Szabo
  XSLT-Entwickler
 LexisNexis
 Marxergasse 25, 1030 Wien
 
 mailto:patrick.sz...@lexisnexis.at
 Tel.: +43 (1) 534 52 - 1573
 Fax: +43 (1) 534 52 - 146
 
 
 -Ursprüngliche Nachricht-
 
 Von: Michael Conneen [mailto:mconn...@infointegrators.com]
 Gesendet: Mittwoch, 15. Dezember 2010 13:35
 An: user@forrest.apache.org
 Betreff: Re: AW: moving to different hardware
 
 Most set FORREST_HOME to the apache Forrest root and then include
 FORREST_HOME/bin on the path.  As such, it would then be system wide.
 
 Most of this is RTFM at http://forrest.apache.org/docs_0_90/your-
 project.html#Setting+up+the+Environment.
 
 Best of luck and enjoy Forrest!
 
 
 
 On Dec 15, 2010, at 0:54, Szabo, Patrick \(LNG-VIE\)
 patrick.sz...@lexisnexis.at wrote:
 
  Thank you for all of your answers !
 
  The move is sheduled for Thursday so i might be able to tell you if
 it workes then.
  Anothers thing i was wondering in which directory do i have to be to
 run
  'forrest commands' or is that an systemwide command once i set the
 variables ?!
 
  I did not maintain the server so i've never done that before.
 
 
 
 
  . . . . . . . . . . . . . . . . . . . . . . . . . .
  Patrick Szabo
  XSLT-Entwickler
  LexisNexis
  Marxergasse 25, 1030 Wien
 
  mailto:patrick.sz...@lexisnexis.at
  Tel.: +43 (1) 534 52 - 1573
  Fax: +43 (1) 534 52 - 146
 
 
  -Ursprüngliche Nachricht-
 
  Von: David Crossley [mailto:cross...@apache.org]
  Gesendet: Mittwoch, 15. Dezember 2010 02:10
  An: user@forrest.apache.org
  Betreff: Re: moving to different hardware
 
  Tim Williams wrote:
  Szabo, Patrick wrote:
 
  I have to move our forrest installation to a different hardware.
 Since i
  didn't install and configure it myself i'm wondering how to do
 that.
 
  Is it possible to just copy the directories, set the Enviroment
 Variables?!
 
  Would that work ?! If not...why not ?!
 
  Hi Patrick,
  Assuming you have Java installed on the new machine, simply copying
  everything (Forrest + Your Project) should work just fine. Good
 luck!
 
  Patrick, the configuration should not have any system-specific
  settings, so it should be okay.
 
  I was wondering about the cache. I expect that it too should
  be portable. If you do see issues then do 'forrest clean'
  in each of your projects.
 
  -David
 
 
 





RE: AW: moving to different hardware

2010-12-16 Thread Gav...


 -Original Message-
 From: Szabo, Patrick (LNG-VIE) [mailto:patrick.sz...@lexisnexis.at]
 Sent: Thursday, 16 December 2010 10:19 PM
 To: user@forrest.apache.org
 Subject: AW: AW: moving to different hardware
 
 
 Thanks you for your really fast response.
 I've also noticed that it says that JAVA_HOME is not set but it is :-(
 
 Here is what those echos are giving me.
 
 Echo %JAVA_HOME%: C:\Programme\Java\jdk1.6.0_03\bin
 Echo %FORREST_HOME%: C:\forrest\apache-forrest
 Echo %PATH%:
 C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\syst
 em32\WindowsPowerShell\v1.0;%FORREST_HOME%\bin
 
 Seems right to me...

Yeah, looks right.

what happens when you:

cd %FORREST_HOME/main

build

..

Also try setting the variables manually in the cmd window directly:

set FORREST_HOME=C:\forrest\apache-forrest
set PATH=%PATH%;%FORREST_HOME\bin

(those should stay set until the cmd windows is closed again)

then run

forrest -projectHelp




 
 Kind regards
 
 
 
 . . . . . . . . . . . . . . . . . . . . . . . . . .
 Patrick Szabo
  XSLT-Entwickler
 LexisNexis
 Marxergasse 25, 1030 Wien
 
 mailto:patrick.sz...@lexisnexis.at
 Tel.: +43 (1) 534 52 - 1573
 Fax: +43 (1) 534 52 - 146
 
 
 -Original Message-
 
  From: Szabo, Patrick (LNG-VIE) [mailto:patrick.sz...@lexisnexis.at]
  Sent: Thursday, 16 December 2010 10:06 PM
  To: user@forrest.apache.org
  Subject: AW: AW: moving to different hardware
 
  Hi,
 
  Today was the day.
  We copied all the files (install folder and project folder) und set
 the
  variables.
  Unfortunately it's not working.
 
  We did the following:
 
  We copied apache-forrest and workflow-dok (that's our project) to
  C:\forrest\.
  We set the Variables to:
 
  FORREST_HOME = C:\forrest\apache-forrest\
  Path = ...;%FORREST_HOME%\bin
 
  We did a restart and the variables are set properly.
  If we enter 'forrest run' it says that it does not recognize forrest
 as
  a command.
 
 Does not sound like the variables are set properly.
 
 Please open a cmd window and paste the output of
 
 echo %FORREST_HOME%
 
 echo %PATH%
 
 
 
  We've also tried to run the forrest.bat directly with 'forrest.bat
  run'.
  It starts running but the build fails with an error that it can't
 find
  a documentation folder in C:\forrest\apache-forrest\. That's weird
  because our project-folder is C:\forrest\workflow-dok anyway.
 
 Because you need to run the command from the project directory which
 you can't do without the 'forrest' command working.
 
 Gav...
 
 
  What are we doing wrong ?!
 
  PS: I can't take a look at the configuration of our old server since
 it
  is not located in the same building (or country) and i have no
 remote-
  acced.
 
  Thanks in advance
 
  Kind regards
 
 
  . . . . . . . . . . . . . . . . . . . . . . . . . .
  Patrick Szabo
   XSLT-Entwickler
  LexisNexis
  Marxergasse 25, 1030 Wien
 
  mailto:patrick.sz...@lexisnexis.at
  Tel.: +43 (1) 534 52 - 1573
  Fax: +43 (1) 534 52 - 146
 
 
  -Ursprüngliche Nachricht-
 
  Von: Michael Conneen [mailto:mconn...@infointegrators.com]
  Gesendet: Mittwoch, 15. Dezember 2010 13:35
  An: user@forrest.apache.org
  Betreff: Re: AW: moving to different hardware
 
  Most set FORREST_HOME to the apache Forrest root and then include
  FORREST_HOME/bin on the path.  As such, it would then be system wide.
 
  Most of this is RTFM at http://forrest.apache.org/docs_0_90/your-
  project.html#Setting+up+the+Environment.
 
  Best of luck and enjoy Forrest!
 
 
 
  On Dec 15, 2010, at 0:54, Szabo, Patrick \(LNG-VIE\)
  patrick.sz...@lexisnexis.at wrote:
 
   Thank you for all of your answers !
  
   The move is sheduled for Thursday so i might be able to tell you if
  it workes then.
   Anothers thing i was wondering in which directory do i have to be
 to
  run
   'forrest commands' or is that an systemwide command once i set
 the
  variables ?!
  
   I did not maintain the server so i've never done that before.
  
  
  
  
   . . . . . . . . . . . . . . . . . . . . . . . . . .
   Patrick Szabo
   XSLT-Entwickler
   LexisNexis
   Marxergasse 25, 1030 Wien
  
   mailto:patrick.sz...@lexisnexis.at
   Tel.: +43 (1) 534 52 - 1573
   Fax: +43 (1) 534 52 - 146
  
  
   -Ursprüngliche Nachricht-
  
   Von: David Crossley [mailto:cross...@apache.org]
   Gesendet: Mittwoch, 15. Dezember 2010 02:10
   An: user@forrest.apache.org
   Betreff: Re: moving to different hardware
  
   Tim Williams wrote:
   Szabo, Patrick wrote:
  
   I have to move our forrest installation to a different hardware.
  Since i
   didn't install and configure it myself i'm wondering how to do
  that.
  
   Is it possible to just copy the directories, set the Enviroment
  Variables?!
  
   Would that work ?! If not...why not ?!
  
   Hi Patrick,
   Assuming you have Java installed on the new machine, simply
 copying
   everything (Forrest + Your Project) should work just fine. Good
  luck!
  
   Patrick, the configuration should not have any system-specific

Re: AW: moving to different hardware

2010-12-15 Thread Michael Conneen
Most set FORREST_HOME to the apache Forrest root and then include 
FORREST_HOME/bin on the path.  As such, it would then be system wide.

Most of this is RTFM at 
http://forrest.apache.org/docs_0_90/your-project.html#Setting+up+the+Environment.

Best of luck and enjoy Forrest!



On Dec 15, 2010, at 0:54, Szabo, Patrick \(LNG-VIE\) 
patrick.sz...@lexisnexis.at wrote:

 Thank you for all of your answers !
 
 The move is sheduled for Thursday so i might be able to tell you if it workes 
 then. 
 Anothers thing i was wondering in which directory do i have to be to run 
 'forrest commands' or is that an systemwide command once i set the 
 variables ?!
 
 I did not maintain the server so i've never done that before. 
 
 
 
 
 . . . . . . . . . . . . . . . . . . . . . . . . . .
 Patrick Szabo
 XSLT-Entwickler 
 LexisNexis
 Marxergasse 25, 1030 Wien
 
 mailto:patrick.sz...@lexisnexis.at
 Tel.: +43 (1) 534 52 - 1573 
 Fax: +43 (1) 534 52 - 146 
 
 
 -Ursprüngliche Nachricht-
 
 Von: David Crossley [mailto:cross...@apache.org] 
 Gesendet: Mittwoch, 15. Dezember 2010 02:10
 An: user@forrest.apache.org
 Betreff: Re: moving to different hardware
 
 Tim Williams wrote:
 Szabo, Patrick wrote:
 
 I have to move our forrest installation to a different hardware. Since i
 didn't install and configure it myself i'm wondering how to do that.
 
 Is it possible to just copy the directories, set the Enviroment Variables?!
 
 Would that work ?! If not...why not ?!
 
 Hi Patrick,
 Assuming you have Java installed on the new machine, simply copying
 everything (Forrest + Your Project) should work just fine. Good luck!
 
 Patrick, the configuration should not have any system-specific
 settings, so it should be okay.
 
 I was wondering about the cache. I expect that it too should
 be portable. If you do see issues then do 'forrest clean'
 in each of your projects.
 
 -David