rjack-jms-spec 1.1.1-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ === 1.1.1 (2011-2-5)
2
+ * Initial release based on geronimo-jms_1.1_spec version 1.1.1.
@@ -0,0 +1,11 @@
1
+ History.rdoc
2
+ Manifest.txt
3
+ NOTICE.txt
4
+ README.rdoc
5
+ Rakefile
6
+ assembly.xml
7
+ pom.xml
8
+ lib/rjack-jms-spec/base.rb
9
+ lib/rjack-jms-spec.rb
10
+ test/test_jms_spec.rb
11
+ lib/rjack-jms-spec/geronimo-jms_1.1_spec-1.1.1.jar
@@ -0,0 +1,7 @@
1
+ rjack-jms-spec gem
2
+ Copyright (c) 2011 David Kellum
3
+
4
+ This product includes software developed by:
5
+
6
+ Geronimo JMS 1.1 Spec Implementation (java)
7
+ Copyright (c) 2003-2004 The Apache Software Foundation.
@@ -0,0 +1,43 @@
1
+ = rjack-jms-spec
2
+
3
+ * http://rjack.rubyforge.org
4
+ * http://rubyforge.org/projects/rjack
5
+
6
+ == Description
7
+
8
+ A gem packaging of JMS 1.1 specification classes (javax.jms) as
9
+ implemented by the {Geronimo}[http://geronimo.apache.org/] project.
10
+
11
+ == License
12
+
13
+ === rjack-jms-spec gem
14
+
15
+ Copyright (c) 2011 David Kellum
16
+
17
+ Licensed under the Apache License, Version 2.0 (the "License"); you
18
+ may not use this file except in compliance with the License. You
19
+ may obtain a copy of the License at:
20
+
21
+ http://www.apache.org/licenses/LICENSE-2.0
22
+
23
+ Unless required by applicable law or agreed to in writing, software
24
+ distributed under the License is distributed on an "AS IS" BASIS,
25
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
26
+ implied. See the License for the specific language governing
27
+ permissions and limitations under the License.
28
+
29
+ === Geronimo JMS 1.1 Spec Implementation (java)
30
+
31
+ Copyright (c) 2003-2004 The Apache Software Foundation
32
+
33
+ Licensed under the Apache License, Version 2.0 (the "License"); you
34
+ may not use this file except in compliance with the License. You
35
+ may obtain a copy of the License at:
36
+
37
+ http://www.apache.org/licenses/LICENSE-2.0
38
+
39
+ Unless required by applicable law or agreed to in writing, software
40
+ distributed under the License is distributed on an "AS IS" BASIS,
41
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
42
+ implied. See the License for the specific language governing
43
+ permissions and limitations under the License.
@@ -0,0 +1,42 @@
1
+ # -*- ruby -*-
2
+
3
+ $LOAD_PATH << './lib'
4
+ require 'rjack-jms-spec/base'
5
+
6
+ require 'rubygems'
7
+ gem 'rjack-tarpit', '~> 1.3.0'
8
+ require 'rjack-tarpit'
9
+
10
+ include RJack
11
+
12
+ t = TarPit.new( 'rjack-jms-spec', JMSSpec::VERSION, :java_platform )
13
+
14
+ t.specify do |h|
15
+ h.developer( "David Kellum", "dek-oss@gravitext.com" )
16
+ h.rubyforge_name = "rjack"
17
+ h.remote_rdoc_dir = "jms-spec"
18
+ end
19
+
20
+ t.jars = [ "geronimo-jms_#{JMSSpec::JMS_VERSION}_spec-#{JMSSpec::GERONIMO_VERSION}.jar" ]
21
+
22
+ t.assembly_version = 1.0
23
+
24
+ file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
25
+
26
+ task :check_pom_deps do
27
+ t.test_line_match( 'pom.xml',
28
+ %r[<version>#{ JMSSpec::GERONIMO_VERSION }</version>] )
29
+ end
30
+
31
+ task :check_history_version do
32
+ t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
33
+ end
34
+ task :check_history_date do
35
+ t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
36
+ end
37
+
38
+ task :gem => [ :check_pom_deps, :check_history_version ]
39
+ task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ]
40
+ task :push => [ :check_history_date ]
41
+
42
+ t.define_tasks
@@ -0,0 +1,14 @@
1
+ <assembly>
2
+ <id>bin</id>
3
+ <formats>
4
+ <format>dir</format>
5
+ </formats>
6
+ <includeBaseDirectory>false</includeBaseDirectory>
7
+ <dependencySets>
8
+ <dependencySet>
9
+ <includes>
10
+ <include>org.apache.geronimo.specs:geronimo-jms_1.1_spec</include>
11
+ </includes>
12
+ </dependencySet>
13
+ </dependencySets>
14
+ </assembly>
@@ -0,0 +1,25 @@
1
+ #--
2
+ # Copyright (c) 2011 David Kellum
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
5
+ # may not use this file except in compliance with the License. You
6
+ # may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
+ # implied. See the License for the specific language governing
14
+ # permissions and limitations under the License.
15
+ #++
16
+
17
+ require 'rjack-jms-spec/base'
18
+
19
+ # JMS Spec module
20
+ #
21
+ module RJack
22
+ module JMSSpec
23
+ require "#{LIB_DIR}/geronimo-jms_#{JMS_VERSION}_spec-#{GERONIMO_VERSION}.jar"
24
+ end
25
+ end
@@ -0,0 +1,31 @@
1
+ #--
2
+ # Copyright (c) 2011 David Kellum
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
5
+ # may not use this file except in compliance with the License. You
6
+ # may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
+ # implied. See the License for the specific language governing
14
+ # permissions and limitations under the License.
15
+ #++
16
+
17
+ module RJack
18
+ module JMSSpec
19
+
20
+ # JMS specification version
21
+ JMS_VERSION = '1.1'
22
+
23
+ # The Geronimo adaption version
24
+ GERONIMO_VERSION = '1.1.1'
25
+
26
+ # rjack gem version
27
+ VERSION = JMS_VERSION + '.1'
28
+
29
+ LIB_DIR = File.dirname( __FILE__ ) # :nodoc:
30
+ end
31
+ end
data/pom.xml ADDED
@@ -0,0 +1,41 @@
1
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2
+
3
+ <modelVersion>4.0.0</modelVersion>
4
+ <groupId>rjack</groupId>
5
+ <artifactId>rjack-jms-spec</artifactId>
6
+ <packaging>pom</packaging>
7
+ <version>1.0</version>
8
+ <name>JMS 1.1 specification</name>
9
+
10
+ <dependencies>
11
+ <dependency>
12
+ <groupId>org.apache.geronimo.specs</groupId>
13
+ <artifactId>geronimo-jms_1.1_spec</artifactId>
14
+ <version>1.1.1</version>
15
+ </dependency>
16
+ </dependencies>
17
+
18
+ <build>
19
+ <plugins>
20
+ <plugin>
21
+ <artifactId>maven-assembly-plugin</artifactId>
22
+ <configuration>
23
+ <descriptors>
24
+ <descriptor>assembly.xml</descriptor>
25
+ </descriptors>
26
+ <tarLongFileMode>gnu</tarLongFileMode>
27
+ </configuration>
28
+ <executions>
29
+ <execution>
30
+ <id>assembly</id>
31
+ <phase>package</phase>
32
+ <goals>
33
+ <goal>attached</goal>
34
+ </goals>
35
+ </execution>
36
+ </executions>
37
+ </plugin>
38
+ </plugins>
39
+ </build>
40
+
41
+ </project>
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+ #--
4
+ # Copyright (c) 2011 David Kellum
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
7
+ # may not use this file except in compliance with the License. You
8
+ # may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
+ # implied. See the License for the specific language governing
16
+ # permissions and limitations under the License.
17
+ #++
18
+
19
+ $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
20
+
21
+ require 'java'
22
+ require 'rubygems'
23
+ require 'rjack-jms-spec'
24
+
25
+ require 'test/unit'
26
+
27
+ class TestJmsSpec < Test::Unit::TestCase
28
+ import 'javax.jms.Session'
29
+
30
+ def test_load
31
+ assert( true ) #FIXME: Just asserting that the load works for now
32
+ end
33
+ end
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rjack-jms-spec
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 1
8
+ - 1
9
+ version: 1.1.1
10
+ platform: java
11
+ authors:
12
+ - David Kellum
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-02-05 00:00:00 -08:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rjack-tarpit
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 3
30
+ - 0
31
+ version: 1.3.0
32
+ type: :development
33
+ version_requirements: *id001
34
+ description: |-
35
+ A gem packaging of JMS 1.1 specification classes (javax.jms) as
36
+ implemented by the {Geronimo}[http://geronimo.apache.org/] project.
37
+ email:
38
+ - dek-oss@gravitext.com
39
+ executables: []
40
+
41
+ extensions: []
42
+
43
+ extra_rdoc_files:
44
+ - Manifest.txt
45
+ - NOTICE.txt
46
+ - History.rdoc
47
+ - README.rdoc
48
+ files:
49
+ - History.rdoc
50
+ - Manifest.txt
51
+ - NOTICE.txt
52
+ - README.rdoc
53
+ - Rakefile
54
+ - assembly.xml
55
+ - pom.xml
56
+ - lib/rjack-jms-spec/base.rb
57
+ - lib/rjack-jms-spec.rb
58
+ - test/test_jms_spec.rb
59
+ - lib/rjack-jms-spec/geronimo-jms_1.1_spec-1.1.1.jar
60
+ has_rdoc: true
61
+ homepage: http://rjack.rubyforge.org
62
+ licenses: []
63
+
64
+ post_install_message:
65
+ rdoc_options:
66
+ - --main
67
+ - README.rdoc
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ segments:
75
+ - 0
76
+ version: "0"
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ segments:
82
+ - 0
83
+ version: "0"
84
+ requirements: []
85
+
86
+ rubyforge_project: rjack
87
+ rubygems_version: 1.3.6
88
+ signing_key:
89
+ specification_version: 3
90
+ summary: A gem packaging of JMS 1.1 specification classes (javax.jms) as implemented by the {Geronimo}[http://geronimo.apache.org/] project.
91
+ test_files:
92
+ - test/test_jms_spec.rb