buildr 1.2.10 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +566 -268
- data/DISCLAIMER +7 -1
- data/KEYS +151 -0
- data/NOTICE +23 -8
- data/README +122 -22
- data/Rakefile +49 -229
- data/{lib → addon}/buildr/antlr.rb +23 -10
- data/addon/buildr/cobertura.rb +232 -0
- data/{lib → addon}/buildr/hibernate.rb +20 -4
- data/{lib → addon}/buildr/javacc.rb +27 -12
- data/addon/buildr/jdepend.rb +60 -0
- data/{lib → addon}/buildr/jetty.rb +34 -18
- data/addon/buildr/nailgun.rb +892 -0
- data/{lib → addon}/buildr/openjpa.rb +23 -6
- data/addon/buildr/org/apache/buildr/JettyWrapper$1.class +0 -0
- data/addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class +0 -0
- data/addon/buildr/org/apache/buildr/JettyWrapper.class +0 -0
- data/{lib/buildr/jetty → addon/buildr/org/apache/buildr}/JettyWrapper.java +19 -0
- data/{lib → addon}/buildr/xmlbeans.rb +39 -14
- data/bin/buildr +21 -7
- data/buildr.gemspec +50 -0
- data/doc/css/default.css +225 -0
- data/doc/css/print.css +95 -0
- data/doc/css/syntax.css +43 -0
- data/doc/images/apache-incubator-logo.png +0 -0
- data/doc/images/buildr-hires.png +0 -0
- data/doc/images/buildr.png +0 -0
- data/doc/images/note.png +0 -0
- data/doc/images/tip.png +0 -0
- data/doc/images/zbuildr.tif +0 -0
- data/doc/pages/artifacts.textile +317 -0
- data/doc/pages/building.textile +501 -0
- data/doc/pages/contributing.textile +178 -0
- data/doc/pages/download.textile +25 -0
- data/doc/pages/extending.textile +229 -0
- data/doc/pages/getting_started.textile +337 -0
- data/doc/pages/index.textile +63 -0
- data/doc/pages/mailing_lists.textile +17 -0
- data/doc/pages/more_stuff.textile +367 -0
- data/doc/pages/packaging.textile +592 -0
- data/doc/pages/projects.textile +449 -0
- data/doc/pages/recipes.textile +127 -0
- data/doc/pages/settings_profiles.textile +339 -0
- data/doc/pages/testing.textile +475 -0
- data/doc/pages/troubleshooting.textile +121 -0
- data/doc/pages/whats_new.textile +389 -0
- data/doc/print.haml +52 -0
- data/doc/print.toc.yaml +28 -0
- data/doc/scripts/buildr-git.rb +411 -0
- data/doc/scripts/install-jruby.sh +44 -0
- data/doc/scripts/install-linux.sh +64 -0
- data/doc/scripts/install-osx.sh +52 -0
- data/doc/site.haml +55 -0
- data/doc/site.toc.yaml +44 -0
- data/lib/buildr.rb +28 -45
- data/lib/buildr/core.rb +27 -0
- data/lib/buildr/core/application.rb +373 -0
- data/lib/buildr/core/application_cli.rb +134 -0
- data/lib/{core → buildr/core}/build.rb +91 -77
- data/lib/{core → buildr/core}/checks.rb +116 -95
- data/lib/buildr/core/common.rb +155 -0
- data/lib/buildr/core/compile.rb +594 -0
- data/lib/buildr/core/environment.rb +120 -0
- data/lib/buildr/core/filter.rb +258 -0
- data/lib/{core → buildr/core}/generate.rb +22 -5
- data/lib/buildr/core/help.rb +118 -0
- data/lib/buildr/core/progressbar.rb +156 -0
- data/lib/{core → buildr/core}/project.rb +468 -213
- data/lib/buildr/core/test.rb +690 -0
- data/lib/{core → buildr/core}/transports.rb +107 -127
- data/lib/buildr/core/util.rb +235 -0
- data/lib/buildr/ide.rb +19 -0
- data/lib/{java → buildr/ide}/eclipse.rb +86 -60
- data/lib/{java → buildr/ide}/idea.ipr.template +16 -0
- data/lib/buildr/ide/idea.rb +194 -0
- data/lib/buildr/ide/idea7x.ipr.template +290 -0
- data/lib/buildr/ide/idea7x.rb +210 -0
- data/lib/buildr/java.rb +26 -0
- data/lib/buildr/java/ant.rb +71 -0
- data/lib/buildr/java/bdd_frameworks.rb +267 -0
- data/lib/buildr/java/commands.rb +210 -0
- data/lib/buildr/java/compilers.rb +432 -0
- data/lib/buildr/java/deprecated.rb +141 -0
- data/lib/buildr/java/groovyc.rb +137 -0
- data/lib/buildr/java/jruby.rb +99 -0
- data/lib/buildr/java/org/apache/buildr/BuildrNail$Main.class +0 -0
- data/lib/buildr/java/org/apache/buildr/BuildrNail.class +0 -0
- data/lib/buildr/java/org/apache/buildr/BuildrNail.java +41 -0
- data/lib/buildr/java/org/apache/buildr/JavaTestFilter.class +0 -0
- data/lib/buildr/java/org/apache/buildr/JavaTestFilter.java +116 -0
- data/lib/buildr/java/packaging.rb +706 -0
- data/lib/{java → buildr/java}/pom.rb +20 -4
- data/lib/buildr/java/rjb.rb +142 -0
- data/lib/buildr/java/test_frameworks.rb +290 -0
- data/lib/buildr/java/version_requirement.rb +172 -0
- data/lib/buildr/packaging.rb +21 -0
- data/lib/{java → buildr/packaging}/artifact.rb +170 -179
- data/lib/buildr/packaging/artifact_namespace.rb +957 -0
- data/lib/buildr/packaging/artifact_search.rb +140 -0
- data/lib/buildr/packaging/gems.rb +102 -0
- data/lib/buildr/packaging/package.rb +233 -0
- data/lib/{tasks → buildr/packaging}/tar.rb +18 -1
- data/lib/{tasks → buildr/packaging}/zip.rb +153 -105
- data/rakelib/apache.rake +126 -0
- data/rakelib/changelog.rake +56 -0
- data/rakelib/doc.rake +103 -0
- data/rakelib/package.rake +44 -0
- data/rakelib/release.rake +53 -0
- data/rakelib/rspec.rake +81 -0
- data/rakelib/rubyforge.rake +45 -0
- data/rakelib/scm.rake +49 -0
- data/rakelib/setup.rake +59 -0
- data/rakelib/stage.rake +45 -0
- data/spec/application_spec.rb +316 -0
- data/spec/archive_spec.rb +494 -0
- data/spec/artifact_namespace_spec.rb +635 -0
- data/spec/artifact_spec.rb +738 -0
- data/spec/build_spec.rb +193 -0
- data/spec/checks_spec.rb +537 -0
- data/spec/common_spec.rb +579 -0
- data/spec/compile_spec.rb +561 -0
- data/spec/groovy_compilers_spec.rb +239 -0
- data/spec/java_bdd_frameworks_spec.rb +238 -0
- data/spec/java_compilers_spec.rb +446 -0
- data/spec/java_packaging_spec.rb +1042 -0
- data/spec/java_test_frameworks_spec.rb +414 -0
- data/spec/packaging_helper.rb +63 -0
- data/spec/packaging_spec.rb +589 -0
- data/spec/project_spec.rb +739 -0
- data/spec/sandbox.rb +116 -0
- data/spec/scala_compilers_spec.rb +239 -0
- data/spec/spec.opts +6 -0
- data/spec/spec_helpers.rb +283 -0
- data/spec/test_spec.rb +871 -0
- data/spec/transport_spec.rb +300 -0
- data/spec/version_requirement_spec.rb +115 -0
- metadata +188 -77
- data/lib/buildr/cobertura.rb +0 -89
- data/lib/buildr/jdepend.rb +0 -40
- data/lib/buildr/jetty/JettyWrapper$1.class +0 -0
- data/lib/buildr/jetty/JettyWrapper$BuildrHandler.class +0 -0
- data/lib/buildr/jetty/JettyWrapper.class +0 -0
- data/lib/buildr/scala.rb +0 -368
- data/lib/core/application.rb +0 -188
- data/lib/core/common.rb +0 -562
- data/lib/core/help.rb +0 -72
- data/lib/core/rake_ext.rb +0 -81
- data/lib/java/ant.rb +0 -71
- data/lib/java/compile.rb +0 -589
- data/lib/java/idea.rb +0 -159
- data/lib/java/java.rb +0 -432
- data/lib/java/packaging.rb +0 -581
- data/lib/java/test.rb +0 -795
- data/lib/tasks/concat.rb +0 -35
@@ -1,13 +1,30 @@
|
|
1
|
-
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
+
# contributor license agreements. See the NOTICE file distributed with this
|
3
|
+
# work for additional information regarding copyright ownership. The ASF
|
4
|
+
# licenses this file to you under the Apache License, Version 2.0 (the
|
5
|
+
# "License"); you may not use this file except in compliance with the License.
|
6
|
+
# You 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, WITHOUT
|
12
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
13
|
+
# License for the specific language governing permissions and limitations under
|
14
|
+
# the License.
|
15
|
+
|
16
|
+
|
17
|
+
require 'buildr/java'
|
18
|
+
|
2
19
|
|
3
20
|
module Buildr
|
4
21
|
|
5
22
|
# Provides OpenJPA bytecode enhancement and Mapping tool task. Require explicitly using <code>require "buildr/openjpa"</code>.
|
6
23
|
module OpenJPA
|
7
24
|
|
8
|
-
VERSION = "0.
|
25
|
+
VERSION = "1.0.1"
|
9
26
|
|
10
|
-
REQUIRES = [ "org.apache.openjpa:openjpa
|
27
|
+
REQUIRES = [ "org.apache.openjpa:openjpa:jar:#{VERSION}",
|
11
28
|
"commons-collections:commons-collections:jar:3.1",
|
12
29
|
"commons-dbcp:commons-dbcp:jar:1.2.1",
|
13
30
|
"commons-lang:commons-lang:jar:2.1",
|
@@ -17,7 +34,7 @@ module Buildr
|
|
17
34
|
"org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.0",
|
18
35
|
"net.sourceforge.serp:serp:jar:1.11.0" ]
|
19
36
|
|
20
|
-
Java.
|
37
|
+
Java.classpath << REQUIRES
|
21
38
|
|
22
39
|
class << self
|
23
40
|
|
@@ -60,8 +77,8 @@ module Buildr
|
|
60
77
|
end
|
61
78
|
|
62
79
|
def open_jpa_enhance(options = nil)
|
63
|
-
jpa_options = { :output=>compile.target, :classpath=>compile.
|
64
|
-
:properties=>path_to(
|
80
|
+
jpa_options = { :output=>compile.target, :classpath=>compile.dependencies,
|
81
|
+
:properties=>path_to(:source, :main, :resources, 'META-INF/persistence.xml') }
|
65
82
|
OpenJPA.enhance jpa_options.merge(options || {})
|
66
83
|
end
|
67
84
|
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,3 +1,22 @@
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with this
|
3
|
+
* work for additional information regarding copyright ownership. The ASF
|
4
|
+
* licenses this file to you under the Apache License, Version 2.0 (the
|
5
|
+
* "License"); you may not use this file except in compliance with the License.
|
6
|
+
* You 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, WITHOUT
|
12
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
13
|
+
* License for the specific language governing permissions and limitations
|
14
|
+
* under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
|
18
|
+
package org.apache.buildr;
|
19
|
+
|
1
20
|
import org.mortbay.jetty.Server;
|
2
21
|
import org.mortbay.jetty.Request;
|
3
22
|
import org.mortbay.jetty.Handler;
|
@@ -1,15 +1,43 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
+
# contributor license agreements. See the NOTICE file distributed with this
|
3
|
+
# work for additional information regarding copyright ownership. The ASF
|
4
|
+
# licenses this file to you under the Apache License, Version 2.0 (the
|
5
|
+
# "License"); you may not use this file except in compliance with the License.
|
6
|
+
# You 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, WITHOUT
|
12
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
13
|
+
# License for the specific language governing permissions and limitations under
|
14
|
+
# the License.
|
15
|
+
|
16
|
+
|
17
|
+
require 'buildr/java'
|
18
|
+
require 'buildr/java/ant'
|
19
|
+
|
3
20
|
|
4
21
|
module Buildr
|
5
22
|
|
6
23
|
# Provides XMLBeans schema compiler. Require explicitly using <code>require "buildr/xmlbeans"</code>.
|
24
|
+
#
|
25
|
+
# require 'buildr/xmlbeans'
|
26
|
+
# define 'some_proj' do
|
27
|
+
# compile_xml_beans _(:source, :main, :xsd) # the directory with *.xsd
|
28
|
+
# end
|
7
29
|
module XMLBeans
|
8
30
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
31
|
+
# You can use ArtifactNamespace to customize the versions of
|
32
|
+
# <code>:xmlbeans</code> or <code>:stax</code> used by this module:
|
33
|
+
#
|
34
|
+
# require 'buildr/xmlbeans'
|
35
|
+
# Buildr::XMLBeans::REQUIRES.xmlbeans = '2.2.0'
|
36
|
+
REQUIRES = ArtifactNamespace.for(self) do |ns|
|
37
|
+
ns.xmlbeans! 'org.apache.xmlbeans:xmlbeans:jar:2.3.0', '>2'
|
38
|
+
ns.stax_api! 'stax:stax-api:jar:>=1.0.1'
|
39
|
+
end
|
40
|
+
|
13
41
|
class << self
|
14
42
|
|
15
43
|
def compile(*args)
|
@@ -29,12 +57,9 @@ module Buildr
|
|
29
57
|
touch options[:output].to_s, :verbose=>false
|
30
58
|
end
|
31
59
|
|
32
|
-
private
|
33
|
-
|
34
60
|
def requires()
|
35
|
-
@requires ||=
|
61
|
+
@requires ||= REQUIRES.artifacts.each(&:invoke).map(&:to_s)
|
36
62
|
end
|
37
|
-
|
38
63
|
end
|
39
64
|
|
40
65
|
def compile_xml_beans(*args)
|
@@ -42,18 +67,18 @@ module Buildr
|
|
42
67
|
# (the last FileList is there to deal with things like *.xsdconfig).
|
43
68
|
files = args.flatten.map { |file| File.directory?(file) ? FileList["#{file}/*.xsd"] : FileList[file] }.flatten
|
44
69
|
# Generate sources and add them to the compile task.
|
45
|
-
generated = file(path_to(:target,
|
70
|
+
generated = file(path_to(:target, :generated, :xmlbeans)=>files) do |task|
|
46
71
|
XMLBeans.compile args.flatten, :output=>task.name,
|
47
72
|
:javasource=>compile.options.source, :xsb=>compile.target
|
48
73
|
end
|
49
|
-
compile.from(generated).with(
|
74
|
+
compile.using(:javac).from(generated).with(*XMLBeans.requires)
|
50
75
|
# Once compiled, we need to copy the generated XSB/XSD and one (magical?) class file
|
51
76
|
# into the target directory, or the rest is useless.
|
52
77
|
compile do |task|
|
53
78
|
verbose(false) do
|
54
|
-
base =
|
79
|
+
base = generated.to_s
|
55
80
|
FileList["#{base}/**/*.{class,xsb,xsd}"].each do |file|
|
56
|
-
target = File.join(compile.target.to_s,
|
81
|
+
target = File.join(compile.target.to_s, Util.relative_path(base, file))
|
57
82
|
mkpath File.dirname(target) ; cp file, target
|
58
83
|
end
|
59
84
|
end
|
data/bin/buildr
CHANGED
@@ -1,7 +1,21 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
# contributor license agreements. See the NOTICE file distributed with this
|
4
|
+
# work for additional information regarding copyright ownership. The ASF
|
5
|
+
# licenses this file to you under the Apache License, Version 2.0 (the
|
6
|
+
# "License"); you may not use this file except in compliance with the License.
|
7
|
+
# You 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, WITHOUT
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
14
|
+
# License for the specific language governing permissions and limitations under
|
15
|
+
# the License.
|
16
|
+
|
17
|
+
|
18
|
+
require 'rubygems'
|
19
|
+
require 'buildr'
|
20
|
+
|
21
|
+
Buildr.application.run
|
data/buildr.gemspec
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
+
# contributor license agreements. See the NOTICE file distributed with this
|
3
|
+
# work for additional information regarding copyright ownership. The ASF
|
4
|
+
# licenses this file to you under the Apache License, Version 2.0 (the
|
5
|
+
# "License"); you may not use this file except in compliance with the License.
|
6
|
+
# You 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, WITHOUT
|
12
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
13
|
+
# License for the specific language governing permissions and limitations under
|
14
|
+
# the License.
|
15
|
+
|
16
|
+
|
17
|
+
Gem::Specification.new do |spec|
|
18
|
+
spec.name = 'buildr'
|
19
|
+
spec.version = '1.3.0'
|
20
|
+
spec.author = 'Apache Buildr'
|
21
|
+
spec.email = "#{spec.name}-user@incubator.apache.org"
|
22
|
+
spec.homepage = "http://incubator.apache.org/#{spec.name}/"
|
23
|
+
spec.summary = 'A build system that doesn\'t suck'
|
24
|
+
|
25
|
+
spec.files = FileList['lib/**/*', 'addon/**/*', 'README', 'CHANGELOG', 'LICENSE', 'NOTICE', 'DISCLAIMER', 'KEYS',
|
26
|
+
'*.gemspec', 'Rakefile', 'rakelib/**/*', 'spec/**/*', 'doc/**/*'].to_ary
|
27
|
+
spec.require_paths = ['lib', 'addon']
|
28
|
+
spec.bindir = 'bin' # Use these for applications.
|
29
|
+
spec.executable = 'buildr'
|
30
|
+
|
31
|
+
spec.has_rdoc = true
|
32
|
+
spec.extra_rdoc_files = ['README', 'CHANGELOG', 'LICENSE', 'NOTICE', 'DISCLAIMER']
|
33
|
+
spec.rdoc_options << '--title' << "Buildr -- #{spec.summary}" <<
|
34
|
+
'--main' << 'README' << '--line-numbers' << '--inline-source' << '-p' <<
|
35
|
+
'--webcvs' << 'http://svn.apache.org/repos/asf/incubator/#{spec.name}/trunk/'
|
36
|
+
spec.rubyforge_project = 'buildr'
|
37
|
+
|
38
|
+
# Tested against these dependencies.
|
39
|
+
spec.add_dependency 'rake', '~> 0.8'
|
40
|
+
spec.add_dependency 'builder', '~> 2.1'
|
41
|
+
spec.add_dependency 'net-ssh', '~> 1.1'
|
42
|
+
spec.add_dependency 'net-sftp', '~> 1.1'
|
43
|
+
spec.add_dependency 'rubyzip', '~> 0.9'
|
44
|
+
spec.add_dependency 'highline', '~> 1.4'
|
45
|
+
spec.add_dependency 'Antwrap', '~> 0.7'
|
46
|
+
spec.add_dependency 'rspec', '~> 1.1'
|
47
|
+
spec.add_dependency 'xml-simple', '~> 1.0'
|
48
|
+
spec.add_dependency 'archive-tar-minitar', '~> 0.5'
|
49
|
+
spec.add_dependency 'rubyforge', '~> 0.4'
|
50
|
+
end
|
data/doc/css/default.css
ADDED
@@ -0,0 +1,225 @@
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with this
|
3
|
+
* work for additional information regarding copyright ownership. The ASF
|
4
|
+
* licenses this file to you under the Apache License, Version 2.0 (the
|
5
|
+
* "License"); you may not use this file except in compliance with the License.
|
6
|
+
* You 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, WITHOUT
|
12
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
13
|
+
* License for the specific language governing permissions and limitations
|
14
|
+
* under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
|
18
|
+
body {
|
19
|
+
background-color: #fff;
|
20
|
+
color: #000;
|
21
|
+
font-family: "DejaVu Sans", Verdana, Helvetica;
|
22
|
+
text-align: center;
|
23
|
+
line-height: 1.5em;
|
24
|
+
}
|
25
|
+
|
26
|
+
a:link, a:visited{
|
27
|
+
color: #0044b3;
|
28
|
+
text-decoration: none;
|
29
|
+
}
|
30
|
+
|
31
|
+
a:hover{
|
32
|
+
text-decoration: underline;
|
33
|
+
}
|
34
|
+
|
35
|
+
img {
|
36
|
+
border: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
pre, code { font-family: "DejaVu Sans Mono", "Courier New", "Courier"; }
|
40
|
+
pre { padding: 1em; }
|
41
|
+
pre.wrapped {
|
42
|
+
white-space: pre-wrap; /* css-3 */
|
43
|
+
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
44
|
+
}
|
45
|
+
|
46
|
+
h1, h2, h3 {
|
47
|
+
padding: 0.3em;
|
48
|
+
margin: 2.5em 0 0.5em -0.3em;
|
49
|
+
line-height: 1.25em;
|
50
|
+
letter-spacing: 0.03em;
|
51
|
+
}
|
52
|
+
|
53
|
+
h1 {
|
54
|
+
border-bottom: 1px solid #808080;
|
55
|
+
font-size: 2em;
|
56
|
+
margin-top: 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
h2 {
|
60
|
+
border-bottom: 1px solid #a0a0a0;
|
61
|
+
font-size: 1.3em;
|
62
|
+
}
|
63
|
+
|
64
|
+
h3 {
|
65
|
+
border-bottom: 1px solid #c0c0c0;
|
66
|
+
font-size: 1.1em;
|
67
|
+
}
|
68
|
+
|
69
|
+
blockquote {
|
70
|
+
padding-left: 2em;
|
71
|
+
padding-right: 2em;
|
72
|
+
margin-left: 0.3em;
|
73
|
+
margin-right: 0;
|
74
|
+
border-left: 1px solid #3c78b5;
|
75
|
+
}
|
76
|
+
|
77
|
+
ul {
|
78
|
+
list-style-type: disc;
|
79
|
+
}
|
80
|
+
|
81
|
+
ul ul {
|
82
|
+
list-style-type: disc;
|
83
|
+
padding-left: 1em;
|
84
|
+
}
|
85
|
+
|
86
|
+
table {
|
87
|
+
border-spacing: 0.2em 0;
|
88
|
+
}
|
89
|
+
|
90
|
+
th, td {
|
91
|
+
padding: 0.3em 0.5em 0.3em 0.5em;
|
92
|
+
border-bottom: 1px solid #D8D8D8;
|
93
|
+
vertical-align: top;
|
94
|
+
background-color: #FFFFFF;
|
95
|
+
}
|
96
|
+
|
97
|
+
th {
|
98
|
+
border-bottom: none;
|
99
|
+
background-color: #E5E5E5;
|
100
|
+
text-align: left;
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
#wrap{
|
105
|
+
margin: 1em auto 2em auto;
|
106
|
+
text-align: left;
|
107
|
+
width: 60em;
|
108
|
+
}
|
109
|
+
|
110
|
+
|
111
|
+
#header {
|
112
|
+
margin: 0;
|
113
|
+
}
|
114
|
+
|
115
|
+
#header img {
|
116
|
+
margin: 0 0 1em 0em;
|
117
|
+
}
|
118
|
+
|
119
|
+
#header .tagline {
|
120
|
+
float: right;
|
121
|
+
font-size: 1.5em;
|
122
|
+
font-weight: bold;
|
123
|
+
position: relative;
|
124
|
+
bottom: 4.5em;
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
#pages { /* Parent Wrapper for inside boxes */
|
129
|
+
/* display: inline; */ /* IE Hack */
|
130
|
+
width: 12em;
|
131
|
+
float: left;
|
132
|
+
text-align: left;
|
133
|
+
margin-right: 2em;
|
134
|
+
}
|
135
|
+
|
136
|
+
#pages ol {
|
137
|
+
list-style: none;
|
138
|
+
font-weight: bold;
|
139
|
+
padding: 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
#pages ol li {
|
143
|
+
border-top: 1px solid #E9E9E9;
|
144
|
+
padding: 0.3em 0 0.5em 0.5em;
|
145
|
+
}
|
146
|
+
|
147
|
+
#pages ol li a:link, #pages ol li a:visited {
|
148
|
+
color: #606060;
|
149
|
+
text-decoration: none;
|
150
|
+
}
|
151
|
+
|
152
|
+
#pages ol li a:hover {
|
153
|
+
color: #222;
|
154
|
+
text-decoration: none;
|
155
|
+
}
|
156
|
+
|
157
|
+
#pages form {
|
158
|
+
margin-top: 2em;
|
159
|
+
padding: 0.3em 0 0.5em 0.5em;
|
160
|
+
}
|
161
|
+
|
162
|
+
|
163
|
+
#content { /* Parent Wrapper for inside boxes */
|
164
|
+
/* display: inline; *//* IE Hack */
|
165
|
+
float: right;
|
166
|
+
width: 44em;
|
167
|
+
margin-left: 0.3em;
|
168
|
+
margin-bottom: 5em;
|
169
|
+
}
|
170
|
+
|
171
|
+
ol.toc {
|
172
|
+
list-style: none;
|
173
|
+
padding: 0;
|
174
|
+
margin-bottom: 2em !important;
|
175
|
+
}
|
176
|
+
|
177
|
+
ol.toc li {
|
178
|
+
padding: 0.3em 0 0.3em 0 !important;
|
179
|
+
margin: 0;
|
180
|
+
}
|
181
|
+
|
182
|
+
ol.toc ol.toc {
|
183
|
+
list-style: none;
|
184
|
+
margin: 0.3em 0 0 0 !important;
|
185
|
+
padding: 0;
|
186
|
+
}
|
187
|
+
|
188
|
+
ol.toc ol.toc li {
|
189
|
+
padding-left: 0.5em !important;
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
#content p.tip, #content p.note {
|
194
|
+
margin: 0.9em 0 0 0;
|
195
|
+
padding: 0 0 2em 4em;
|
196
|
+
}
|
197
|
+
#content p.tip { background: url("../images/tip.png") 0 0 no-repeat; }
|
198
|
+
#content p.note { background: url("../images/note.png") 0 0 no-repeat; }
|
199
|
+
|
200
|
+
#content .footnote {
|
201
|
+
margin-top: 2.5em;
|
202
|
+
}
|
203
|
+
#content .footnote {
|
204
|
+
padding-top: 1.5em;
|
205
|
+
border-top: 1px solid #ccc;
|
206
|
+
}
|
207
|
+
#content .footnote + .footnote {
|
208
|
+
margin-top: 0.5em;
|
209
|
+
padding-top: 0;
|
210
|
+
border: none;
|
211
|
+
}
|
212
|
+
#content .footnote sup { font-weight: bold; }
|
213
|
+
|
214
|
+
#content .footnote-links dt { font-weight: bold; }
|
215
|
+
#content .footnote-links dt:after { content: ": " }
|
216
|
+
#content .footnote-links dd { }
|
217
|
+
|
218
|
+
|
219
|
+
#footer {
|
220
|
+
border-top: 1px solid #444;
|
221
|
+
font-size: 0.9em;
|
222
|
+
padding: 0.3em;
|
223
|
+
margin: 2em 0 3em 0em;
|
224
|
+
clear: both;
|
225
|
+
}
|