torquebox-lite 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/bin/torquebox-lite CHANGED
@@ -101,7 +101,8 @@ class TorqueBoxLiteCommand < Thor
101
101
  options[:jvm_options] << " #{strip_jvm_properties_from_jruby_opts}"
102
102
 
103
103
  Dir.chdir(TorqueBox::DeployUtils.jboss_home) do
104
- TorqueBox::DeployUtils.set_java_opts("#{options[:jvm_options]} #{TorqueBox::DeployUtils.jruby_opts_properties}")
104
+ # TODO: replace .send(:jruby_opts_properties) with .jruby_opts_properties once TB 2.1.2 is out
105
+ TorqueBox::DeployUtils.set_java_opts("#{options[:jvm_options]} #{TorqueBox::DeployUtils.send(:jruby_opts_properties)}")
105
106
  TorqueBox::DeployUtils.exec_command(TorqueBox::DeployUtils.run_command_line(options).join(' '))
106
107
  end
107
108
  end
@@ -122,4 +123,30 @@ class TorqueBoxLiteCommand < Thor
122
123
  }
123
124
  end
124
125
 
126
+ # TODO: remove monkey-patches below once TB 2.1.2 is out
127
+ module TorqueBox
128
+ module DeployUtils
129
+ class << self
130
+ def deploy_yaml(deployment_descriptor, opts = {})
131
+ name = normalize_yaml_name( find_option( opts, 'name' ) || deployment_name(opts[:root] || opts['root']) )
132
+ dest_dir = opts[:dest_dir] || opts['dest_dir'] || deploy_dir
133
+ deployment = File.join( dest_dir, name )
134
+ File.open( deployment, 'w' ) do |file|
135
+ YAML.dump( deployment_descriptor, file )
136
+ end
137
+ FileUtils.touch( dodeploy_file( name, dest_dir ) )
138
+ [name, dest_dir]
139
+ end
140
+
141
+ def dodeploy_file(name, deploy_dir = DeployUtils.deploy_dir)
142
+ File.join( deploy_dir, "#{name}" ) + ".dodeploy"
143
+ end
144
+
145
+ def deployed_file(name, deploy_dir = DeployUtils.deploy_dir)
146
+ File.join( deploy_dir, "#{name}" ) + ".deployed"
147
+ end
148
+ end
149
+ end
150
+ end
151
+
125
152
  TorqueBoxLiteCommand.start
@@ -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.cdi'/>
37
- <extension module='org.torquebox.jobs'/>
38
- <extension module='org.torquebox.messaging'/>
39
36
  <extension module='org.torquebox.security'/>
40
- <extension module='org.torquebox.services'/>
41
- <extension module='org.torquebox.stomp'/>
42
37
  <extension module='org.torquebox.web'/>
38
+ <extension module='org.torquebox.stomp'/>
39
+ <extension module='org.torquebox.cdi'/>
40
+ <extension module='org.torquebox.services'/>
41
+ <extension module='org.torquebox.messaging'/>
42
+ <extension module='org.torquebox.jobs'/>
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-cdi:1.0'/>
563
- <subsystem xmlns='urn:jboss:domain:torquebox-jobs:1.0'/>
564
- <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
565
562
  <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
563
  <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
564
+ <subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>
565
+ <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
+ <subsystem xmlns='urn:jboss:domain:torquebox-jobs: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.cdi'/>
35
- <extension module='org.torquebox.jobs'/>
36
- <extension module='org.torquebox.messaging'/>
37
34
  <extension module='org.torquebox.security'/>
38
- <extension module='org.torquebox.services'/>
39
- <extension module='org.torquebox.stomp'/>
40
35
  <extension module='org.torquebox.web'/>
36
+ <extension module='org.torquebox.stomp'/>
37
+ <extension module='org.torquebox.cdi'/>
38
+ <extension module='org.torquebox.services'/>
39
+ <extension module='org.torquebox.messaging'/>
40
+ <extension module='org.torquebox.jobs'/>
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-cdi:1.0'/>
446
- <subsystem xmlns='urn:jboss:domain:torquebox-jobs:1.0'/>
447
- <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
448
445
  <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
446
  <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
447
+ <subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>
448
+ <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
+ <subsystem xmlns='urn:jboss:domain:torquebox-jobs: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.cdi'/>
37
- <extension module='org.torquebox.jobs'/>
38
- <extension module='org.torquebox.messaging'/>
39
36
  <extension module='org.torquebox.security'/>
40
- <extension module='org.torquebox.services'/>
41
- <extension module='org.torquebox.stomp'/>
42
37
  <extension module='org.torquebox.web'/>
38
+ <extension module='org.torquebox.stomp'/>
39
+ <extension module='org.torquebox.cdi'/>
40
+ <extension module='org.torquebox.services'/>
41
+ <extension module='org.torquebox.messaging'/>
42
+ <extension module='org.torquebox.jobs'/>
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-cdi:1.0'/>
563
- <subsystem xmlns='urn:jboss:domain:torquebox-jobs:1.0'/>
564
- <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
565
562
  <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
563
  <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
564
+ <subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>
565
+ <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
+ <subsystem xmlns='urn:jboss:domain:torquebox-jobs: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.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - The TorqueBox Team
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - "="
23
23
  - !ruby/object:Gem::Version
24
- version: 2.1.2
24
+ version: 2.1.1
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  requirements:
33
33
  - - "="
34
34
  - !ruby/object:Gem::Version
35
- version: 2.1.2
35
+ version: 2.1.1
36
36
  type: :runtime
37
37
  version_requirements: *id002
38
38
  - !ruby/object:Gem::Dependency
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - "="
45
45
  - !ruby/object:Gem::Version
46
- version: 2.1.2
46
+ version: 2.1.1
47
47
  type: :runtime
48
48
  version_requirements: *id003
49
49
  - !ruby/object:Gem::Dependency
@@ -680,19 +680,7 @@ files:
680
680
  - jboss/standalone/configuration/standalone-full.xml
681
681
  - jboss/standalone/configuration/standalone-ha.xml
682
682
  - jboss/standalone/configuration/standalone.xml
683
- - jboss/standalone/configuration/standalone_xml_history/standalone.boot.xml
684
- - jboss/standalone/configuration/standalone_xml_history/standalone.initial.xml
685
- - jboss/standalone/configuration/standalone_xml_history/standalone.last.xml
686
- - jboss/standalone/data/messagingbindings/hornetq-bindings-1.bindings
687
- - jboss/standalone/data/messagingbindings/hornetq-bindings-2.bindings
688
- - jboss/standalone/data/messagingbindings/hornetq-jms-1.jms
689
- - jboss/standalone/data/messagingbindings/hornetq-jms-2.jms
690
- - jboss/standalone/data/messagingjournal/hornetq-data-1.hq
691
- - jboss/standalone/data/messagingjournal/hornetq-data-2.hq
692
- - jboss/standalone/data/messagingjournal/server.lock
693
683
  - jboss/standalone/deployments/README.txt
694
- - jboss/standalone/log/boot.log
695
- - jboss/standalone/log/server.log
696
684
  - bin/torquebox-lite
697
685
  has_rdoc: true
698
686
  homepage: http://torquebox.org/