jetty-jsp 6.1.11.2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ === 6.1.11.2.1.1 / 2008-11-02
2
+
3
+ * Initial release based on Jetty Web Server 6.1.11 JSP 2.1
4
+
@@ -0,0 +1,12 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ pom.xml
6
+ assembly.xml
7
+ lib/jetty-jsp.rb
8
+ lib/jetty-jsp/base.rb
9
+ lib/jetty-jsp/jsp-2.1-6.1.11.jar
10
+ lib/jetty-jsp/ant-1.6.5.jar
11
+ lib/jetty-jsp/jsp-api-2.1-6.1.11.jar
12
+ lib/jetty-jsp/core-3.1.1.jar
@@ -0,0 +1,73 @@
1
+ = jetty-jsp
2
+
3
+ * http://rjack.rubyforge.org
4
+ * http://rubyforge.org/projects/rjack
5
+
6
+ == Description
7
+
8
+ A gem packaging of the {Jetty Web Server}[http://www.mortbay.org/jetty/]
9
+ JSP 2.1 support for JRuby. This gem is provided as a companion to the
10
+ jetty[http://rjack.rubyforge.org/jetty/] gem.
11
+
12
+ == License
13
+
14
+ == License
15
+
16
+ === jetty-jsp ruby gem
17
+
18
+ Copyright (C) 2008 David Kellum
19
+
20
+ Licensed under the Apache License, Version 2.0 (the "License"); you
21
+ may not use this file except in compliance with the License. You
22
+ may obtain a copy of the License at:
23
+
24
+ http://www.apache.org/licenses/LICENSE-2.0
25
+
26
+ Unless required by applicable law or agreed to in writing, software
27
+ distributed under the License is distributed on an "AS IS" BASIS,
28
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
29
+ implied. See the License for the specific language governing
30
+ permissions and limitations under the License.
31
+
32
+ === Jetty Web Container (Java)
33
+
34
+ Copyright 1995-2008 Mort Bay Consulting Pty Ltd
35
+
36
+ Licensed under the Apache License, Version 2.0 (the "License");
37
+ you may not use this file except in compliance with the License.
38
+ You may obtain a copy of the License at
39
+
40
+ http://www.apache.org/licenses/LICENSE-2.0
41
+
42
+ Unless required by applicable law or agreed to in writing, software
43
+ distributed under the License is distributed on an "AS IS" BASIS,
44
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
45
+ See the License for the specific language governing permissions and
46
+ limitations under the License.
47
+
48
+ The Jetty Web Container is Copyright Mort Bay Consulting Pty Ltd
49
+ unless otherwise noted. It is licensed under the apache 2.0
50
+ license.
51
+
52
+ The javax.servlet package used by Jetty is copyright
53
+ Sun Microsystems, Inc and Apache Software Foundation. It is
54
+ distributed under the Common Development and Distribution License.
55
+ You can obtain a copy of the license at
56
+ https://glassfish.dev.java.net/public/CDDLv1.0.html.
57
+
58
+ The UnixCrypt.java code ~Implements the one way cryptography used by
59
+ Unix systems for simple password protection. Copyright 1996 Aki Yoshida,
60
+ modified April 2001 by Iris Van den Broeke, Daniel Deville.
61
+ Permission to use, copy, modify and distribute UnixCrypt
62
+ for non-commercial or commercial purposes and without fee is
63
+ granted provided that the copyright notice appears in all copies.
64
+
65
+ The default JSP implementation is provided by the Glassfish JSP engine
66
+ from project Glassfish http://glassfish.dev.java.net. Copyright 2005
67
+ Sun Microsystems, Inc. and portions Copyright Apache Software Foundation.
68
+
69
+ Some portions of the code are Copyright:
70
+ 2006 Tim Vernum
71
+ 1999 Jason Gilbert.
72
+
73
+ The jboss integration module contains some LGPL code.
@@ -0,0 +1,79 @@
1
+ # -*- ruby -*-
2
+ #--
3
+ # Copyright (C) 2008 David Kellum
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
6
+ # may not use this file except in compliance with the License. You
7
+ # may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14
+ # implied. See the License for the specific language governing
15
+ # permissions and limitations under the License.
16
+ #++
17
+
18
+ require 'rubygems'
19
+
20
+ ENV['NODOT'] = "no thank you"
21
+ require 'hoe'
22
+
23
+ $LOAD_PATH << './lib'
24
+ require 'jetty-jsp/base'
25
+
26
+ ASSEMBLY = "target/jetty-jsp-assembly-1.0-bin.dir"
27
+
28
+ desc "Update the Manifest with actual jars"
29
+ task :manifest => [ ASSEMBLY ] do
30
+ out = File.new( 'Manifest.txt', 'w' )
31
+ begin
32
+ out.write <<END
33
+ History.txt
34
+ Manifest.txt
35
+ README.txt
36
+ Rakefile
37
+ pom.xml
38
+ assembly.xml
39
+ lib/jetty-jsp.rb
40
+ lib/jetty-jsp/base.rb
41
+ END
42
+ out.puts( Dir.glob( File.join( ASSEMBLY, '*.jar' ) ).map do |jar|
43
+ File.join( 'lib', 'jetty-jsp', File.basename( jar ) )
44
+ end )
45
+ ensure
46
+ out.close
47
+ end
48
+ end
49
+
50
+
51
+ file ASSEMBLY => [ 'pom.xml', 'assembly.xml' ] do
52
+ sh( 'mvn package' )
53
+ end
54
+
55
+ JAR_FILES = File.new( 'Manifest.txt' ).readlines.map { |f| f.strip }\
56
+ .select { |f| f =~ /\.jar$/ }
57
+
58
+ JARS = JAR_FILES.map { |f| File.basename( f.strip ) }
59
+
60
+ JARS.each do |jar|
61
+ file "lib/jetty-jsp/#{jar}" => [ ASSEMBLY ] do
62
+ cp_r( File.join( ASSEMBLY, jar ), 'lib/jetty-jsp' )
63
+ end
64
+ end
65
+
66
+ [ :gem, :test ].each { |t| task t => JAR_FILES }
67
+
68
+ task :mvn_clean do
69
+ rm_f( JAR_FILES )
70
+ sh( 'mvn clean' )
71
+ end
72
+ task :clean => :mvn_clean
73
+
74
+ hoe = Hoe.new( "jetty-jsp", JettyJspBase::VERSION ) do |p|
75
+ p.developer( "David Kellum", "dek-ruby@gravitext.com" )
76
+ p.extra_deps << [ 'jetty', "~> #{JettyJspBase::JETTY_VERSION}" ]
77
+ p.rubyforge_name = "rjack"
78
+ p.rdoc_pattern = /^(lib.*\.(rb|txt))|[^\/]*\.txt$/
79
+ end
@@ -0,0 +1,17 @@
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.mortbay.jetty:jsp-2.1</include>
11
+ <include>org.mortbay.jetty:jsp-api-2.1</include>
12
+ <include>org.eclipse.jdt:core</include>
13
+ <include>ant:ant</include>
14
+ </includes>
15
+ </dependencySet>
16
+ </dependencySets>
17
+ </assembly>
@@ -0,0 +1,27 @@
1
+ #--
2
+ # Copyright (C) 2008 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 'rubygems'
18
+
19
+ require 'jetty-jsp/base'
20
+ require 'jetty'
21
+
22
+ # Loads jars for JSP 2.1 support
23
+ module JettyJsp
24
+ include JettyJspBase
25
+
26
+ Dir.glob( File.join( JETTY_JSP_DIR, '*.jar' ) ).each { |jar| require jar }
27
+ end
@@ -0,0 +1,25 @@
1
+ #--
2
+ # Copyright (C) 2008 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 JettyJspBase
18
+ JETTY_VERSION = '6.1.11'
19
+ JSP_VERSION = '2.1'
20
+ GEM_VERSION = '1'
21
+
22
+ VERSION = [ JETTY_VERSION, JSP_VERSION, GEM_VERSION ].join( '.' )
23
+
24
+ JETTY_JSP_DIR = File.dirname( __FILE__ ) # :nodoc:
25
+ end
data/pom.xml ADDED
@@ -0,0 +1,40 @@
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>com.gravitext</groupId>
5
+ <artifactId>jetty-jsp-assembly</artifactId>
6
+ <packaging>pom</packaging>
7
+ <version>1.0</version>
8
+
9
+ <dependencies>
10
+ <dependency>
11
+ <groupId>org.mortbay.jetty</groupId>
12
+ <artifactId>jsp-2.1</artifactId>
13
+ <version>6.1.11</version>
14
+ </dependency>
15
+ </dependencies>
16
+
17
+ <build>
18
+ <plugins>
19
+ <plugin>
20
+ <artifactId>maven-assembly-plugin</artifactId>
21
+ <configuration>
22
+ <descriptors>
23
+ <descriptor>assembly.xml</descriptor>
24
+ </descriptors>
25
+ <tarLongFileMode>gnu</tarLongFileMode>
26
+ </configuration>
27
+ <executions>
28
+ <execution>
29
+ <id>assembly</id>
30
+ <phase>package</phase>
31
+ <goals>
32
+ <goal>attached</goal>
33
+ </goals>
34
+ </execution>
35
+ </executions>
36
+ </plugin>
37
+ </plugins>
38
+ </build>
39
+
40
+ </project>
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ required_ruby_version: !ruby/object:Gem::Requirement
3
+ requirements:
4
+ - - '>='
5
+ - !ruby/object:Gem::Version
6
+ version: "0"
7
+ version:
8
+ email:
9
+ - dek-ruby@gravitext.com
10
+ cert_chain: []
11
+
12
+ summary: A gem packaging of the {Jetty Web Server}[http://www.mortbay.org/jetty/] JSP
13
+ 2.1 support for JRuby
14
+ post_install_message:
15
+ extra_rdoc_files:
16
+ - History.txt
17
+ - Manifest.txt
18
+ - README.txt
19
+ homepage: http://rjack.rubyforge.org
20
+ signing_key:
21
+ name: jetty-jsp
22
+ rdoc_options:
23
+ - --main
24
+ - README.txt
25
+ autorequire:
26
+ rubyforge_project: rjack
27
+ executables: []
28
+
29
+ description: A gem packaging of the {Jetty Web Server}[http://www.mortbay.org/jetty/] JSP
30
+ 2.1 support for JRuby. This gem is provided as a companion to the jetty[http://rjack.rubyforge.org/jetty/]
31
+ gem.
32
+ specification_version: 2
33
+ default_executable:
34
+ files:
35
+ - History.txt
36
+ - Manifest.txt
37
+ - README.txt
38
+ - Rakefile
39
+ - pom.xml
40
+ - assembly.xml
41
+ - lib/jetty-jsp.rb
42
+ - lib/jetty-jsp/base.rb
43
+ - lib/jetty-jsp/jsp-2.1-6.1.11.jar
44
+ - lib/jetty-jsp/ant-1.6.5.jar
45
+ - lib/jetty-jsp/jsp-api-2.1-6.1.11.jar
46
+ - lib/jetty-jsp/core-3.1.1.jar
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - '>='
50
+ - !ruby/object:Gem::Version
51
+ version: "0"
52
+ version:
53
+ extensions: []
54
+
55
+ rubygems_version: 1.3.1
56
+ requirements: []
57
+
58
+ authors:
59
+ - David Kellum
60
+ date: 2008-11-03 08:00:00 +00:00
61
+ platform: ruby
62
+ test_files: []
63
+
64
+ version: !ruby/object:Gem::Version
65
+ version: 6.1.11.2.1.1
66
+ require_paths:
67
+ - lib
68
+ dependencies:
69
+ - !ruby/object:Gem::Dependency
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ~>
73
+ - !ruby/object:Gem::Version
74
+ version: 6.1.11
75
+ version:
76
+ type: :runtime
77
+ version_requirement:
78
+ name: jetty
79
+ - !ruby/object:Gem::Dependency
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - '>='
83
+ - !ruby/object:Gem::Version
84
+ version: 1.8.2
85
+ version:
86
+ type: :development
87
+ version_requirement:
88
+ name: hoe
89
+ bindir: bin
90
+ has_rdoc: true