ruby-maven 3.0.4.1.4 → 3.1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/m2.conf +11 -7
- data/bin/rmvn +2 -2
- data/ext/ruby/maven-tools-0.33.0.jar +0 -0
- data/ext/ruby/tesla-polyglot-ruby-0.0.1-SNAPSHOT.jar +0 -0
- data/lib/tesla-polyglot-cli-0.0.1-SNAPSHOT.jar +0 -0
- data/lib/tesla-polyglot-common-0.0.1-SNAPSHOT.jar +0 -0
- data/{lib/ruby → ruby}/maven/ruby.rb +0 -0
- data/ruby/maven/ruby/maven.rb +199 -0
- data/ruby/maven/ruby/tasks.rb +75 -0
- data/ruby/maven/ruby/version.rb +6 -0
- data/{lib/ruby → ruby}/ruby-maven.rb +0 -0
- data/{lib/ruby → ruby}/ruby_maven.rb +0 -0
- data/ruby/tesla_maven.rb +56 -0
- metadata +42 -104
- data/LICENSE.txt +0 -202
- data/MIT-LICENSE +0 -20
- data/NOTICE.txt +0 -23
- data/README.txt +0 -77
- data/bin/mvn +0 -172
- data/bin/mvn.bat +0 -197
- data/bin/mvnDebug +0 -177
- data/bin/mvnDebug.bat +0 -200
- data/bin/mvnyjp +0 -193
- data/boot/plexus-classworlds-2.4.jar +0 -0
- data/conf/settings.xml +0 -257
- data/lib/aether-api-1.13.1.jar +0 -0
- data/lib/aether-connector-wagon-1.13.1.jar +0 -0
- data/lib/aether-impl-1.13.1.jar +0 -0
- data/lib/aether-spi-1.13.1.jar +0 -0
- data/lib/aether-util-1.13.1.jar +0 -0
- data/lib/commons-cli-1.2.jar +0 -0
- data/lib/ext/README.txt +0 -2
- data/lib/maven-aether-provider-3.0.4.jar +0 -0
- data/lib/maven-artifact-3.0.4.jar +0 -0
- data/lib/maven-compat-3.0.4.jar +0 -0
- data/lib/maven-core-3.0.4.jar +0 -0
- data/lib/maven-embedder-3.0.4.jar +0 -0
- data/lib/maven-model-3.0.4.jar +0 -0
- data/lib/maven-model-builder-3.0.4.jar +0 -0
- data/lib/maven-plugin-api-3.0.4.jar +0 -0
- data/lib/maven-repository-metadata-3.0.4.jar +0 -0
- data/lib/maven-settings-3.0.4.jar +0 -0
- data/lib/maven-settings-builder-3.0.4.jar +0 -0
- data/lib/plexus-cipher-1.7.jar +0 -0
- data/lib/plexus-component-annotations-1.5.5.jar +0 -0
- data/lib/plexus-interpolation-1.14.jar +0 -0
- data/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/lib/plexus-utils-2.0.6.jar +0 -0
- data/lib/ruby/maven/cli.rb~ +0 -227
- data/lib/ruby/maven/cucumber_steps.rb~ +0 -134
- data/lib/ruby/maven/pom_magic.rb~ +0 -227
- data/lib/ruby/maven/ruby/Mavenfile +0 -7
- data/lib/ruby/maven/ruby/Mavenfile~ +0 -7
- data/lib/ruby/maven/ruby/cli.rb +0 -161
- data/lib/ruby/maven/ruby/cli.rb~ +0 -146
- data/lib/ruby/maven/ruby/maven.rb +0 -145
- data/lib/ruby/maven/ruby/maven.rb~ +0 -132
- data/lib/ruby/maven/ruby/pom_magic.rb +0 -132
- data/lib/ruby/maven/ruby/pom_magic.rb~ +0 -78
- data/lib/ruby/maven/ruby/version.rb +0 -32
- data/lib/ruby/maven/ruby/version.rb~ +0 -5
- data/lib/ruby/maven/ruby_cli.rb~ +0 -131
- data/lib/ruby/maven/ruby_maven.rb~ +0 -227
- data/lib/sisu-guava-0.9.9.jar +0 -0
- data/lib/sisu-guice-3.1.0-no_aop.jar +0 -0
- data/lib/sisu-inject-bean-2.3.0.jar +0 -0
- data/lib/sisu-inject-plexus-2.3.0.jar +0 -0
- data/lib/wagon-file-2.2.jar +0 -0
- data/lib/wagon-http-2.2-shaded.jar +0 -0
- data/lib/wagon-provider-api-2.2.jar +0 -0
data/lib/ruby/maven/ruby/cli.rb
DELETED
@@ -1,161 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (C) 2013 Christian Meier
|
3
|
-
#
|
4
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5
|
-
# this software and associated documentation files (the "Software"), to deal in
|
6
|
-
# the Software without restriction, including without limitation the rights to
|
7
|
-
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
8
|
-
# the Software, and to permit persons to whom the Software is furnished to do so,
|
9
|
-
# subject to the following conditions:
|
10
|
-
#
|
11
|
-
# The above copyright notice and this permission notice shall be included in all
|
12
|
-
# copies or substantial portions of the Software.
|
13
|
-
#
|
14
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
16
|
-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
17
|
-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
18
|
-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
|
-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
-
#
|
21
|
-
require 'maven/ruby/maven'
|
22
|
-
require 'maven/ruby/pom_magic'
|
23
|
-
module Maven
|
24
|
-
module Ruby
|
25
|
-
class Cli
|
26
|
-
|
27
|
-
private
|
28
|
-
|
29
|
-
# make the command line for the goals of the jruby-maven-plugins nicer
|
30
|
-
PLUGINS = {
|
31
|
-
:rake => [:rake],
|
32
|
-
:jruby => [:jruby, :compile],
|
33
|
-
:gem => [:package, :install, :push, :exec, :pom, :initialize, :irb],
|
34
|
-
:rails3 => [:new, :generate, :rake, :server, :console, :dbconsole, :pom, :initialize],
|
35
|
-
:cucumber => [:test],
|
36
|
-
:rspec => [:test],
|
37
|
-
:runit => [:test],
|
38
|
-
:mini => [:test,:spec],
|
39
|
-
:bundler => [:install, :update]
|
40
|
-
}
|
41
|
-
ALIASES = {
|
42
|
-
:ruby => :jruby,
|
43
|
-
:spec => :rspec,
|
44
|
-
:rails => :rails3,
|
45
|
-
:bundle => :bundler
|
46
|
-
}
|
47
|
-
|
48
|
-
def prepare(args)
|
49
|
-
if args.size > 0
|
50
|
-
name = args[0].to_sym
|
51
|
-
name = ALIASES[name] || name
|
52
|
-
if PLUGINS.member?(name)
|
53
|
-
start = 1
|
54
|
-
if args.size > 1
|
55
|
-
if PLUGINS[name].member? args[1].to_sym
|
56
|
-
goal = args[1].to_sym
|
57
|
-
start = 2
|
58
|
-
else
|
59
|
-
goal = PLUGINS[name][0]
|
60
|
-
end
|
61
|
-
else
|
62
|
-
goal = PLUGINS[name][0]
|
63
|
-
end
|
64
|
-
# determine the version and delete from args if given
|
65
|
-
version = args.detect do |a|
|
66
|
-
a =~ /^-Dplugin.version=/
|
67
|
-
end
|
68
|
-
version ||= options['-Dplugin.version']
|
69
|
-
|
70
|
-
if version
|
71
|
-
args.delete(version)
|
72
|
-
version = ":" + version.sub(/^-Dplugin.version=/, '')
|
73
|
-
end
|
74
|
-
aa = if index = args.index("--")
|
75
|
-
args[(index + 1)..-1]
|
76
|
-
else
|
77
|
-
[]
|
78
|
-
end
|
79
|
-
ruby_args = (args[start, (index || 1000) - start] || []).join(' ')
|
80
|
-
|
81
|
-
aa << "de.saumya.mojo:#{name}-maven-plugin#{version}:#{goal}"
|
82
|
-
aa << "\"-Dargs=#{ruby_args}\"" if ruby_args.size > 0
|
83
|
-
args.replace(aa)
|
84
|
-
else
|
85
|
-
args.delete("--")
|
86
|
-
end
|
87
|
-
end
|
88
|
-
args
|
89
|
-
end
|
90
|
-
|
91
|
-
def log(args)
|
92
|
-
log = File.join('log', 'rmvn.log')
|
93
|
-
if File.exists? File.dirname(log)
|
94
|
-
File.open(log, 'a') do |f|
|
95
|
-
f.puts "#{$0.sub(/.*\//, '')} #{args.join ' '}"
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
def maybe_print_help(args)
|
101
|
-
if args.size == 0 || args[0] == "--help"
|
102
|
-
puts "ruby-maven version #{VERSION} using jruby-maven-plugins version #{JRUBY_MAVEN_PLUGINS_VERSION}"
|
103
|
-
puts "usage: rmvn [<plugin-name> [<args>] [-- <maven-options>]] | [<maven-goal>|<maven-phase> <maven-options>] | --help"
|
104
|
-
PLUGINS.each do |name, goals|
|
105
|
-
puts
|
106
|
-
print "plugin #{name}"
|
107
|
-
print " - alias: #{ALIASES.invert[name]}" if ALIASES.invert[name]
|
108
|
-
puts
|
109
|
-
if goals.size > 1
|
110
|
-
print "\tgoals : #{goals.join(',')}"
|
111
|
-
puts
|
112
|
-
end
|
113
|
-
print "\tdefault goal: #{goals[0]}"
|
114
|
-
puts
|
115
|
-
end
|
116
|
-
puts
|
117
|
-
["--help"]
|
118
|
-
else
|
119
|
-
args
|
120
|
-
end
|
121
|
-
end
|
122
|
-
|
123
|
-
def command_line(args)
|
124
|
-
args = prepare(args)
|
125
|
-
args = maybe_print_help(args)
|
126
|
-
args
|
127
|
-
end
|
128
|
-
|
129
|
-
def setup(dir = '.', *args)
|
130
|
-
log(args)
|
131
|
-
args = command_line(args.dup.flatten)
|
132
|
-
args = magic_pom(dir, *args)
|
133
|
-
args
|
134
|
-
end
|
135
|
-
|
136
|
-
def mvn
|
137
|
-
@mvn ||= Maven.new
|
138
|
-
end
|
139
|
-
|
140
|
-
protected
|
141
|
-
|
142
|
-
def magic_pom(dir = '.', *args)
|
143
|
-
PomMagic.new.generate_pom(File.expand_path(dir), *args)
|
144
|
-
end
|
145
|
-
|
146
|
-
public
|
147
|
-
|
148
|
-
def options
|
149
|
-
mvn.options
|
150
|
-
end
|
151
|
-
|
152
|
-
def exec(*args)
|
153
|
-
mvn.exec(setup('.', *args))
|
154
|
-
end
|
155
|
-
|
156
|
-
def exec_in(launchdirectory, *args)
|
157
|
-
mvn.exec_in(launchdirectory, setup(launchdirectory, *args))
|
158
|
-
end
|
159
|
-
end
|
160
|
-
end
|
161
|
-
end
|
data/lib/ruby/maven/ruby/cli.rb~
DELETED
@@ -1,146 +0,0 @@
|
|
1
|
-
require 'maven/ruby/maven'
|
2
|
-
require 'maven/ruby/pom_magic'
|
3
|
-
module Maven
|
4
|
-
module Ruby
|
5
|
-
class Cli
|
6
|
-
|
7
|
-
private
|
8
|
-
|
9
|
-
# make the command line for the goals of the jruby-maven-plugins nicer
|
10
|
-
PLUGINS = {
|
11
|
-
:rake => [:rake],
|
12
|
-
:jruby => [:jruby, :compile],
|
13
|
-
:gem => [:package, :install, :push, :exec, :pom, :initialize, :irb],
|
14
|
-
:rails3 => [:new, :generate, :rake, :server, :console, :dbconsole, :pom, :initialize],
|
15
|
-
:cucumber => [:test],
|
16
|
-
:rspec => [:test],
|
17
|
-
:runit => [:test],
|
18
|
-
:mini => [:test,:spec],
|
19
|
-
:bundler => [:install, :update]
|
20
|
-
}
|
21
|
-
ALIASES = {
|
22
|
-
:ruby => :jruby,
|
23
|
-
:spec => :rspec,
|
24
|
-
:rails => :rails3,
|
25
|
-
:bundle => :bundler
|
26
|
-
}
|
27
|
-
|
28
|
-
def prepare(args)
|
29
|
-
if args.size > 0
|
30
|
-
name = args[0].to_sym
|
31
|
-
name = ALIASES[name] || name
|
32
|
-
if PLUGINS.member?(name)
|
33
|
-
start = 1
|
34
|
-
if args.size > 1
|
35
|
-
if PLUGINS[name].member? args[1].to_sym
|
36
|
-
goal = args[1].to_sym
|
37
|
-
start = 2
|
38
|
-
else
|
39
|
-
goal = PLUGINS[name][0]
|
40
|
-
end
|
41
|
-
else
|
42
|
-
goal = PLUGINS[name][0]
|
43
|
-
end
|
44
|
-
# determine the version and delete from args if given
|
45
|
-
version = args.detect do |a|
|
46
|
-
a =~ /^-Dplugin.version=/
|
47
|
-
end
|
48
|
-
version ||= options['-Dplugin.version']
|
49
|
-
|
50
|
-
if version
|
51
|
-
args.delete(version)
|
52
|
-
version = ":" + version.sub(/^-Dplugin.version=/, '')
|
53
|
-
end
|
54
|
-
aa = if index = args.index("--")
|
55
|
-
args[(index + 1)..-1]
|
56
|
-
else
|
57
|
-
[]
|
58
|
-
end
|
59
|
-
ruby_args = (args[start, (index || 1000) - start] || []).join(' ')
|
60
|
-
|
61
|
-
aa << "de.saumya.mojo:#{name}-maven-plugin#{version}:#{goal}"
|
62
|
-
aa << "-Dargs=\"#{ruby_args}\"" if ruby_args.size > 0
|
63
|
-
args.replace(aa)
|
64
|
-
else
|
65
|
-
args.delete("--")
|
66
|
-
end
|
67
|
-
end
|
68
|
-
args
|
69
|
-
end
|
70
|
-
|
71
|
-
def log(args)
|
72
|
-
log = File.join('log', 'rmvn.log')
|
73
|
-
if File.exists? File.dirname(log)
|
74
|
-
File.open(log, 'a') do |f|
|
75
|
-
f.puts "#{$0.sub(/.*\//, '')} #{args.join ' '}"
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
79
|
-
|
80
|
-
def maybe_print_help(args)
|
81
|
-
if args.size == 0 || args[0] == "--help"
|
82
|
-
puts "usage: rmvn [<plugin-name> [<args>] [-- <maven-options>]] | [<maven-goal>|<maven-phase> <maven-options>] | --help"
|
83
|
-
PLUGINS.each do |name, goals|
|
84
|
-
puts
|
85
|
-
print "plugin #{name}"
|
86
|
-
print " - alias: #{ALIASES.invert[name]}" if ALIASES.invert[name]
|
87
|
-
puts
|
88
|
-
if goals.size > 1
|
89
|
-
print "\tgoals : #{goals.join(',')}"
|
90
|
-
puts
|
91
|
-
end
|
92
|
-
print "\tdefault goal: #{goals[0]}"
|
93
|
-
puts
|
94
|
-
end
|
95
|
-
puts
|
96
|
-
["--help"]
|
97
|
-
else
|
98
|
-
args
|
99
|
-
end
|
100
|
-
end
|
101
|
-
|
102
|
-
def command_line(args)
|
103
|
-
args = prepare(args)
|
104
|
-
args = maybe_print_help(args)
|
105
|
-
p args
|
106
|
-
args
|
107
|
-
end
|
108
|
-
|
109
|
-
def setup(dir = '.', *args)
|
110
|
-
args = magic_pom(dir, *args)
|
111
|
-
log(args)
|
112
|
-
command_line(args.dup.flatten)
|
113
|
-
end
|
114
|
-
|
115
|
-
def mvn
|
116
|
-
@mvn ||= Maven.new
|
117
|
-
end
|
118
|
-
|
119
|
-
protected
|
120
|
-
|
121
|
-
def magic_pom(dir = '.', *args)
|
122
|
-
p args
|
123
|
-
file = PomMagic.new.generate_pom(File.expand_path(dir), *args)
|
124
|
-
p file
|
125
|
-
args += ['-f', file] if file && !(args.member?("-f") || args.member?("--file"))
|
126
|
-
p args.flatten
|
127
|
-
args.flatten
|
128
|
-
end
|
129
|
-
|
130
|
-
public
|
131
|
-
|
132
|
-
def options
|
133
|
-
mvn.options
|
134
|
-
end
|
135
|
-
|
136
|
-
def exec(*args)
|
137
|
-
mvn.exec(setup('.', *args))
|
138
|
-
end
|
139
|
-
|
140
|
-
def exec_in(launchdirectory, *args)
|
141
|
-
p launchdirectory
|
142
|
-
mvn.exec_in(launchdirectory, setup(launchdirectory, *args))
|
143
|
-
end
|
144
|
-
end
|
145
|
-
end
|
146
|
-
end
|
@@ -1,145 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (C) 2013 Christian Meier
|
3
|
-
#
|
4
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5
|
-
# this software and associated documentation files (the "Software"), to deal in
|
6
|
-
# the Software without restriction, including without limitation the rights to
|
7
|
-
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
8
|
-
# the Software, and to permit persons to whom the Software is furnished to do so,
|
9
|
-
# subject to the following conditions:
|
10
|
-
#
|
11
|
-
# The above copyright notice and this permission notice shall be included in all
|
12
|
-
# copies or substantial portions of the Software.
|
13
|
-
#
|
14
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
16
|
-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
17
|
-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
18
|
-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
|
-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
-
#
|
21
|
-
require 'fileutils'
|
22
|
-
require 'java' if defined? JRUBY_VERSION
|
23
|
-
|
24
|
-
module Maven
|
25
|
-
|
26
|
-
class RubyMaven
|
27
|
-
|
28
|
-
def self.new(*args)
|
29
|
-
warn "deprecated: use Maven::Ruby::Cli or Maven::Ruby::Maven instead"
|
30
|
-
require 'maven/ruby/cli'
|
31
|
-
::Maven::Ruby::Cli.new(*args)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
module Ruby
|
36
|
-
class Maven
|
37
|
-
|
38
|
-
private
|
39
|
-
|
40
|
-
def launch_jruby(args)
|
41
|
-
java.lang.System.setProperty("classworlds.conf",
|
42
|
-
File.join(self.class.maven_home, 'bin', "m2.conf"))
|
43
|
-
|
44
|
-
java.lang.System.setProperty("maven.home", self.class.maven_home)
|
45
|
-
cw = self.class.class_world
|
46
|
-
org.apache.maven.cli.MavenCli.doMain( args, cw ) == 0
|
47
|
-
end
|
48
|
-
|
49
|
-
def self.class_world
|
50
|
-
@class_world ||= class_world!
|
51
|
-
end
|
52
|
-
|
53
|
-
def self.class_world!
|
54
|
-
(classpath_array + classpath_array('lib')).each do |path|
|
55
|
-
require path
|
56
|
-
end
|
57
|
-
org.codehaus.plexus.classworlds.ClassWorld.new("plexus.core", java.lang.Thread.currentThread().getContextClassLoader())
|
58
|
-
end
|
59
|
-
|
60
|
-
def self.classpath_array(dir = 'boot')
|
61
|
-
Dir.glob(File.join(maven_home, dir, "*jar"))
|
62
|
-
end
|
63
|
-
|
64
|
-
def launch_java(*args)
|
65
|
-
system "java -cp #{self.class.classpath_array.join(':')} -Dmaven.home=#{File.expand_path(self.class.maven_home)} -Dclassworlds.conf=#{File.expand_path(File.join(self.class.maven_home, 'bin', 'm2.conf'))} org.codehaus.plexus.classworlds.launcher.Launcher #{args.join ' '}"
|
66
|
-
end
|
67
|
-
|
68
|
-
def options_string
|
69
|
-
options_array.join ' '
|
70
|
-
end
|
71
|
-
|
72
|
-
def options_array
|
73
|
-
options.collect do |k,v|
|
74
|
-
if k =~ /^-D/
|
75
|
-
v = "=#{v}" unless v.nil?
|
76
|
-
"#{k}#{v}"
|
77
|
-
else
|
78
|
-
if v.nil?
|
79
|
-
"#{k}"
|
80
|
-
else
|
81
|
-
["#{k}", "#{v}"]
|
82
|
-
end
|
83
|
-
end
|
84
|
-
end.flatten
|
85
|
-
end
|
86
|
-
|
87
|
-
public
|
88
|
-
|
89
|
-
def self.class_world
|
90
|
-
@class_world ||= class_world!
|
91
|
-
end
|
92
|
-
|
93
|
-
def self.maven_home
|
94
|
-
@maven_home = File.expand_path(File.join(File.dirname(__FILE__),
|
95
|
-
'..',
|
96
|
-
'..',
|
97
|
-
'..',
|
98
|
-
'..'))
|
99
|
-
end
|
100
|
-
|
101
|
-
def options
|
102
|
-
@options ||= {}
|
103
|
-
end
|
104
|
-
|
105
|
-
def verbose= v
|
106
|
-
@verbose = v
|
107
|
-
end
|
108
|
-
|
109
|
-
def property(key, value = nil)
|
110
|
-
options["-D#{key}"] = value
|
111
|
-
end
|
112
|
-
|
113
|
-
def verbose
|
114
|
-
if @verbose.nil?
|
115
|
-
@verbose = options.delete('-Dverbose').to_s == 'true'
|
116
|
-
else
|
117
|
-
@verbose
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
|
-
def exec(*args)
|
122
|
-
puts "PWD: #{File.expand_path('.')}" if verbose
|
123
|
-
a = args.dup + options_array
|
124
|
-
a.flatten!
|
125
|
-
puts "mvn #{a.join(' ')}" if verbose
|
126
|
-
if defined? JRUBY_VERSION
|
127
|
-
puts "using jruby #{JRUBY_VERSION}" if verbose
|
128
|
-
launch_jruby(a)
|
129
|
-
else
|
130
|
-
puts "using java" if verbose
|
131
|
-
launch_java(a)
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
def exec_in(launchdirectory, *args)
|
136
|
-
succeeded = nil
|
137
|
-
Dir.chdir(launchdirectory) do
|
138
|
-
succeeded = exec(args)
|
139
|
-
end
|
140
|
-
succeeded
|
141
|
-
end
|
142
|
-
end
|
143
|
-
end
|
144
|
-
|
145
|
-
end
|