Commits
Ville Suoranta authored ab32e095bc0 Merge
5 5 | use :: ; |
6 6 | use :: qw(make_path remove_tree); |
7 7 | use ; |
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 = ($0); |
13 13 | $path = ( ($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 ( ! - $jarfile ) { |
20 20 | ### development path |
21 21 | $jarfile = "$path/../target/scala-2.12/$jarfile_name"; |
22 22 | if ( ! - $jarfile ) { |
23 23 | $jarfile = $distro_jarfile; |
24 24 | ### pull from download url |
25 25 | my $jardir = ($jarfile); |
26 26 | $jardir); | (
27 - | my $ff = ::->new( => 'http://casa.nrao.edu/download/devel/xml-casa/java/create-app-assembly-1.9.jar'); |
27 + | my $ff = ::->new( => 'http://casa.nrao.edu/download/devel/xml-casa/java/create-app-assembly-1.12.jar'); |
28 28 | my $where = $ff-> ( => $jardir ); |
29 29 | } |
30 30 | } |
31 31 | die "configuration error, cannot find jar file ($jarfile_name)" unless - $jarfile; |
32 32 | |
33 33 | |
34 34 | @args = ( ($java), '-jar', $jarfile ); |
35 35 | push(@args,@ARGV); |
36 36 | #exec { $java } @args; |
37 37 | |