ittayd-buildr 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. data/CHANGELOG +62 -9
  2. data/NOTICE +1 -1
  3. data/README.rdoc +9 -21
  4. data/Rakefile +20 -39
  5. data/_buildr +1 -0
  6. data/{spec/java/ant.rb → _jbuildr} +11 -15
  7. metadata +30 -210
  8. data/DISCLAIMER +0 -7
  9. data/addon/buildr/antlr.rb +0 -65
  10. data/addon/buildr/cobertura.rb +0 -22
  11. data/addon/buildr/drb.rb +0 -281
  12. data/addon/buildr/emma.rb +0 -22
  13. data/addon/buildr/hibernate.rb +0 -142
  14. data/addon/buildr/javacc.rb +0 -85
  15. data/addon/buildr/jdepend.rb +0 -60
  16. data/addon/buildr/jetty.rb +0 -248
  17. data/addon/buildr/jibx.rb +0 -86
  18. data/addon/buildr/nailgun.rb +0 -221
  19. data/addon/buildr/openjpa.rb +0 -90
  20. data/addon/buildr/org/apache/buildr/BuildrNail$Main.class +0 -0
  21. data/addon/buildr/org/apache/buildr/BuildrNail.class +0 -0
  22. data/addon/buildr/org/apache/buildr/BuildrNail.java +0 -41
  23. data/addon/buildr/org/apache/buildr/JettyWrapper$1.class +0 -0
  24. data/addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class +0 -0
  25. data/addon/buildr/org/apache/buildr/JettyWrapper.class +0 -0
  26. data/addon/buildr/org/apache/buildr/JettyWrapper.java +0 -144
  27. data/addon/buildr/path.rb +0 -136
  28. data/addon/buildr/xmlbeans.rb +0 -93
  29. data/buildr.buildfile +0 -53
  30. data/buildr.gemspec +0 -58
  31. data/doc/css/default.css +0 -228
  32. data/doc/css/print.css +0 -100
  33. data/doc/css/syntax.css +0 -52
  34. data/doc/images/apache-incubator-logo.png +0 -0
  35. data/doc/images/buildr-hires.png +0 -0
  36. data/doc/images/buildr.png +0 -0
  37. data/doc/images/favicon.png +0 -0
  38. data/doc/images/growl-icon.tiff +0 -0
  39. data/doc/images/note.png +0 -0
  40. data/doc/images/project-structure.png +0 -0
  41. data/doc/images/tip.png +0 -0
  42. data/doc/images/zbuildr.tif +0 -0
  43. data/doc/pages/artifacts.textile +0 -207
  44. data/doc/pages/building.textile +0 -240
  45. data/doc/pages/contributing.textile +0 -208
  46. data/doc/pages/download.textile +0 -62
  47. data/doc/pages/extending.textile +0 -175
  48. data/doc/pages/getting_started.textile +0 -273
  49. data/doc/pages/index.textile +0 -42
  50. data/doc/pages/languages.textile +0 -407
  51. data/doc/pages/mailing_lists.textile +0 -17
  52. data/doc/pages/more_stuff.textile +0 -314
  53. data/doc/pages/packaging.textile +0 -427
  54. data/doc/pages/projects.textile +0 -274
  55. data/doc/pages/recipes.textile +0 -103
  56. data/doc/pages/settings_profiles.textile +0 -274
  57. data/doc/pages/testing.textile +0 -212
  58. data/doc/pages/troubleshooting.textile +0 -103
  59. data/doc/pages/whats_new.textile +0 -323
  60. data/doc/print.haml +0 -51
  61. data/doc/print.toc.yaml +0 -29
  62. data/doc/scripts/buildr-git.rb +0 -412
  63. data/doc/scripts/install-jruby.sh +0 -44
  64. data/doc/scripts/install-linux.sh +0 -64
  65. data/doc/scripts/install-osx.sh +0 -52
  66. data/doc/site.haml +0 -56
  67. data/doc/site.toc.yaml +0 -47
  68. data/etc/KEYS +0 -151
  69. data/etc/git-svn-authors +0 -16
  70. data/lib/buildr.rb +0 -33
  71. data/lib/buildr/core.rb +0 -29
  72. data/lib/buildr/core/application.rb +0 -665
  73. data/lib/buildr/core/build.rb +0 -311
  74. data/lib/buildr/core/checks.rb +0 -254
  75. data/lib/buildr/core/common.rb +0 -150
  76. data/lib/buildr/core/compile.rb +0 -590
  77. data/lib/buildr/core/environment.rb +0 -117
  78. data/lib/buildr/core/filter.rb +0 -366
  79. data/lib/buildr/core/generate.rb +0 -195
  80. data/lib/buildr/core/help.rb +0 -119
  81. data/lib/buildr/core/osx.rb +0 -49
  82. data/lib/buildr/core/progressbar.rb +0 -156
  83. data/lib/buildr/core/project.rb +0 -923
  84. data/lib/buildr/core/test.rb +0 -715
  85. data/lib/buildr/core/transports.rb +0 -560
  86. data/lib/buildr/core/util.rb +0 -294
  87. data/lib/buildr/groovy.rb +0 -18
  88. data/lib/buildr/groovy/bdd.rb +0 -106
  89. data/lib/buildr/groovy/compiler.rb +0 -138
  90. data/lib/buildr/ide.rb +0 -19
  91. data/lib/buildr/ide/eclipse.rb +0 -222
  92. data/lib/buildr/ide/idea.ipr.template +0 -300
  93. data/lib/buildr/ide/idea.rb +0 -190
  94. data/lib/buildr/ide/idea7x.ipr.template +0 -290
  95. data/lib/buildr/ide/idea7x.rb +0 -212
  96. data/lib/buildr/java.rb +0 -23
  97. data/lib/buildr/java/ant.rb +0 -92
  98. data/lib/buildr/java/bdd.rb +0 -451
  99. data/lib/buildr/java/cobertura.rb +0 -236
  100. data/lib/buildr/java/commands.rb +0 -211
  101. data/lib/buildr/java/compiler.rb +0 -348
  102. data/lib/buildr/java/deprecated.rb +0 -141
  103. data/lib/buildr/java/emma.rb +0 -238
  104. data/lib/buildr/java/jruby.rb +0 -117
  105. data/lib/buildr/java/jtestr_runner.rb.erb +0 -116
  106. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.class +0 -0
  107. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.java +0 -119
  108. data/lib/buildr/java/packaging.rb +0 -717
  109. data/lib/buildr/java/pom.rb +0 -174
  110. data/lib/buildr/java/rjb.rb +0 -155
  111. data/lib/buildr/java/test_result.rb +0 -307
  112. data/lib/buildr/java/tests.rb +0 -329
  113. data/lib/buildr/java/version_requirement.rb +0 -172
  114. data/lib/buildr/packaging.rb +0 -24
  115. data/lib/buildr/packaging/archive.rb +0 -488
  116. data/lib/buildr/packaging/artifact.rb +0 -759
  117. data/lib/buildr/packaging/artifact_namespace.rb +0 -972
  118. data/lib/buildr/packaging/artifact_search.rb +0 -140
  119. data/lib/buildr/packaging/gems.rb +0 -102
  120. data/lib/buildr/packaging/package.rb +0 -233
  121. data/lib/buildr/packaging/tar.rb +0 -186
  122. data/lib/buildr/packaging/version_requirement.rb +0 -172
  123. data/lib/buildr/packaging/zip.rb +0 -64
  124. data/lib/buildr/packaging/ziptask.rb +0 -313
  125. data/lib/buildr/resources/buildr.icns +0 -0
  126. data/lib/buildr/scala.rb +0 -19
  127. data/lib/buildr/scala/compiler.rb +0 -109
  128. data/lib/buildr/scala/tests.rb +0 -203
  129. data/rakelib/apache.rake +0 -191
  130. data/rakelib/changelog.rake +0 -57
  131. data/rakelib/doc.rake +0 -103
  132. data/rakelib/package.rake +0 -76
  133. data/rakelib/release.rake +0 -65
  134. data/rakelib/rspec.rake +0 -83
  135. data/rakelib/rubyforge.rake +0 -56
  136. data/rakelib/scm.rake +0 -49
  137. data/rakelib/setup.rake +0 -81
  138. data/rakelib/stage.rake +0 -48
  139. data/spec/addon/drb_spec.rb +0 -328
  140. data/spec/core/application_spec.rb +0 -419
  141. data/spec/core/build_spec.rb +0 -423
  142. data/spec/core/checks_spec.rb +0 -519
  143. data/spec/core/common_spec.rb +0 -670
  144. data/spec/core/compile_spec.rb +0 -582
  145. data/spec/core/generate_spec.rb +0 -33
  146. data/spec/core/project_spec.rb +0 -776
  147. data/spec/core/test_spec.rb +0 -1098
  148. data/spec/core/transport_spec.rb +0 -500
  149. data/spec/groovy/bdd_spec.rb +0 -80
  150. data/spec/groovy/compiler_spec.rb +0 -239
  151. data/spec/ide/eclipse_spec.rb +0 -311
  152. data/spec/java/bdd_spec.rb +0 -358
  153. data/spec/java/cobertura_spec.rb +0 -77
  154. data/spec/java/compiler_spec.rb +0 -446
  155. data/spec/java/emma_spec.rb +0 -120
  156. data/spec/java/java_spec.rb +0 -96
  157. data/spec/java/packaging_spec.rb +0 -1120
  158. data/spec/java/test_coverage_spec.rb +0 -255
  159. data/spec/java/tests_spec.rb +0 -471
  160. data/spec/packaging/archive_spec.rb +0 -503
  161. data/spec/packaging/artifact_namespace_spec.rb +0 -646
  162. data/spec/packaging/artifact_spec.rb +0 -795
  163. data/spec/packaging/packaging_helper.rb +0 -63
  164. data/spec/packaging/packaging_spec.rb +0 -589
  165. data/spec/sandbox.rb +0 -139
  166. data/spec/scala/compiler_spec.rb +0 -228
  167. data/spec/scala/tests_spec.rb +0 -215
  168. data/spec/spec_helpers.rb +0 -327
  169. data/spec/version_requirement_spec.rb +0 -123
@@ -1,136 +0,0 @@
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
- module Buildr
17
-
18
- # This Addon extends Buildr with a -C command line option like `make', `tar'
19
- # and other unix programs have and with a -p command line option to define a project
20
- #
21
- #
22
- # == Usage:
23
- # buildr -R buildr/path --help
24
- #
25
- # Note: This file must be loaded using the --require-early (-R) option since it
26
- # needs to be run before command line argument processing takes place.
27
- #
28
- # The --directory (-C) option instructs buildr to change the working directory
29
- # before trying to find the buildfile. This option can be useful when invoking
30
- # buildr from other build systems, most likely by your system package manager.
31
- #
32
- # The --project (-p) option specifies the default project to run tasks on, for example:
33
- # instead of:
34
- #
35
- # buildr deep:down:project:clean deep:down:project:compile deep:down:project:api:install
36
- #
37
- # you can do
38
- #
39
- # buildr -R buildr/path -p deep/down/project clean compile api/install
40
- #
41
- # You can do for example, to invoke the compile target on subproj:
42
- #
43
- # buildr -R buildr/path some/very/nested/subproj/compile
44
- #
45
- # Or invoke a filetask by its path:
46
- #
47
- # buildr -R buildr/path ./api/target/api-1.0.0.jar
48
- #
49
- # === TIP: Make your buildfile executable.
50
- #
51
- # If you always want to use path-like arguments for your project, you may want to edit your buildfile like:
52
- #
53
- # #!/usr/bin/env ruby
54
- # exit !!eval(DATA.read) if $0 == __FILE__ # run buildr unless included
55
- #
56
- # # all your buildfile project definitions go here
57
- #
58
- # __END__
59
- # require 'rubygems'
60
- # require 'buildr'
61
- # require 'buildr/path' # load this addon
62
- # Buildr.application.run(ARGV)
63
- #
64
- # Then just make it executable..
65
- # chmod 755 buildfile
66
- # And run it
67
- # ./buildfile -p deep/down/project clean compile api/install
68
- module PathArgs
69
-
70
- def standard_buildr_options
71
- super +
72
- [
73
- ['--directory', '-C DIR', 'Change to DIR before doing anything.',
74
- lambda { |value|
75
- value = File.expand_path(value, original_dir)
76
- raise ArgumentError, "Not a directory: #{value}" unless File.directory?(value)
77
- options.requested_workdir = value
78
- }
79
- ],
80
- ['--project', '-p PROJECT', 'Set project as the local project.',
81
- lambda { |value|
82
- raise ArgumentError, "Not a directory: #{value}" if value.include?(File::SEPARATOR) and not File.directory?(value)
83
- options.requested_workproj = value
84
- }
85
- ]
86
- ]
87
- end
88
-
89
- # Lookup for a task using the given task_name.
90
- # This method extends Rake's functionality to obtain the task for a file path
91
- # or the build task if given a project basedir.
92
- def lookup(task_name, initial_scope=nil) #nodoc:
93
- unless task = super
94
- original = File.expand_path(options.requested_workdir || '', original_dir)
95
- path = File.expand_path(task_name, original)
96
- if !(task = @tasks[path]) && project = Buildr::Project.local_projects(path).first
97
- project_path = project.path_to(nil)
98
- if project_path == path
99
- task = @tasks[project.name + ':build']
100
- else
101
- project_task = path.sub(/^#{project_path}\/?/, '').gsub('/',':')
102
- task = @tasks[project.name + ':' + project_task] || @tasks[project_task]
103
- end
104
- end
105
- end
106
- task
107
- end
108
-
109
- private
110
-
111
- def find_buildfile #:nodoc:
112
- path = File.expand_path(options.requested_workdir || '', original_dir)
113
- Dir.chdir(@original_dir = options.requested_workdir = path) if File.directory?(path)
114
- super
115
- end
116
-
117
- def top_level #:nodoc:
118
- if options.requested_workproj
119
- path = File.expand_path(options.requested_workproj, original_dir)
120
- if File.directory?(path)
121
- project = Buildr::Project.local_projects(options.requested_workproj).first
122
- else
123
- project_name = options.requested_workproj.gsub(File::SEPARATOR, ':')
124
- project = Buildr.project(project_name)
125
- end
126
- path = project.path_to(nil)
127
- Dir.chdir(@original_dir = path)
128
- end
129
- super
130
- end
131
-
132
- end # PathArgs
133
-
134
- Buildr.application.extend PathArgs
135
-
136
- end
@@ -1,93 +0,0 @@
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
-
20
-
21
- module Buildr
22
-
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
29
- module XMLBeans
30
-
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
-
41
- class << self
42
-
43
- def compile(*args)
44
- options = Hash === args.last ? args.pop : {}
45
- options[:verbose] ||= Rake.application.options.trace || false
46
- rake_check_options options, :verbose, :noop, :javasource, :jar, :compile, :output, :xsb
47
- puts "Running XMLBeans schema compiler" if verbose
48
- Buildr.ant "xmlbeans" do |ant|
49
- ant.taskdef :name=>"xmlbeans", :classname=>"org.apache.xmlbeans.impl.tool.XMLBean",
50
- :classpath=>requires.join(File::PATH_SEPARATOR)
51
- ant.xmlbeans :srconly=>"true", :srcgendir=>options[:output].to_s, :classgendir=>options[:output].to_s,
52
- :javasource=>options[:javasource] do
53
- args.flatten.each { |file| ant.fileset File.directory?(file) ? { :dir=>file } : { :file=>file } }
54
- end
55
- end
56
- # Touch paths to let other tasks know there's an update.
57
- touch options[:output].to_s, :verbose=>false
58
- end
59
-
60
- def requires()
61
- @requires ||= REQUIRES.artifacts.each(&:invoke).map(&:to_s)
62
- end
63
- end
64
-
65
- def compile_xml_beans(*args)
66
- # Run whenever XSD file changes, but typically we're given an directory of XSD files, or even file patterns
67
- # (the last FileList is there to deal with things like *.xsdconfig).
68
- files = args.flatten.map { |file| File.directory?(file) ? FileList["#{file}/*.xsd"] : FileList[file] }.flatten
69
- # Generate sources and add them to the compile task.
70
- generated = file(path_to(:target, :generated, :xmlbeans)=>files) do |task|
71
- XMLBeans.compile args.flatten, :output=>task.name,
72
- :javasource=>compile.options.source, :xsb=>compile.target
73
- end
74
- compile.using(:javac).from(generated).with(*XMLBeans.requires)
75
- # Once compiled, we need to copy the generated XSB/XSD and one (magical?) class file
76
- # into the target directory, or the rest is useless.
77
- compile do |task|
78
- verbose(false) do
79
- base = generated.to_s
80
- FileList["#{base}/**/*.{class,xsb,xsd}"].each do |file|
81
- target = File.join(compile.target.to_s, Util.relative_path(file, base))
82
- mkpath File.dirname(target) ; cp file, target
83
- end
84
- end
85
- end
86
- end
87
-
88
- end
89
-
90
- class Project
91
- include XMLBeans
92
- end
93
- end
@@ -1,53 +0,0 @@
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
- $LOADED_FEATURES << 'jruby' unless RUBY_PLATFORM =~ /java/ # Pretend to have JRuby, keeps Nailgun happy.
17
- require 'buildr/jetty'
18
- require 'buildr/nailgun'
19
- repositories.remote << 'http://repo1.maven.org/maven2'
20
- repositories.remote << 'http://scala-tools.org/repo-releases/'
21
-
22
-
23
- define 'buildr' do
24
- compile.using :source=>'1.4', :target=>'1.4', :debug=>false
25
-
26
- define 'java' do
27
- compile.using(:javac).from(FileList['lib/buildr/java/**/*.java']).into('lib/buildr/java')
28
- end
29
-
30
- desc 'Buildr extra packages (Antlr, Cobertura, Hibernate, Javacc, JDepend, Jetty, OpenJPA, XmlBeans)'
31
- define 'extra', :version=>'1.0' do
32
- compile.using(:javac).from(FileList['addon/buildr/**/*.java']).into('addon/buildr').with(Buildr::Jetty::REQUIRES, Buildr::Nailgun::ARTIFACT_SPEC)
33
- # Legals included in source code and show in RDoc.
34
- legal = 'LICENSE', 'DISCLAIMER', 'NOTICE'
35
- package(:gem).include(legal).path('lib').include('addon/buildr')
36
- package(:gem).spec do |spec|
37
- spec.author = 'Apache Buildr'
38
- spec.email = 'buildr-user@incubator.apache.org'
39
- spec.homepage = "http://incubator.apache.org/buildr"
40
- spec.rubyforge_project = 'buildr'
41
- spec.extra_rdoc_files = legal
42
- spec.rdoc_options << '--webcvs' << 'http://svn.apache.org/repos/asf/incubator/buildr/trunk/'
43
- spec.add_dependency 'buildr', '~> 1.3'
44
- end
45
-
46
- install do
47
- addon package(:gem)
48
- end
49
-
50
- upload do
51
- end
52
- end
53
- end
@@ -1,58 +0,0 @@
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.4'
20
- spec.author = 'Apache Buildr'
21
- spec.email = "buildr-user@incubator.apache.org"
22
- spec.homepage = "http://incubator.apache.org/buildr"
23
- spec.summary = "A build system that doesn't suck"
24
- spec.rubyforge_project = 'buildr'
25
-
26
- # Rakefile needs to create spec for both platforms (ruby and java), using the
27
- # $platform global variable. In all other cases, we figure it out from RUBY_PLATFORM.
28
- spec.platform = $platform || RUBY_PLATFORM[/java/] || 'ruby'
29
-
30
- spec.files = Dir['lib/**/*', 'bin/**/*', 'addon/**/*', 'doc/**/*', 'spec/**/*',
31
- 'README.rdoc', 'LICENSE', 'NOTICE', 'DISCLAIMER', 'CHANGELOG',
32
- 'buildr.*', 'Rakefile', 'rakelib/**/*', '_buildr', 'etc/**/*']
33
- spec.require_paths = ['lib', 'addon']
34
- spec.bindir = 'bin' # Use these for applications.
35
- spec.executable = 'buildr'
36
-
37
- spec.has_rdoc = true
38
- spec.extra_rdoc_files = ['README.rdoc', 'CHANGELOG', 'LICENSE', 'NOTICE', 'DISCLAIMER']
39
- spec.rdoc_options << '--title' << "Buildr" << '--main' << 'README.rdoc' <<
40
- '--line-numbers' << '--inline-source' << '-p' <<
41
- '--webcvs' << 'http://svn.apache.org/repos/asf/incubator/buildr/trunk/'
42
-
43
- # Tested against these dependencies.
44
- spec.add_dependency 'rake', '0.8.3'
45
- spec.add_dependency 'builder', '2.1.2'
46
- spec.add_dependency 'net-ssh', '2.0.4'
47
- spec.add_dependency 'net-sftp', '2.0.1'
48
- spec.add_dependency 'rubyzip', '0.9.1'
49
- spec.add_dependency 'highline', '1.4.0'
50
- spec.add_dependency 'rubyforge', '1.0.1'
51
- spec.add_dependency 'hoe', '1.8.1'
52
- spec.add_dependency 'rjb', '1.1.6' if spec.platform.to_s == 'ruby'
53
- spec.add_dependency 'Antwrap', '0.7.0'
54
- spec.add_dependency 'rspec', '1.1.11'
55
- spec.add_dependency 'xml-simple', '1.0.11'
56
- spec.add_dependency 'archive-tar-minitar', '0.5.2'
57
- spec.add_dependency 'jruby-openssl', '0.2' if spec.platform.to_s == 'java'
58
- end
@@ -1,228 +0,0 @@
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: 150%;
24
- font-size: 12pt;
25
- }
26
-
27
- a:link, a:visited{
28
- color: #0044b3;
29
- text-decoration: none;
30
- }
31
-
32
- a:hover{
33
- text-decoration: underline;
34
- }
35
-
36
- img {
37
- border: none;
38
- }
39
-
40
- pre, code {
41
- font-family: "DejaVu Sans Mono", "Courier New", "Courier";
42
- font-size: 11pt;
43
- }
44
- pre {
45
- margin: 0.3em 0 0.3em 0.9em;
46
- padding: 0;
47
- line-height: 135%;
48
- white-space: pre-wrap; /* css-3 */
49
- white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
50
- }
51
-
52
- h1, h2, h3 {
53
- padding: 0;
54
- margin: 1.6em 0 0.6em -0.9em;
55
- line-height: 1.25em;
56
- letter-spacing: 0.03em;
57
- }
58
-
59
- h1 {
60
- font-size: 2em;
61
- margin-top: 0;
62
- padding-bottom: 0.3em;
63
- border-bottom: 1px solid #808080;
64
- }
65
-
66
- h2 {
67
- font-size: 1.3em;
68
- padding-bottom: 0.3em;
69
- border-bottom: 1px solid #a0a0a0;
70
- }
71
-
72
- h3 {
73
- font-size: 1.1em;
74
- }
75
-
76
- blockquote {
77
- padding-left: 2em;
78
- padding-right: 2em;
79
- margin-left: 0.3em;
80
- margin-right: 0;
81
- border-left: 1px solid #3c78b5;
82
- }
83
-
84
- ul {
85
- list-style-type: disc;
86
- }
87
-
88
- ul ul {
89
- list-style-type: disc;
90
- padding-left: 1em;
91
- }
92
-
93
- table {
94
- border-spacing: 0;
95
- width: 100%;
96
- margin: 0.3em 0 0.3em 0;
97
- }
98
-
99
- th, td {
100
- padding: 0.3em 0.5em 0.3em 0.5em;
101
- border-bottom: 1px solid #D8D8D8;
102
- vertical-align: top;
103
- background-color: #FFFFFF;
104
- }
105
-
106
- th, thead td {
107
- border-bottom: none;
108
- background-color: #669966;
109
- color: #ffffff;
110
- text-align: left;
111
- }
112
-
113
-
114
- #wrap{
115
- margin: 1em auto 2em auto;
116
- text-align: left;
117
- width: 65em;
118
- }
119
-
120
-
121
- #header {
122
- margin: 0 0 3em 18em;
123
- }
124
-
125
- #header .tagline {
126
- float: right;
127
- font-size: 1.5em;
128
- font-weight: bold;
129
- position: relative;
130
- bottom: 4.5em;
131
- }
132
-
133
-
134
- #pages { /* Parent Wrapper for inside boxes */
135
- /* display: inline; */ /* IE Hack */
136
- width: 12em;
137
- float: left;
138
- text-align: left;
139
- margin-right: 2em;
140
- font-family: "DejaVu Sans", Verdana, Helvetica;
141
- font-size: 11pt;
142
- text-align: right;
143
- border-right: 1px solid #ccc;
144
- padding-right: 2em;
145
- }
146
- #pages ol {
147
- list-style: none;
148
- padding: 0;
149
- margin: 0;
150
- }
151
- #pages ol li {
152
- padding: 0.3em 0 0.6em 0em;
153
- color: #669966;
154
- font-weight: bold;
155
- }
156
- #pages ol li ol {
157
- margin-top: 0.3em;
158
- padding: 0.3em 0 0.9em 0.9em;
159
- }
160
- #pages ol li ol li {
161
- padding: 0.3em 0 0.3em 0em;
162
- }
163
- #pages ol li a {
164
- font-weight: normal;
165
- }
166
- #pages form {
167
- margin-top: 2em;
168
- padding: 0.3em 0 0.5em 0.5em;
169
- }
170
-
171
-
172
- #content { /* Parent Wrapper for inside boxes */
173
- /* display: inline; *//* IE Hack */
174
- float: right;
175
- width: 44em;
176
- margin-left: 0.3em;
177
- margin-bottom: 5em;
178
- }
179
-
180
- ol.toc {
181
- list-style: none;
182
- padding: 0;
183
- margin: 0 0 2em 0;
184
- }
185
- ol.toc li {
186
- padding: 0.3em 0 0.3em 0;
187
- margin: 0;
188
- }
189
- ol.toc li ol.toc {
190
- margin: 0;
191
- padding-left: 0.9em;
192
- }
193
-
194
-
195
- #content p.tip, #content p.note {
196
- margin: 0.9em 0 0 0;
197
- padding: 0 0 2em 4em;
198
- }
199
- #content p.tip { background: url("../images/tip.png") 0 0 no-repeat; }
200
- #content p.note { background: url("../images/note.png") 0 0 no-repeat; }
201
-
202
- #content .footnote {
203
- margin-top: 2.5em;
204
- }
205
- #content .footnote {
206
- padding-top: 1.5em;
207
- border-top: 1px solid #ccc;
208
- }
209
- #content .footnote + .footnote {
210
- margin-top: 0.5em;
211
- padding-top: 0;
212
- border: none;
213
- }
214
- #content .footnote sup { font-weight: bold; }
215
-
216
- #content .footnote-links dt { font-weight: bold; }
217
- #content .footnote-links dt:after { content: ": " }
218
- #content .footnote-links dd { }
219
-
220
-
221
- #footer {
222
- color: #888;
223
- border-top: 1px solid #ccc;
224
- font-size: 0.9em;
225
- padding: 0.3em;
226
- margin: 2em 0 3em 0em;
227
- clear: both;
228
- }