source: other-projects/nightly-tasks/diffcol/trunk/environment.pl@ 38093

Last change on this file since 38093 was 38093, checked in by anupama, 9 months ago

The envi environment.pl file at diffcol level updated for mac.

File size: 1.6 KB
Line 
1$os_name = $^O;
2
3if ($os_name =~ "linux") {
4 $ENV{'IDENTITY_DIR'} = "/root/.ssh";
5 $ENV{'munges'} = "";
6 $ENV{'TASK_HOME'} = "/greenstone/diffcol"; # "/greenstone/envi/etc/tasks/diffcol";
7}
8
9if ($os_name =~ "MSWin32") {
10 #diffcol Win environment
11 $ENV{'IDENTITY_DIR'} = "C:\\Users\\GameJam\\diffcol\\keys"; # doesn't exist
12 $ENV{'munges'} = "";
13 $ENV{'TASK_HOME'} = "C:\\Users\\GameJam\\diffcol";
14 #$ENV{'GSDLHOME'} = "$ENV{'TASK_HOME'}\\greenstone2" unless defined $ENV{'GSDLHOME'};
15
16 # need the correct perl on the PATH in order to be able to run import.pl from within diffcol\task.pl via envi
17 # (else calling 'envi.pl diffcol run_test' used to fail on the first GS script, import)
18 ##$ENV{'PERLPATH'}="C:\\Perl64\\bin";
19 #$ENV{'PATH'}="C:\\Perl64\\bin;$ENV{'PATH'}";
20
21 $ENV{'ANT_HOME'}="C:\\Users\\GameJam\\apache-ant-1.9.5";
22 $ENV{'JAVA_HOME'}="C:\\Program Files\\Java\\jdk1.8.0_191";
23 $ENV{'PATH'}="C:\\Users\\GameJam\\strawberry-perl32no64\\perl\\bin;$ENV{'ANT_HOME'}\\bin;$ENV{'JAVA_HOME'}\\bin;C:\\Program Files\\SlikSvn\\bin;$ENV{'PATH'}";
24
25 # Need path to UNIXtools and must have GS3's wget in there and wgetrc file
26}
27
28if ($os_name =~ "darwin") {
29 $ENV{'IDENTITY_DIR'} = "/Users/greenstone/.ssh";
30 $ENV{'munges'} = "";
31 $ENV{'TASK_HOME'} = "/Users/greenstone/RELEASES/diffcol";
32
33 $ENV{'ANT_HOME'} = "$ENV{'RELEASES_DIR'}/ant-1.9.4";
34
35 #$ENV{'JRE_HOME'} = "$ENV{RELEASES_DIR}/JDK8u301/Home/jre";
36 #$ENV{'PATH'} = "$ENV{'PATH'}:$ENV{'JRE_HOME'}/bin:$ENV{'ANT_HOME'}/bin";
37 $ENV{'PATH'} = "$ENV{'ANT_HOME'}/bin:$ENV{'PATH'}";
38}
Note: See TracBrowser for help on using the repository browser.