buildr 1.4.11 → 1.4.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/CHANGELOG +22 -0
  2. data/README.rdoc +2 -0
  3. data/addon/buildr/checkstyle.rb +1 -1
  4. data/addon/buildr/gwt.rb +127 -82
  5. data/addon/buildr/wsgen.rb +19 -1
  6. data/buildr.gemspec +3 -1
  7. data/doc/_layouts/default.html +1 -1
  8. data/doc/download.textile +18 -6
  9. data/doc/index.textile +9 -18
  10. data/lib/buildr.rb +1 -0
  11. data/lib/buildr/clojure.rb +1 -1
  12. data/lib/buildr/clojure/shell.rb +1 -1
  13. data/lib/buildr/core/application.rb +3 -2
  14. data/lib/buildr/core/build.rb +2 -3
  15. data/lib/buildr/core/cc.rb +1 -1
  16. data/lib/buildr/core/checks.rb +2 -3
  17. data/lib/buildr/core/common.rb +1 -1
  18. data/lib/buildr/core/compile.rb +1 -1
  19. data/lib/buildr/core/doc.rb +2 -3
  20. data/lib/buildr/core/environment.rb +1 -1
  21. data/lib/buildr/core/filter.rb +1 -1
  22. data/lib/buildr/core/generate.rb +1 -1
  23. data/lib/buildr/core/help.rb +1 -1
  24. data/lib/buildr/core/jrebel.rb +1 -1
  25. data/lib/buildr/core/progressbar.rb +1 -1
  26. data/lib/buildr/core/project.rb +1 -1
  27. data/lib/buildr/core/run.rb +2 -2
  28. data/lib/buildr/core/shell.rb +2 -3
  29. data/lib/buildr/core/test.rb +1 -1
  30. data/lib/buildr/core/util.rb +1 -1
  31. data/lib/buildr/groovy/bdd.rb +1 -1
  32. data/lib/buildr/groovy/compiler.rb +1 -0
  33. data/lib/buildr/groovy/doc.rb +4 -4
  34. data/lib/buildr/groovy/shell.rb +2 -2
  35. data/lib/buildr/ide/eclipse.rb +1 -1
  36. data/lib/buildr/ide/idea.rb +45 -14
  37. data/lib/buildr/java/ant.rb +1 -1
  38. data/lib/buildr/java/bdd.rb +1 -1
  39. data/lib/buildr/java/cobertura.rb +1 -1
  40. data/lib/buildr/java/compiler.rb +3 -3
  41. data/lib/buildr/java/deprecated.rb +1 -1
  42. data/lib/buildr/java/doc.rb +3 -3
  43. data/lib/buildr/java/ecj.rb +2 -2
  44. data/lib/buildr/java/emma.rb +1 -1
  45. data/lib/buildr/java/external.rb +2 -2
  46. data/lib/buildr/java/packaging.rb +2 -3
  47. data/lib/buildr/java/pom.rb +1 -0
  48. data/lib/buildr/java/rjb.rb +1 -2
  49. data/lib/buildr/java/test_result.rb +1 -1
  50. data/lib/buildr/java/tests.rb +1 -1
  51. data/lib/buildr/java/version_requirement.rb +1 -1
  52. data/lib/buildr/packaging/archive.rb +2 -2
  53. data/lib/buildr/packaging/artifact.rb +1 -1
  54. data/lib/buildr/packaging/artifact_namespace.rb +1 -1
  55. data/lib/buildr/packaging/artifact_search.rb +1 -2
  56. data/lib/buildr/packaging/gems.rb +1 -1
  57. data/lib/buildr/packaging/package.rb +1 -1
  58. data/lib/buildr/packaging/tar.rb +1 -1
  59. data/lib/buildr/packaging/test_jar.rb +32 -0
  60. data/lib/buildr/packaging/version_requirement.rb +1 -1
  61. data/lib/buildr/packaging/zip.rb +4 -1
  62. data/lib/buildr/packaging/ziptask.rb +1 -1
  63. data/lib/buildr/run.rb +1 -1
  64. data/lib/buildr/scala/bdd.rb +2 -2
  65. data/lib/buildr/scala/compiler.rb +2 -1
  66. data/lib/buildr/scala/doc.rb +5 -4
  67. data/lib/buildr/scala/shell.rb +2 -2
  68. data/lib/buildr/scala/tests.rb +2 -2
  69. data/lib/buildr/shell.rb +2 -2
  70. data/lib/buildr/version.rb +2 -2
  71. data/rakelib/doc.rake +4 -5
  72. data/rakelib/stage.rake +1 -1
  73. data/spec/core/build_spec.rb +15 -6
  74. data/spec/core/common_spec.rb +0 -1
  75. data/spec/core/compile_spec.rb +24 -17
  76. data/spec/java/bdd_spec.rb +23 -27
  77. data/spec/java/packaging_spec.rb +35 -0
  78. data/spec/scala/compiler_spec.rb +8 -6
  79. metadata +6 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,25 @@
1
+ 1.4.12 (2013-05-04)
2
+ * Added: BUILDR-648 Add new package(:test_jar) packaging type.
3
+ Submitted by Mike Pettypiece.
4
+ * Fixed: BUILDR-666 ZipFile.open modifies file regardless of usage.
5
+ Reported by Pepijn Van Eeckhoudt, fix by Alex Boisvert.
6
+ * Change: Moved to using TravisCI to test the Linux variants.
7
+ * Added: Make the location of the wsdl in generated source configurable
8
+ in the wsgen addon.
9
+ * Added: When generating the GWT facet for Intellij IDEA modules, use
10
+ the gwt-dev maven artifact dependency if present as the SDK,
11
+ falling back to the existing behaviour if not possible.
12
+ * Added: Improved support for auto-detection of VCS dirs when creating
13
+ IDEA projects.
14
+ * Added: Added support for SuperDevMode in gwt addon and upgraded to
15
+ GWT 2.5.1 by default.
16
+ * Change: BUILDR-664 Update Checkstyle addon so that extra_dependencies is
17
+ empty by default. Submitted by Dieter Vrancken.
18
+ * Fixed: BUILDR-663 require 'buildr' fails for Ruby 2.0.0.
19
+ * Fixed: BUILDR-665 Java artifacts in build.yaml breaking ArchiveTask.
20
+ Submitted by Antonio Pérez Barrero.
21
+ * Fixed: BUILDR-662 reported time is much shorter than actual
22
+
1
23
  1.4.11 (2013-03-14)
2
24
  * Fixed: Multiple tests in TestNG 6.x versions were being incorrectly passed to
3
25
  the command line application.
data/README.rdoc CHANGED
@@ -108,6 +108,8 @@ If you prefer Git, a Git fork is available from http://github.com/buildr/buildr/
108
108
  To install Buildr locally from source:
109
109
 
110
110
  cd buildr
111
+ export JRUBY_OPTS="-J-XX:MaxPermSize=312m -J-Xmx1024M"
112
+ export JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=312m"
111
113
  rake install
112
114
 
113
115
  If the cutting edge doesn't work, make sure to check the CHANGELOG, to see
@@ -141,7 +141,7 @@ module Buildr
141
141
  end
142
142
 
143
143
  def extra_dependencies
144
- @extra_dependencies ||= [self.project.compile.dependencies, self.project.test.compile.dependencies].flatten
144
+ @extra_dependencies ||= []
145
145
  end
146
146
 
147
147
  protected
data/addon/buildr/gwt.rb CHANGED
@@ -1,82 +1,127 @@
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
- module GWT
18
-
19
- class << self
20
- # The specs for requirements
21
- def dependencies
22
- ['com.google.gwt:gwt-dev:jar:2.4.0']
23
- end
24
-
25
- def gwtc_main(modules, source_artifacts, output_dir, options = {})
26
- cp = Buildr.artifacts(self.dependencies).each(&:invoke).map(&:to_s) + Buildr.artifacts(source_artifacts).each(&:invoke).map(&:to_s)
27
- style = options[:style] || "OBFUSCATED," # "PRETTY", "DETAILED"
28
- log_level = options[:log_level] # ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
29
- workers = options[:workers] || 2
30
-
31
- args = []
32
- if log_level
33
- args << "-logLevel"
34
- args << log_level
35
- end
36
- args << "-strict"
37
- args << "-style"
38
- args << style
39
- args << "-localWorkers"
40
- args << workers
41
- args << "-war"
42
- args << output_dir
43
- if options[:compile_report_dir]
44
- args << "-compileReport"
45
- args << "-extra"
46
- args << options[:compile_report_dir]
47
- end
48
-
49
- if options[:draft_compile]
50
- args << "-draftCompile"
51
- end
52
-
53
- args += modules
54
-
55
- Java::Commands.java 'com.google.gwt.dev.Compiler', *(args + [{:classpath => cp, :properties => options[:properties], :java_args => options[:java_args]}])
56
- end
57
- end
58
-
59
- module ProjectExtension
60
- include Extension
61
-
62
- def gwt(module_names, options = {})
63
- output_key = options[:output_key] || project.id
64
- output_dir = project._(:target, :generated, :gwt, output_key)
65
- artifacts = (project.compile.sources + project.resources.sources).collect do |a|
66
- a.is_a?(String) ? file(a) : a
67
- end
68
- dependencies = artifacts(options[:dependencies]) || project.compile.dependencies
69
- task = file(output_dir) do
70
- Buildr::GWT.gwtc_main(module_names, dependencies + artifacts, output_dir, options.dup)
71
- end
72
- task.enhance(dependencies)
73
- task.enhance([project.compile])
74
- task
75
- end
76
- end
77
- end
78
- end
79
-
80
- class Buildr::Project
81
- include Buildr::GWT::ProjectExtension
82
- end
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
+ module GWT
18
+
19
+ class << self
20
+ # The specs for requirements
21
+ def dependencies
22
+ %w(com.google.gwt:gwt-dev:jar:2.5.1)
23
+ end
24
+
25
+ def gwtc_main(modules, source_artifacts, output_dir, unit_cache_dir, options = {})
26
+ cp = Buildr.artifacts(self.dependencies).each(&:invoke).map(&:to_s) + Buildr.artifacts(source_artifacts).each(&:invoke).map(&:to_s)
27
+ style = options[:style] || "OBFUSCATED," # "PRETTY", "DETAILED"
28
+ log_level = options[:log_level] # ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
29
+ workers = options[:workers] || 2
30
+
31
+ args = []
32
+ if log_level
33
+ args << "-logLevel"
34
+ args << log_level
35
+ end
36
+ args << "-strict"
37
+ args << "-style"
38
+ args << style
39
+ args << "-localWorkers"
40
+ args << workers
41
+ args << "-war"
42
+ args << output_dir
43
+ if options[:compile_report_dir]
44
+ args << "-compileReport"
45
+ args << "-extra"
46
+ args << options[:compile_report_dir]
47
+ end
48
+
49
+ if options[:draft_compile]
50
+ args << "-draftCompile"
51
+ end
52
+
53
+ if options[:enable_closure_compiler].nil? || options[:enable_closure_compiler]
54
+ args << "-XenableClosureCompiler"
55
+ end
56
+
57
+ args += modules
58
+
59
+ properties = options[:properties] ? options[:properties].dup : {}
60
+ properties["gwt.persistentunitcache"] = "true"
61
+ properties["gwt.persistentunitcachedir"] = unit_cache_dir
62
+
63
+ Java::Commands.java 'com.google.gwt.dev.Compiler', *(args + [{:classpath => cp, :properties => properties, :java_args => options[:java_args]}])
64
+ end
65
+
66
+ def superdev_dependencies
67
+ self.dependencies + %w(com.google.gwt:gwt-codeserver:jar:2.5.1)
68
+ end
69
+
70
+ def gwt_superdev(module_name, source_artifacts, work_dir, options = {})
71
+
72
+ cp = Buildr.artifacts(self.superdev_dependencies).each(&:invoke).map(&:to_s) + Buildr.artifacts(source_artifacts).each(&:invoke).map(&:to_s)
73
+
74
+ args = []
75
+ args << "-port" << (options[:port] || 5050)
76
+ args << "-workDir" << work_dir
77
+ (options[:src] || []).each do |src|
78
+ args << "-src" << src
79
+ end
80
+ args << module_name
81
+
82
+ properties = options[:properties] ? options[:properties].dup : {}
83
+
84
+ java_args = options[:java_args] ? options[:java_args].dup : {}
85
+
86
+ Java::Commands.java 'com.google.gwt.dev.codeserver.CodeServer', *(args + [{:classpath => cp, :properties => properties, :java_args => java_args}])
87
+ end
88
+ end
89
+
90
+ module ProjectExtension
91
+ include Extension
92
+
93
+ def gwt(module_names, options = {})
94
+ output_key = options[:output_key] || project.id
95
+ output_dir = project._(:target, :generated, :gwt, output_key)
96
+ artifacts = (project.compile.sources + project.resources.sources).collect do |a|
97
+ a.is_a?(String) ? file(a) : a
98
+ end
99
+ dependencies = artifacts(options[:dependencies]) || project.compile.dependencies
100
+
101
+ unit_cache_dir = project._(:target, :gwt, :unit_cache_dir, output_key)
102
+
103
+ task = file(output_dir) do
104
+ Buildr::GWT.gwtc_main(module_names, dependencies + artifacts, output_dir, unit_cache_dir, options.dup)
105
+ end
106
+ task.enhance(dependencies)
107
+ task.enhance([project.compile])
108
+ task
109
+ end
110
+
111
+ def gwt_superdev_runner(module_name, options = {})
112
+ dependencies = artifacts(options[:dependencies]) || project.compile.dependencies
113
+
114
+ desc "Run Superdev mode"
115
+ project.task("superdev") do
116
+ work_dir = project._(:target, :gwt, :superdev)
117
+ mkdir_p work_dir
118
+ Buildr::GWT.gwt_superdev(module_name, dependencies, work_dir, options)
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
124
+
125
+ class Buildr::Project
126
+ include Buildr::GWT::ProjectExtension
127
+ end
@@ -126,6 +126,7 @@ module Buildr
126
126
  # Buildr::Wsgen.wsdl2java(project, {_('src/main/wsdl/MyService.wsdl') => {:package => 'com.example'}})
127
127
  # Buildr::Wsgen.wsdl2java(project, {_('src/main/wsdl/MyService.wsdl') => {:output_dir => _(:target, :wsdl, :java)}})
128
128
  # Buildr::Wsgen.wsdl2java(project, {_('src/main/wsdl/MyService.wsdl') => {}}, :package => 'com.example' )
129
+ # Buildr::Wsgen.wsdl2java(project, {_('src/main/wsdl/MyService.wsdl') => {}}, :wsdl_location => 'file:META-INF/wsdl/SpecificTaskService.wsdl' )
129
130
  def wsdl2java(project, wsdls, options = {})
130
131
  desc "Generate java from wsdl"
131
132
  project.task("wsdl2java")
@@ -139,10 +140,27 @@ module Buildr
139
140
  wsdls.each_pair do |wsdl_file, config|
140
141
  pkg = config[:package] || options[:package]
141
142
  service = config[:service] || File.basename(wsdl_file, '.wsdl')
143
+ wsdl_location = config[:wsdl_location]
142
144
  java_file = "#{ws_dir}/#{pkg.gsub('.', '/')}/#{service}.java"
143
145
  project.file(java_file) do
144
146
  mkdir_p ws_dir
145
- `wsimport -keep -Xnocompile -target #{target} -s #{ws_dir} -p #{pkg} -wsdllocation META-INF/wsdl/#{service}.wsdl #{wsdl_file}`
147
+ command = []
148
+ command << "wsimport"
149
+ command << "-keep"
150
+ command << "-Xnocompile"
151
+ command << "-target"
152
+ command << target
153
+ command << "-s"
154
+ command << ws_dir
155
+ command << "-p"
156
+ command << pkg
157
+ if wsdl_location
158
+ command << "-wsdllocation"
159
+ command << wsdl_location
160
+ end
161
+ command << wsdl_file
162
+
163
+ `#{command.join(' ')}`
146
164
  if $? != 0 || !File.exist?(java_file)
147
165
  rm_rf java_file
148
166
  raise "Problem building webservices"
data/buildr.gemspec CHANGED
@@ -89,7 +89,9 @@ for those one-off tasks, with a language that's a joy to use.
89
89
  spec.add_development_dependency 'ci_reporter', '1.7.2'
90
90
 
91
91
  # NOTE: Must update all-in-one.rake if this is updated
92
- spec.add_development_dependency 'ffi-ncurses', '0.4.0' if $platform.to_s == 'java'
92
+ # ffi-ncurses Fails on several varieties of Ubuntu due to being unable to locate ncursesw library
93
+ # Should be able to just disable it
94
+ #spec.add_development_dependency 'ffi-ncurses', '0.4.0' if $platform.to_s == 'java'
93
95
  spec.add_development_dependency 'win32console' if $platform.to_s == 'x86-mswin32'
94
96
  # Ideally we would depend on psych when the platform has >= 1.9.2 support and jruby platform version > 1.6.6
95
97
  #spec.add_development_dependency 'psych' if RUBY_VERSION >= '1.9.2'
@@ -46,7 +46,7 @@
46
46
  </li>
47
47
  <li>Reference
48
48
  <ol class="toc">
49
- <li><a href='rdoc'>API</a></li>
49
+ <li><a href='rdoc/Buildr.html'>API</a></li>
50
50
  <li><a href='http://docs.rubyrake.org'>Rake</a></li>
51
51
  <li><a href='http://antwrap.rubyforge.org'>Antwrap</a></li>
52
52
  <li><a href='http://cwiki.apache.org/confluence/display/BUILDR/Common+Problems+and+Solutions'>Troubleshooting</a></li>
data/doc/download.textile CHANGED
@@ -20,16 +20,28 @@ The source code is included in both source and binary distribution, the Gem dist
20
20
 
21
21
  h2(#dist). Binaries and Source Code
22
22
 
23
+ h3. buildr 1.4.11 (2013-03-14)
24
+
25
+ |_. Package |_. MD5 Checksum |_. PGP |
26
+ | "buildr-1.4.11-java.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.11/buildr-1.4.11-java.gem | "2ad2134527b9fc7f4726a7b2350318c0":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11-java.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11-java.gem.asc |
27
+ | "buildr-1.4.11-x86-mswin32.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.11/buildr-1.4.11-x86-mswin32.gem | "ada93b14069c418d727c7f225e02b082":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11-x86-mswin32.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11-x86-mswin32.gem.asc |
28
+ | "buildr-1.4.11.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.11/buildr-1.4.11.gem | "89c09e4bfdbbd571d76e4b6f41c30ece":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11.gem.asc |
29
+ | "buildr-1.4.11.tgz":http://www.apache.org/dyn/closer.cgi/buildr/1.4.11/buildr-1.4.11.tgz | "ca7b4812001388883923b86caedbf16c":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11.tgz.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11.tgz.asc |
30
+ | "buildr-1.4.11.zip":http://www.apache.org/dyn/closer.cgi/buildr/1.4.11/buildr-1.4.11.zip | "d8e2cb88e0c365fb226404d2d9de3dfc":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11.zip.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.11/buildr-1.4.11.zip.asc |
31
+
32
+ p>. ("Release signing keys":http://www.apache.org/dist/buildr/1.4.11/KEYS)
33
+
34
+
23
35
  h3. buildr 1.4.10 (2013-02-17)
24
36
 
25
37
  |_. Package |_. MD5 Checksum |_. PGP |
26
- | "buildr-1.4.10-java.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.10/buildr-1.4.10-java.gem | "06f29fa49671a966397a771203e4aa79":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10-java.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10-java.gem.asc |
27
- | "buildr-1.4.10-x86-mswin32.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.10/buildr-1.4.10-x86-mswin32.gem | "3c998b0df3ed8d917fe163687ed37c4f":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10-x86-mswin32.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10-x86-mswin32.gem.asc |
28
- | "buildr-1.4.10.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.10/buildr-1.4.10.gem | "8c0335202c0acc4bfbb039edd8b23502":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10.gem.asc |
29
- | "buildr-1.4.10.tgz":http://www.apache.org/dyn/closer.cgi/buildr/1.4.10/buildr-1.4.10.tgz | "8f55b1a170a34dd37e01050c38a5195a":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10.tgz.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10.tgz.asc |
30
- | "buildr-1.4.10.zip":http://www.apache.org/dyn/closer.cgi/buildr/1.4.10/buildr-1.4.10.zip | "7e07c179383dc904e67b665444f3d4aa":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10.zip.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.10/buildr-1.4.10.zip.asc |
38
+ | "buildr-1.4.10-java.gem":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10-java.gem | "06f29fa49671a966397a771203e4aa79":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10-java.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10-java.gem.asc |
39
+ | "buildr-1.4.10-x86-mswin32.gem":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10-x86-mswin32.gem | "3c998b0df3ed8d917fe163687ed37c4f":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10-x86-mswin32.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10-x86-mswin32.gem.asc |
40
+ | "buildr-1.4.10.gem":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10.gem | "8c0335202c0acc4bfbb039edd8b23502":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10.gem.asc |
41
+ | "buildr-1.4.10.tgz":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10.tgz | "8f55b1a170a34dd37e01050c38a5195a":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10.tgz.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10.tgz.asc |
42
+ | "buildr-1.4.10.zip":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10.zip | "7e07c179383dc904e67b665444f3d4aa":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10.zip.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.10/buildr-1.4.10.zip.asc |
31
43
 
32
- p>. ("Release signing keys":http://www.apache.org/dist/buildr/1.4.10/KEYS)
44
+ p>. ("Release signing keys":http://archive.apache.org/dist/buildr/1.4.10/KEYS)
33
45
 
34
46
 
35
47
  h3. buildr 1.4.9 (2012-11-08)
data/doc/index.textile CHANGED
@@ -46,24 +46,15 @@ So let's get started. You can "read the documentation online":quick_start.html,
46
46
 
47
47
  h2(#news). What's New
48
48
 
49
- Highlights from Buildr 1.4.11 (2013-03-14)
50
-
51
- * Fixed: Multiple tests in TestNG 6.x versions were being incorrectly passed to the command line application.
52
-
53
-
54
- Highlights from Buildr 1.4.10 (2013-02-10)
55
-
56
- * Added: Support a single intermediate directory for each project hierarchy through an addon 'buildr/single_intermediate_layout'.
57
- * Fixed: Scala 2.10 support - compiler now uses additional/separate jars introduced in 2.10 such as scala-reflect.jar and scala-actor.jar
58
- * Added: Add an addon for NSIS.
59
- * Change: BUILDR-612 - Support the TestNG 6.x versions and default to 6.8.
60
- * Added: BUILDR-599 - Support the passing of arguments to testng test runner.
61
- * Fixed: Observer the per-project source version when generating IDEA module files.
62
- * Change: Sort the components in IDEA project files in the same order the idea sorts them.
63
- * Added: Created an addon 'buildr/wsgen' for generating wsdls from java and java from wsdls using the underlying wsgen tool.
64
- * Added: Create a 'buildr/gpg' addon that signs and uploads signatures when uploading artifacts. Inspired by a similar extension in the Apache ODE project by Tammo van Lessen.
65
- * Change: Require 'bundler/setup' as part of buildr startup to ensure that buildr always runs with up to date dependencies if a Gemfile is present.
66
- * Added: Create a simple extension that modifies the project layout to place generated files at the top level.
49
+ Highlights from Buildr 1.4.12 (2013-05-04)
50
+
51
+ * Added: BUILDR-648 Add new package(:test_jar) packaging type. Submitted by Mike Pettypiece.
52
+ * Fixed: BUILDR-666 ZipFile.open modifies file regardless of usage. Reported by Pepijn Van Eeckhoudt, fix by Alex Boisvert.
53
+ * Change: Moved to using TravisCI to test the Linux variants.
54
+ * Added: Make the location of the wsdl in generated source configurable in the wsgen addon.
55
+ * Added: Added support for SuperDevMode in gwt addon and upgraded to GWT 2.5.1 by default.
56
+ * Change: BUILDR-664 Update Checkstyle addon so that extra_dependencies is empty by default. Submitted by Dieter Vrancken.
57
+ * Fixed: BUILDR-663 require 'buildr' fails for Ruby 2.0.0.
67
58
 
68
59
  This is a partial list -- see the "CHANGELOG":CHANGELOG for full details.
69
60
 
data/lib/buildr.rb CHANGED
@@ -69,6 +69,7 @@ require 'buildr/packaging/ziptask'
69
69
  require 'buildr/packaging/tar'
70
70
  require 'buildr/packaging/gems'
71
71
  require 'buildr/packaging/zip'
72
+ require 'buildr/packaging/test_jar'
72
73
  require RUBY_PLATFORM == 'java' ? 'buildr/java/jruby' : 'buildr/java/rjb'
73
74
  require 'buildr/java/ant'
74
75
  require 'buildr/java/compiler'
@@ -14,7 +14,7 @@
14
14
  # the License.
15
15
 
16
16
 
17
- module Buildr::Clojure
17
+ module Buildr::Clojure #:nodoc:
18
18
 
19
19
  REQUIRES = ArtifactNamespace.for(self) do |ns|
20
20
  ns.clojure! 'org.clojure:clojure:jar:1.2.0'
@@ -13,7 +13,7 @@
13
13
  # License for the specific language governing permissions and limitations under
14
14
  # the License.
15
15
 
16
- module Buildr::Shell
16
+ module Buildr::Shell #:nodoc:
17
17
 
18
18
  class Clojure < Base
19
19
  include JRebel
@@ -124,6 +124,7 @@ module Buildr
124
124
  end
125
125
 
126
126
  def run
127
+ @start = Time.now
127
128
  standard_exception_handling do
128
129
  init 'Buildr'
129
130
  load_buildfile
@@ -234,7 +235,6 @@ module Buildr
234
235
  elsif options.execute
235
236
  eval options.execute
236
237
  else
237
- @start = Time.now
238
238
  top_level_tasks.each { |task_name| invoke_task(task_name) }
239
239
  if verbose
240
240
  elapsed = Time.now - @start
@@ -690,5 +690,6 @@ module FileUtils
690
690
  @fileutils_output.puts @fileutils_label + msg
691
691
  end
692
692
  end
693
- private_module_function :fu_output_message
693
+ module_function :fu_output_message
694
+ private_class_method :fu_output_message
694
695
  end
@@ -13,7 +13,7 @@
13
13
  # License for the specific language governing permissions and limitations under
14
14
  # the License.
15
15
 
16
- module Buildr
16
+ module Buildr #:nodoc:
17
17
 
18
18
  class Options
19
19
 
@@ -604,7 +604,6 @@ module Buildr
604
604
 
605
605
  end
606
606
 
607
-
608
- class Buildr::Project
607
+ class Buildr::Project #:nodoc:
609
608
  include Buildr::Build
610
609
  end