Commits

Ville Suoranta authored ab32e095bc0 Merge
Merge pull request #18 in CASA/casaviewer from CAS-13459 to master

* commit '278988a553f225e3bf7c0d0cd01a386e6b910d15': filter libz and libfreetype from app (CAS-13459)

scripts/create-app

Modified
5 5 use File::Fetch;
6 6 use File::Path qw(make_path remove_tree);
7 7 use Config;
8 8
9 9 #Fetch failed! HTTP response: 500 Internal Server Error [500 Can't verify SSL peers without knowing which Certificate Authorities to trust] at scripts/create-app line 62.
10 10 $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
11 11
12 12 $exe = abs_path($0);
13 13 $path = abs_path(dirname($exe));
14 14 $java = '/usr/bin/java';
15 -$jarfile_name = "create-app-assembly-1.9.jar";
15 +$jarfile_name = "create-app-assembly-1.12.jar";
16 16
17 17 ### install path
18 18 $distro_jarfile = $jarfile = "$path/java/$jarfile_name";
19 19 if ( ! -e $jarfile ) {
20 20 ### development path
21 21 $jarfile = "$path/../target/scala-2.12/$jarfile_name";
22 22 if ( ! -e $jarfile ) {
23 23 $jarfile = $distro_jarfile;
24 24 ### pull from download url
25 25 my $jardir = dirname($jarfile);
26 26 make_path($jardir);
27 - my $ff = File::Fetch->new(uri => 'http://casa.nrao.edu/download/devel/xml-casa/java/create-app-assembly-1.9.jar');
27 + my $ff = File::Fetch->new(uri => 'http://casa.nrao.edu/download/devel/xml-casa/java/create-app-assembly-1.12.jar');
28 28 my $where = $ff->fetch( to => $jardir );
29 29 }
30 30 }
31 31 die "configuration error, cannot find jar file ($jarfile_name)" unless -e $jarfile;
32 32
33 33
34 34 @args = ( basename($java), '-jar', $jarfile );
35 35 push(@args,@ARGV);
36 36 #exec { $java } @args;
37 37

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut