ivy4r 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt ADDED
@@ -0,0 +1,12 @@
1
+ === 0.2.0 / 2009-06-18
2
+
3
+ * added the Buildr ivy_extension to include ivy in buildr for dependency managment
4
+ * small improvements in documentation
5
+
6
+
7
+ === 0.1.0 / 2009-06-17
8
+
9
+ * initial release
10
+ * support for nearly all basic IVY Ant targets
11
+ * basic validation of parameters
12
+
data/Manifest.txt ADDED
@@ -0,0 +1,36 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ bin/ivy4r
6
+ lib/buildr/ivy_extension.rb
7
+ lib/ivy/artifactproperty.rb
8
+ lib/ivy/artifactreport.rb
9
+ lib/ivy/buildlist.rb
10
+ lib/ivy/buildnumber.rb
11
+ lib/ivy/cachepath.rb
12
+ lib/ivy/cleancache.rb
13
+ lib/ivy/configure.rb
14
+ lib/ivy/findrevision.rb
15
+ lib/ivy/info.rb
16
+ lib/ivy/listmodules.rb
17
+ lib/ivy/makepom.rb
18
+ lib/ivy/publish.rb
19
+ lib/ivy/report.rb
20
+ lib/ivy/resolve.rb
21
+ lib/ivy/retrieve.rb
22
+ lib/ivy/settings.rb
23
+ lib/ivy/target.rb
24
+ lib/ivy/targets.rb
25
+ lib/ivy4r.rb
26
+ test/buildlist/p1/buildfile
27
+ test/buildlist/p1/ivy.xml
28
+ test/buildlist/sub/p2/buildfile
29
+ test/buildlist/sub/p2/ivy.xml
30
+ test/buildlist/sub/p3/buildfile
31
+ test/buildlist/sub/p3/ivy.xml
32
+ test/ivy/ivysettings.xml
33
+ test/ivy/ivytest.xml
34
+ test/ivy/test_target.rb
35
+ test/ivy/test_targets.rb
36
+ test/test_ivy4r.rb
data/README.txt ADDED
@@ -0,0 +1,92 @@
1
+ = ivy4r
2
+
3
+ * http://github.com/klaas1979/ivy4r/tree/master
4
+ * http://ivy4r.rubyforge.org/
5
+
6
+ == DESCRIPTION:
7
+
8
+ Apache Ivy dependency manager wrapper for ruby (see {Apache Ivy}[http://ant.apache.org/ivy/index.html] for more information).
9
+ Use {Apache Ivy}[http://ant.apache.org/ivy/index.html] via a ruby wrapper without the need to use Apache Ant.
10
+ The wrapper uses Antwrap[http://antwrap.rubyforge.org/] to interface with Ivy.
11
+
12
+ Includes a Extension for Buildr[http://buildr.apache.org/] to use {Apache Ivy}[http://ant.apache.org/ivy/index.html]
13
+ for dependency management.
14
+
15
+ == FEATURES/PROBLEMS:
16
+
17
+ Supports most standard Ivy Ant targets via Antwrap.
18
+
19
+ === Supported Ivy targets:
20
+ * info
21
+ * settings
22
+ * configure
23
+ * cleancache
24
+ * buildnumber
25
+ * findrevision
26
+ * cachepath
27
+ * artifactreport
28
+ * resolve
29
+ * makepom
30
+ * retrieve
31
+ * publish
32
+ * artifactproperty
33
+ * report
34
+ * buildlist
35
+ * deliver
36
+ * install
37
+ * repreport
38
+
39
+ === Currently not working Ivy targets:
40
+ * listmodules
41
+
42
+ === Ivy targets that need to be implemented:
43
+ * deliver
44
+ * install
45
+ * repreport
46
+
47
+ === Unsupported Ivy Targets (they make no sense for the wrapper):
48
+ * cachefileset
49
+ * var
50
+
51
+ == SYNOPSIS:
52
+
53
+ To init a new Ivy4r instance set the ANT_HOME and the Ivy lib dir
54
+ ivy4r = Ivy4r.new
55
+ ivy4r.ant_home = 'PATH TO YOUR ANTHME'
56
+ ivy4r.lib_dir = 'PATH TO IVY LIB DIR'
57
+ as an alternative to setting the ANT_HOME you can set an +Antwrap+ instance directly:
58
+ ivy4r.ant = Buildr.ant('ivy')
59
+
60
+ == REQUIREMENTS:
61
+
62
+ * Installed Apache Ant, to call Ivy via Antwrap
63
+ * Ivy and dependencies in a single directory. Dependencies depends on used features, see the ivy homepage for more information.
64
+
65
+ == INSTALL:
66
+
67
+ * sudo gem install ivy4r
68
+
69
+ == LICENSE:
70
+
71
+ (The MIT License)
72
+
73
+ Copyright (c) 2009 blau Mobilfunk GmbH
74
+
75
+ Permission is hereby granted, free of charge, to any person obtaining
76
+ a copy of this software and associated documentation files (the
77
+ 'Software'), to deal in the Software without restriction, including
78
+ without limitation the rights to use, copy, modify, merge, publish,
79
+ distribute, sublicense, and/or sell copies of the Software, and to
80
+ permit persons to whom the Software is furnished to do so, subject to
81
+ the following conditions:
82
+
83
+ The above copyright notice and this permission notice shall be
84
+ included in all copies or substantial portions of the Software.
85
+
86
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
87
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
88
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
89
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
90
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
91
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
92
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,25 @@
1
+ # -*- ruby -*-
2
+ $:.unshift File.join(File.dirname(__FILE__), 'lib')
3
+
4
+ require 'rubygems'
5
+ require 'hoe'
6
+ require 'ivy4r'
7
+
8
+ hoe = Hoe.spec 'ivy4r' do |p|
9
+ # self.rubyforge_name = 'ivy4rx' # if different than 'ivy4r'
10
+ p.developer('Klaas Prause', 'klaas.prause@googlemail.com')
11
+ p.remote_rdoc_dir = '' # Release to root only one project
12
+ p.extra_deps = [['Antwrap', '>=0.7.0']]
13
+ File.open(File.join(File.dirname(__FILE__), 'VERSION'), 'w') do |file|
14
+ file.puts Ivy4r::VERSION
15
+ end
16
+ end
17
+
18
+ begin
19
+ require 'jeweler'
20
+ Jeweler::Tasks.new(hoe.spec)
21
+ rescue LoadError
22
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
23
+ end
24
+
25
+ # vim: syntax=ruby
data/bin/ivy4r ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ abort "makes no sense for ivy4r!"