Subversion Repositories Projects

Rev

Rev 206 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 206 Rev 219
Line 7... Line 7...
7
 
7
 
Line 8... Line -...
8
 
-
 
9
resdir="res/"
-
 
10
 
-
 
11
 
-
 
Line 12... Line -...
12
puts `mv build.props build.props.bak`
-
 
Line -... Line 8...
-
 
8
 
-
 
9
resdir="res/"
-
 
10
 
-
 
11
 
-
 
12
 
-
 
13
 
-
 
14
 
-
 
15
 
-
 
16
 
-
 
17
if ARGV.length==2
13
puts `ant clean`
18
  bindir=ARGV[1]
14
#puts `rm -rf bin`
19
else
15
puts `mkdir bin`
20
  bindir="bin"
16
 
21
end
17
 
22
 
Line 32... Line 37...
32
  bluetooth_modes=["on"]
37
  bluetooth_modes=["on"]
33
  devicecontrol_modes=["on"]
38
  devicecontrol_modes=["on"]
34
  fileapi_modes=["on"]
39
  fileapi_modes=["on"]
35
  cldc11_modes=["on"]
40
  cldc11_modes=["on"]
36
  #firmware_modes=["fc_mk3mag_firmwares"]
41
  #firmware_modes=["fc_mk3mag_firmwares"]
37
#firmware_modes=["all_firmwares"]
42
  #firmware_modes=["all_firmwares"]
38
firmware_modes=["no_firmwares"]
43
  firmware_modes=["no_firmwares"]
-
 
44
 
-
 
45
 when "bltest"
-
 
46
  screensizes=["240x320"]
-
 
47
  voice_modes=["en_speedy"]
-
 
48
  bluetooth_modes=["on"]
-
 
49
  devicecontrol_modes=["on"]
-
 
50
  fileapi_modes=["on"]
-
 
51
  cldc11_modes=["on"]
-
 
52
  firmware_modes=["all_firmwares"]
Line 39... Line 53...
39
 
53
 
40
 when "test2"
54
 when "test2"
41
  screensizes=["176x220"]
55
  screensizes=["176x220"]
42
  voice_modes=["en_speedy"]
56
  voice_modes=["en_speedy"]
Line 89... Line 103...
89
  firmware_modes=["no_firmwares","fc_mk3mag_firmware","all_firmwares"]
103
  firmware_modes=["no_firmwares","fc_mk3mag_firmware","all_firmwares"]
Line 90... Line 104...
90
 
104
 
Line -... Line 105...
-
 
105
end
-
 
106
 
-
 
107
 
-
 
108
puts `mv build.props build.props.bak`
Line 91... Line 109...
91
end
109
puts `ant clean`
Line 92... Line 110...
92
 
110
#puts `rm -rf #{bindir}`
Line 133... Line 151...
133
          }
151
          }
134
          prefs_file.close
152
          prefs_file.close
Line 135... Line 153...
135
 
153
 
Line 136... Line 154...
136
          `ant build`.each_line {       |l| puts l }
154
          `ant build`.each_line {       |l| puts l }
Line 137... Line 155...
137
 
155
 
Line 138... Line 156...
138
          `mkdir -p bin/#{screensize}/#{cldc11=="on"?"cldc11":"cldc10"}/#{voice_mode}/bluetooth_#{bluetooth}/fileapi_#{fileapi}/devicecontrol_#{devicecontrol}`
156
          `mkdir -p #{bindir}/#{screensize}/#{cldc11=="on"?"cldc11":"cldc10"}/#{voice_mode}/bluetooth_#{bluetooth}/fileapi_#{fileapi}/devicecontrol_#{devicecontrol}`
Line 139... Line 157...
139
 
157
 
Line 140... Line 158...
140
#          `mv build/bin/#{propertys["basename"]}* bin/#{screensize}/#{cldc11=="on"?"cldc11":"cldc10"}/#{voice_mode}/bluetooth_#{bluetooth}/fileapi_#{fileapi}/devicecontrol_#{devicecontrol}`
158
#          `mv build/bin/#{propertys["basename"]}* #{bindir}/#{screensize}/#{cldc11=="on"?"cldc11":"cldc10"}/#{voice_mode}/bluetooth_#{bluetooth}/fileapi_#{fileapi}/devicecontrol_#{devicecontrol}`
Line 141... Line 159...
141
 
159