Method: Ajc#command

Defined in:
lib/jake/ajc.rb

#commandObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/jake/ajc.rb', line 9

def command
  classpath = []
classpath << @rt
inpath_arr = []

  @src = Dir.glob(@src)
  @cp.each do |p|
    puts "Globbing #{p}"
    classpath << Dir.glob(p)
    puts "CP = #{classpath}"
  end
  @inpath.each do |p|
    puts "Globbing #{p}"
    inpath_arr << Dir.glob(p)
    puts "inpath = #{inpath_arr}"
  end

  "ajc -cp " + classpath.join(cp_separator).to_s + " -inpath " + inpath_arr.join(cp_separator).to_s + " -outjar " + @outjar + " -1.5 "  + @src.join(' ').to_s
end