torquebox-lite 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/bin/torquebox-lite CHANGED
@@ -28,7 +28,7 @@ class TorqueBoxLiteCommand < Thor
28
28
  default_task :start
29
29
 
30
30
  map "run" => "start"
31
- desc "run", "Run TorqueBox Lite"
31
+ desc "", "Run TorqueBox Lite"
32
32
  method_option 'data-directory', :type => :string, :desc => 'Override the directory TorqueBox Lite uses to store it runtime data'
33
33
  method_option 'extra', :aliases => '-e', :type => :string, :desc => 'Extra options to pass through to JBoss AS, you will need to escape dashes with \ (e.g. \--help)'
34
34
  method_option 'max-threads', :type => :numeric, :desc => "Maximum number of HTTP threads"
@@ -53,6 +53,10 @@ class TorqueBoxLiteCommand < Thor
53
53
  :max_runtimes => options['max-runtimes'])
54
54
  end
55
55
 
56
+ def help
57
+ self.class.task_help(shell, 'start')
58
+ end
59
+
56
60
  no_tasks {
57
61
  def setup_environment
58
62
  ENV['TORQUEBOX_HOME'] = torquebox_home
@@ -92,9 +96,10 @@ class TorqueBoxLiteCommand < Thor
92
96
  options[:pass_through] ||= ''
93
97
  options[:pass_through] << " -Djboss.server.base.dir=#{base_dir}"
94
98
  options[:pass_through] << " -Djboss.server.config.dir=#{config_dir}"
95
- options[:pass_through] << " -Dtorquebox.http.port=#{options[:port]}" if options[:port]
96
99
 
97
100
  options[:jvm_options] ||= ''
101
+ options[:jvm_options] << " -Dorg.torquebox.core.datasource.enabled=false"
102
+ options[:jvm_options] << " -Dtorquebox.http.port=#{options[:port]}" if options[:port]
98
103
  options[:jvm_options] << " #{strip_jvm_properties_from_jruby_opts}"
99
104
 
100
105
  Dir.chdir(TorqueBox::DeployUtils.jboss_home) do
@@ -107,6 +112,7 @@ class TorqueBoxLiteCommand < Thor
107
112
  def create_deployment_descriptor(options, deploy_dir)
108
113
  opts = {:root => Dir.pwd, :dest_dir => deploy_dir}
109
114
  descriptor = TorqueBox::DeployUtils.basic_deployment_descriptor(opts)
115
+
110
116
  min_runtimes = options[:min_runtimes]
111
117
  max_runtimes = options[:max_runtimes]
112
118
  if min_runtimes != 1 && max_runtimes != 1
@@ -33,13 +33,13 @@
33
33
  <extension module='org.jboss.as.weld'/>
34
34
  <extension module='org.torquebox.bootstrap'/>
35
35
  <extension module='org.torquebox.core'/>
36
- <extension module='org.torquebox.security'/>
37
- <extension module='org.torquebox.web'/>
38
- <extension module='org.torquebox.stomp'/>
39
36
  <extension module='org.torquebox.cdi'/>
40
- <extension module='org.torquebox.services'/>
41
- <extension module='org.torquebox.messaging'/>
42
37
  <extension module='org.torquebox.jobs'/>
38
+ <extension module='org.torquebox.messaging'/>
39
+ <extension module='org.torquebox.security'/>
40
+ <extension module='org.torquebox.services'/>
41
+ <extension module='org.torquebox.stomp'/>
42
+ <extension module='org.torquebox.web'/>
43
43
  <extension module='org.projectodd.polyglot.hasingleton'/>
44
44
  <extension module='org.projectodd.polyglot.cache'/>
45
45
  </extensions>
@@ -559,13 +559,13 @@
559
559
  <subsystem xmlns='urn:jboss:domain:weld:1.0'/>
560
560
  <subsystem xmlns='urn:jboss:domain:torquebox-bootstrap:1.0'/>
561
561
  <subsystem xmlns='urn:jboss:domain:torquebox-core:1.0'/>
562
- <subsystem xmlns='urn:jboss:domain:torquebox-security:1.0'/>
563
- <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
564
- <subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>
565
562
  <subsystem xmlns='urn:jboss:domain:torquebox-cdi:1.0'/>
566
- <subsystem xmlns='urn:jboss:domain:torquebox-services:1.0'/>
567
- <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
568
563
  <subsystem xmlns='urn:jboss:domain:torquebox-jobs:1.0'/>
564
+ <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
565
+ <subsystem xmlns='urn:jboss:domain:torquebox-security:1.0'/>
566
+ <subsystem xmlns='urn:jboss:domain:torquebox-services:1.0'/>
567
+ <subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>
568
+ <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
569
569
  <subsystem xmlns='urn:jboss:domain:polyglot-hasingleton:1.0'/>
570
570
  <subsystem xmlns='urn:jboss:domain:polyglot-cache:1.0'/>
571
571
  </profile>
@@ -31,13 +31,13 @@
31
31
  <extension module='org.jboss.as.weld'/>
32
32
  <extension module='org.torquebox.bootstrap'/>
33
33
  <extension module='org.torquebox.core'/>
34
- <extension module='org.torquebox.security'/>
35
- <extension module='org.torquebox.web'/>
36
- <extension module='org.torquebox.stomp'/>
37
34
  <extension module='org.torquebox.cdi'/>
38
- <extension module='org.torquebox.services'/>
39
- <extension module='org.torquebox.messaging'/>
40
35
  <extension module='org.torquebox.jobs'/>
36
+ <extension module='org.torquebox.messaging'/>
37
+ <extension module='org.torquebox.security'/>
38
+ <extension module='org.torquebox.services'/>
39
+ <extension module='org.torquebox.stomp'/>
40
+ <extension module='org.torquebox.web'/>
41
41
  <extension module='org.projectodd.polyglot.hasingleton'/>
42
42
  <extension module='org.projectodd.polyglot.cache'/>
43
43
  </extensions>
@@ -442,13 +442,13 @@
442
442
  <subsystem xmlns='urn:jboss:domain:weld:1.0'/>
443
443
  <subsystem xmlns='urn:jboss:domain:torquebox-bootstrap:1.0'/>
444
444
  <subsystem xmlns='urn:jboss:domain:torquebox-core:1.0'/>
445
- <subsystem xmlns='urn:jboss:domain:torquebox-security:1.0'/>
446
- <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
447
- <subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>
448
445
  <subsystem xmlns='urn:jboss:domain:torquebox-cdi:1.0'/>
449
- <subsystem xmlns='urn:jboss:domain:torquebox-services:1.0'/>
450
- <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
451
446
  <subsystem xmlns='urn:jboss:domain:torquebox-jobs:1.0'/>
447
+ <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
448
+ <subsystem xmlns='urn:jboss:domain:torquebox-security:1.0'/>
449
+ <subsystem xmlns='urn:jboss:domain:torquebox-services:1.0'/>
450
+ <subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>
451
+ <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
452
452
  <subsystem xmlns='urn:jboss:domain:polyglot-hasingleton:1.0'/>
453
453
  <subsystem xmlns='urn:jboss:domain:polyglot-cache:1.0'/>
454
454
  </profile>
@@ -33,13 +33,13 @@
33
33
  <extension module='org.jboss.as.weld'/>
34
34
  <extension module='org.torquebox.bootstrap'/>
35
35
  <extension module='org.torquebox.core'/>
36
- <extension module='org.torquebox.security'/>
37
- <extension module='org.torquebox.web'/>
38
- <extension module='org.torquebox.stomp'/>
39
36
  <extension module='org.torquebox.cdi'/>
40
- <extension module='org.torquebox.services'/>
41
- <extension module='org.torquebox.messaging'/>
42
37
  <extension module='org.torquebox.jobs'/>
38
+ <extension module='org.torquebox.messaging'/>
39
+ <extension module='org.torquebox.security'/>
40
+ <extension module='org.torquebox.services'/>
41
+ <extension module='org.torquebox.stomp'/>
42
+ <extension module='org.torquebox.web'/>
43
43
  <extension module='org.projectodd.polyglot.hasingleton'/>
44
44
  <extension module='org.projectodd.polyglot.cache'/>
45
45
  </extensions>
@@ -559,13 +559,13 @@
559
559
  <subsystem xmlns='urn:jboss:domain:weld:1.0'/>
560
560
  <subsystem xmlns='urn:jboss:domain:torquebox-bootstrap:1.0'/>
561
561
  <subsystem xmlns='urn:jboss:domain:torquebox-core:1.0'/>
562
- <subsystem xmlns='urn:jboss:domain:torquebox-security:1.0'/>
563
- <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
564
- <subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>
565
562
  <subsystem xmlns='urn:jboss:domain:torquebox-cdi:1.0'/>
566
- <subsystem xmlns='urn:jboss:domain:torquebox-services:1.0'/>
567
- <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
568
563
  <subsystem xmlns='urn:jboss:domain:torquebox-jobs:1.0'/>
564
+ <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
565
+ <subsystem xmlns='urn:jboss:domain:torquebox-security:1.0'/>
566
+ <subsystem xmlns='urn:jboss:domain:torquebox-services:1.0'/>
567
+ <subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>
568
+ <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
569
569
  <subsystem xmlns='urn:jboss:domain:polyglot-hasingleton:1.0'/>
570
570
  <subsystem xmlns='urn:jboss:domain:polyglot-cache:1.0'/>
571
571
  </profile>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: torquebox-lite
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - The TorqueBox Team
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-09-11 00:00:00 -04:00
13
+ date: 2012-09-13 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency