buildr 1.4.10-java → 1.4.11-java

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 1.4.11 (2013-03-14)
2
+ * Fixed: Multiple tests in TestNG 6.x versions were being incorrectly passed to
3
+ the command line application.
4
+
1
5
  1.4.10 (2013-02-10)
2
6
  * Added: Support a single intermediate directory for each project hierarchy
3
7
  through an addon 'buildr/single_intermediate_layout'.
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.10 (2013-02-17)
24
+
25
+ |_. 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 |
31
+
32
+ p>. ("Release signing keys":http://www.apache.org/dist/buildr/1.4.10/KEYS)
33
+
34
+
23
35
  h3. buildr 1.4.9 (2012-11-08)
24
36
 
25
37
  |_. Package |_. MD5 Checksum |_. PGP |
26
- | "buildr-1.4.9-java.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.9/buildr-1.4.9-java.gem | "5ef4ce3e4b44049842f16db642d6d4d4":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9-java.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9-java.gem.asc |
27
- | "buildr-1.4.9-x86-mswin32.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.9/buildr-1.4.9-x86-mswin32.gem | "24f6f063eea5c7d1aa60fedb4ec5f85e":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9-x86-mswin32.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9-x86-mswin32.gem.asc |
28
- | "buildr-1.4.9.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.9/buildr-1.4.9.gem | "e028943fa3342964c40b8a0bf1477b45":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9.gem.asc |
29
- | "buildr-1.4.9.tgz":http://www.apache.org/dyn/closer.cgi/buildr/1.4.9/buildr-1.4.9.tgz | "8c4b43b79d4f446cfd713d994451a76e":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9.tgz.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9.tgz.asc |
30
- | "buildr-1.4.9.zip":http://www.apache.org/dyn/closer.cgi/buildr/1.4.9/buildr-1.4.9.zip | "d879312ac99d46a66d816df119d71e17":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9.zip.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.9/buildr-1.4.9.zip.asc |
38
+ | "buildr-1.4.9-java.gem":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9-java.gem | "5ef4ce3e4b44049842f16db642d6d4d4":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9-java.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9-java.gem.asc |
39
+ | "buildr-1.4.9-x86-mswin32.gem":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9-x86-mswin32.gem | "24f6f063eea5c7d1aa60fedb4ec5f85e":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9-x86-mswin32.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9-x86-mswin32.gem.asc |
40
+ | "buildr-1.4.9.gem":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9.gem | "e028943fa3342964c40b8a0bf1477b45":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9.gem.asc |
41
+ | "buildr-1.4.9.tgz":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9.tgz | "8c4b43b79d4f446cfd713d994451a76e":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9.tgz.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9.tgz.asc |
42
+ | "buildr-1.4.9.zip":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9.zip | "d879312ac99d46a66d816df119d71e17":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9.zip.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.9/buildr-1.4.9.zip.asc |
31
43
 
32
- p>. ("Release signing keys":http://www.apache.org/dist/buildr/1.4.9/KEYS)
44
+ p>. ("Release signing keys":http://archive.apache.org/dist/buildr/1.4.9/KEYS)
33
45
 
34
46
 
35
47
  h3. buildr 1.4.8 (2012-11-01)
data/doc/index.textile CHANGED
@@ -46,54 +46,24 @@ 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.9 (Nov 8th, 2012)
50
-
51
- * Fixed: Fixed the interaction with the FileUtils classes. The last release
52
- introduced a non-deterministic bug that sometimes caused logging
53
- preferences to be ignored and the install method to be
54
- inadvertently overwritten.
55
-
56
- Highlights from Buildr 1.4.8 (Nov 1st, 2012)
57
-
58
- * Change: Revert to importing non-verbose FileUtils utility methods to match buildr 1.4.6 release and earlier.
59
- * Added: Experimental support for jacoco code coverage tool.
60
- * Fixed: BUILDR-655 - Support JDK1.7 under OSX
61
- * Change: Updated dependency versions;
62
- - builder (3.1.3)
63
- - rubyforge (2.0.4)
64
- - net-ssh (2.6.0)
65
- - hoe (3.1.0)
66
- - rjb (1.4.2)
67
- - rdoc (3.12)
68
- - xml-simple (1.1.1)
69
- - rspec-expectations (2.11.3)
70
- - rspec-mocks (2.11.3)
71
- - rspec-core (2.11.1)
72
- - rspec (2.11.0)
73
- - rubyzip (0.9.9)
74
- * Added: BUILDR-652 Generate buildfile from Eclipse workspace. (Niklaus Giger)
75
- * Fixed: BUILDR-627 Support explicitly listed source files in buildr cc task. (Christopher Tiwald)
76
- * Fixed: BUILDR-606 Transitive artifact resolution should not include artifacts in 'provided' scope in poms to
77
- match maven behaviour. (Julio Arias)
78
- * Change: BUILDR-640 Enable building jekyll and rdoc under more rubies. (Niklaus Giger)
79
- * Change: Mark Buildr:Bnd.remote_repository as deprecated as dependencies appear in maven central.
80
- * Added: BUILDR-654 Add the ability to configure the version of BND used by bnd addon. (Niklaus Giger)
81
- * Added: Create the git_auto_version addon that automatically specifies a version for a git project based
82
- on git describe.
83
- * Added: Integrate with Zinc (incremental compilation wrapper for scalac 2.9+)
84
- * Change: Default to Scala 2.9.2, ScalaTest 1.8, Scala Specs2 1.11,
85
- ScalaCheck 1.10.0.
86
- * Change: Scala artifact repository changed to
87
- http://oss.sonatype.org/content/repositories/releases
88
- * Added: BUILDR-645 Support Mercurial as a version control system (Tan Quach)
89
- * Fixed: BUILDR-646 TGZ files do not keep their permissions when extracted
90
- via Buildr::Unzip#extract
91
- * Added: Add add_exploded_ear_artifact and add_exploded_ejb_artifact to the idea project extension.
92
- * Change: Default to using Checkstyle 5.5 in the checkstyle addon.
93
- * Fixed: Fix the add_exploded_war_artifact method on the idea project by adding in missing method
94
- `partition_dependencies`.
95
- * Fixed: Fix the extension of the gwt plugin so that it can be required as an addon.
96
- * Fixed: Fix the undefined default_web_xml variable in the add_web_facet method on the idea project.
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.
97
67
 
98
68
  This is a partial list -- see the "CHANGELOG":CHANGELOG for full details.
99
69
 
@@ -337,7 +337,7 @@ module Buildr
337
337
  cmd_args << '-groups' << groups_args.join(",")
338
338
  end
339
339
  # run all tests in the same suite
340
- cmd_args << '-testclass' << tests
340
+ cmd_args << '-testclass' << (TestNG.version < "6.0" ? test : tests.join(','))
341
341
 
342
342
  cmd_args += options[:args] if options[:args]
343
343
 
@@ -14,5 +14,5 @@
14
14
  # the License.
15
15
 
16
16
  module Buildr
17
- VERSION = '1.4.10'.freeze
17
+ VERSION = '1.4.11'.freeze
18
18
  end
data/rakelib/doc.rake CHANGED
@@ -101,15 +101,29 @@ end
101
101
 
102
102
  # Update HTML + PDF documentation (but not rdoc, changelog etc.)
103
103
  desc "Publish non-release specific documentation to web site"
104
- task 'publish-doc' => %w(buildr.pdf _site) do
104
+ task 'publish-doc' => %w(buildr.pdf _site setup-local-site-svn) do
105
105
  cp 'buildr.pdf', '_site'
106
- target = "people.apache.org:/www/#{spec.name}.apache.org/"
107
- puts "Uploading new site to #{target} ..."
108
- sh 'rsync', '--progress', '--recursive', '_site/', target # Note: no --delete
109
- sh 'ssh', 'people.apache.org', 'chmod', '-f', '-R', 'g+w', "/www/#{spec.name}.apache.org/*"
106
+ puts 'Uploading new site ...'
107
+ sh 'rsync', '--progress', '--recursive', '_site/', 'site' # Note: no --delete
108
+ task('publish-site-svn').invoke
110
109
  puts 'Done'
111
110
  end
112
111
 
112
+ task 'publish-site-svn' do
113
+ sh 'svn', 'add', '--force', 'site'
114
+ sh 'svn', 'commit', 'site', '-m', 'Publish latest site'
115
+ end
116
+
117
+ desc 'Checkout or update site to local directory'
118
+ task 'setup-local-site-svn' do
119
+ if File.exist?('site')
120
+ sh 'svn', 'up', 'site'
121
+ sh 'svn', 'revert', '--recursive', 'site'
122
+ else
123
+ sh 'svn', 'co', 'https://svn.apache.org/repos/asf/buildr/site', 'site'
124
+ end
125
+ end
126
+
113
127
  task 'clobber' do
114
128
  rm_rf '_site'
115
129
  rm_f 'buildr.pdf'
data/rakelib/release.rake CHANGED
@@ -14,7 +14,7 @@
14
14
  # the License.
15
15
 
16
16
  desc "Release the next version of buildr from existing staged repository"
17
- task 'release' do
17
+ task 'release' => %w{setup-local-site-svn} do
18
18
  # First, we need to get all the staged files from Apache to _release.
19
19
  mkpath '_release'
20
20
  lambda do
@@ -35,10 +35,9 @@ task 'release' do
35
35
  sh 'ssh', 'people.apache.org', 'chmod', '-f', '-R', 'g+w', "#{remote_dir}/*"
36
36
  puts '[X] Uploaded packages to www.apache.org/dist'
37
37
 
38
- target = "people.apache.org:/www/#{spec.name}.apache.org/"
39
38
  puts "Uploading new site to #{spec.name}.apache.org ..."
40
- sh 'rsync', '--progress', '--recursive', '--delete', "_release/#{spec.version}/site/", target
41
- sh 'ssh', 'people.apache.org', 'chmod', '-f', '-R', 'g+w', "/www/#{spec.name}.apache.org/*"
39
+ sh 'rsync', '--progress', '--recursive', '--exclude', '.svn', '--delete', "_release/#{spec.version}/site/", 'site'
40
+ task('publish-site-svn').invoke
42
41
  puts "[X] Uploaded new site to #{spec.name}.apache.org"
43
42
  end.call
44
43
 
data/rakelib/stage.rake CHANGED
@@ -45,7 +45,7 @@ task 'prepare' do |task, args|
45
45
  git = `git status -s`
46
46
  fail "Cannot release unless all local changes are in Git:\n#{git}" if git[/^ M/] && ENV["IGNORE_GIT"].nil?
47
47
  puts '[X] There are no local changes, everything is in source control'
48
- end
48
+ end.call
49
49
 
50
50
  # Make sure we have a valid CHANGELOG entry for this release.
51
51
  lambda do
@@ -54,7 +54,16 @@ task 'prepare' do |task, args|
54
54
  header = File.readlines('CHANGELOG').first.chomp
55
55
  fail "Expecting CHANGELOG to start with #{expecting}, but found #{header} instead" unless expecting == header
56
56
  puts '[x] CHANGELOG indicates most recent version and today''s date'
57
- end
57
+ end.call
58
+
59
+ # Make sure we have a valid CHANGELOG entry for this release.
60
+ lambda do
61
+ puts 'Checking that doc/index.textile indicates most recent version and today''s date ... '
62
+ expecting = "Highlights from Buildr #{spec.version} (#{Time.now.strftime('%Y-%m-%d')})"
63
+ content = IO.read('doc/index.textile')
64
+ fail "Expecting doc/index.textile to contain #{expecting}" unless content.include?(expecting)
65
+ puts '[x] doc/index.textile indicates most recent version and today''s date'
66
+ end.call
58
67
 
59
68
  # Need GPG to sign the packages.
60
69
  lambda do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.10
4
+ version: 1.4.11
5
5
  prerelease:
6
6
  platform: java
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-17 00:00:00.000000000 Z
12
+ date: 2013-03-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake