lib/ruboto/commands/base.rb in ruboto-1.6.0 vs lib/ruboto/commands/base.rb in ruboto-1.6.1

- old
+ new

@@ -88,10 +88,11 @@ activity = params['activity'].value || "#{name}Activity" path = params['path'].value || package.split('.').last target = params['target'].value min_sdk = params['min-sdk'].value || target with_jruby = params['with-jruby'].value + with_jruby = '1.7.25' unless with_jruby.is_a?(Gem::Version) ruby_version = params['ruby-version'].value force = params['force'].value abort "Path (#{path}) must be to a directory that does not yet exist. It will be created." if !force && File.exists?(path) unless target =~ API_LEVEL_PATTERN @@ -141,9 +142,10 @@ update_core_classes 'exclude' log_action('Generating the default Activity and script') do generate_inheriting_file 'Activity', activity, package end + FileUtils.touch 'bin/classes2.dex' end puts "\nHello, #{name}\n" end end