AntBuilder 0.4.2 → 0.4.3
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/docs/i.html +52 -0
- data/docs/pscp.exe +0 -0
- data/docs/publish.bat +4 -3
- data/examples/jruby/readme.txt +1 -1
- data/lib/builder/antbuilder.rb +4 -4
- metadata +31 -29
data/docs/i.html
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml/">
|
4
|
+
<head>
|
5
|
+
<title>JRuby Extras :: RubyForge</title>
|
6
|
+
<style type="text/css" media="screen">
|
7
|
+
body {
|
8
|
+
font-family: Arial, "MS Trebuchet", sans-serif;
|
9
|
+
background-color: #FFF;
|
10
|
+
}
|
11
|
+
#container {
|
12
|
+
padding-left: 200px;
|
13
|
+
}
|
14
|
+
#container .column {
|
15
|
+
position: relative;
|
16
|
+
float: left;
|
17
|
+
}
|
18
|
+
#content {
|
19
|
+
width: 100%;
|
20
|
+
padding: 20px 0px;
|
21
|
+
}
|
22
|
+
#left {
|
23
|
+
width: 200px;
|
24
|
+
right: 200px;
|
25
|
+
margin-left: -100%;
|
26
|
+
}
|
27
|
+
#left ul li {
|
28
|
+
list-style: none;
|
29
|
+
}
|
30
|
+
</style>
|
31
|
+
</head>
|
32
|
+
<body>
|
33
|
+
<div id="container">
|
34
|
+
<div id="content" class="column">
|
35
|
+
<span>Welcome to the JRuby Extras project at Rubyforge. Documentation on the following projects is available:</span>
|
36
|
+
<ul>
|
37
|
+
<li><a href="ActiveRecord-JDBC">ActiveRecord-JDBC</a></li>
|
38
|
+
</ul>
|
39
|
+
</div>
|
40
|
+
<div id="left" class="column">
|
41
|
+
<img src="http://media.xircles.codehaus.org/_projects/jruby/_logos/small.png" />
|
42
|
+
<ul>
|
43
|
+
<li><a href="http://rubyforge.org/projects/jruby-extras">Rubyforge Project</a></li>
|
44
|
+
<li><a href="http://rubyforge.org/mail/?group_id=2014">Mailing Lists</a></li>
|
45
|
+
<li><a href="http://rubyforge.org/frs/?group_id=2014">Releases</a></li>
|
46
|
+
<li><a href="http://rubyforge.org/tracker/?group_id=2014">Tracker</a></li>
|
47
|
+
<li><a href="http://www.jruby.org/">JRuby.org</a></li>
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
</body>
|
52
|
+
</html>
|
data/docs/pscp.exe
ADDED
Binary file
|
data/docs/publish.bat
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
cd \dev\DynamicFun\AntBuilder\docs
|
2
|
-
|
3
|
-
|
1
|
+
rem cd \dev\DynamicFun\AntBuilder\docs
|
2
|
+
rem get pscp.exe from the putty web site http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html
|
3
|
+
pscp.exe index.html rubyforge.org:/var/www/gforge-projects/antbuilder/
|
4
|
+
pscp.exe index_html_7cda332d.jpg rubyforge.org:/var/www/gforge-projects/antbuilder/
|
4
5
|
pause
|
data/examples/jruby/readme.txt
CHANGED
@@ -5,7 +5,7 @@ steps.
|
|
5
5
|
- gem install AntBuilder
|
6
6
|
- copy the AntBuilder examples/jruby/build.rb file to the root of the JRuby project (where the jruby build.xml lives)
|
7
7
|
- Open a command prompt in the root of the Jruby project and make sure you can run "jruby --version" (e.g. add jruby/bin to your path)
|
8
|
-
- put gems/AntBuilder/classpath/leafcutter.jar
|
8
|
+
- put gems/AntBuilder/classpath/leafcutter.jar on the classpath
|
9
9
|
- put tools.jar from your jdk on the classpath (required for the javac ant task)
|
10
10
|
- put junit.jar on the classpath (required for the junit ant task)
|
11
11
|
- put the JRuby jruby\build\classes\jruby directory on the classpath
|
data/lib/builder/antbuilder.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#--
|
3
|
-
# Copyright
|
3
|
+
# Copyright 2007 by Tim Azzopardi (tim@tigerfive.com).
|
4
|
+
# Copyright 2007 by Jason Voegele (jason @nospam@ jvoegele.com).
|
4
5
|
# All rights reserved.
|
5
|
-
|
6
6
|
# Permission is granted for use, copying, modification, distribution,
|
7
7
|
# and distribution of modified versions of this work as long as the
|
8
8
|
# above copyright notice is included.
|
@@ -125,7 +125,7 @@ module Builder
|
|
125
125
|
reference_name = $2
|
126
126
|
puts __FILE__ << " _execute " << "TaskRunner.addReference(\"#{reference_name}\",\"#{reference}\");" if@debug
|
127
127
|
TaskRunner.addReference(reference_name, reference);
|
128
|
-
when /taskdef
|
128
|
+
when /taskdef.* name=(\w+)/
|
129
129
|
name=$1
|
130
130
|
# match on classname
|
131
131
|
cmd =~ /classname=([\w.]+)/
|
@@ -215,7 +215,7 @@ module Builder
|
|
215
215
|
return if attrs.nil?
|
216
216
|
attrs.each do |k, v|
|
217
217
|
# if the attribute value contains spaces then put single quotes around the string
|
218
|
-
v = "'#{v}'" if v =~
|
218
|
+
v = "'#{v}'" if v =~ / /
|
219
219
|
@target << %{ #{k}=#{v}}
|
220
220
|
end
|
221
221
|
end
|
metadata
CHANGED
@@ -1,32 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
+
name: AntBuilder
|
3
|
+
extra_rdoc_files: []
|
4
|
+
platform: ruby
|
5
|
+
homepage: http://jruby-extras.rubyforge.org/
|
6
|
+
post_install_message:
|
7
|
+
signing_key:
|
8
|
+
summary: 'AntBuilder: Use ant from JRuby. Only usable within JRuby'
|
9
|
+
rdoc_options: []
|
10
|
+
authors:
|
11
|
+
- JRuby-extras
|
12
|
+
rubygems_version: 0.9.0
|
2
13
|
autorequire: antbuilder
|
14
|
+
require_paths:
|
15
|
+
- lib
|
16
|
+
dependencies: []
|
17
|
+
bindir: bin
|
18
|
+
description:
|
19
|
+
cert_chain:
|
20
|
+
email: tim@tigerfive.com
|
21
|
+
requirements:
|
22
|
+
- To use the 'javac' ant task, add your java jdk tools.jar to your CLASSPATH
|
23
|
+
- To use the 'junit' ant task, add junit.jar to your CLASSPATH
|
24
|
+
version: !ruby/object:Gem::Version
|
25
|
+
version: 0.4.3
|
26
|
+
has_rdoc: true
|
27
|
+
executables: []
|
3
28
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
4
29
|
requirements:
|
5
30
|
- - '>'
|
6
31
|
- !ruby/object:Gem::Version
|
7
32
|
version: 0.0.0
|
8
33
|
version:
|
9
|
-
|
10
|
-
|
11
|
-
homepage: http://jruby-extras.rubyforge.org/
|
12
|
-
executables: []
|
13
|
-
bindir: bin
|
14
|
-
name: AntBuilder
|
34
|
+
test_files: []
|
35
|
+
rubyforge_project:
|
15
36
|
specification_version: 1
|
16
|
-
|
17
|
-
extensions: []
|
18
|
-
signing_key:
|
19
|
-
require_paths:
|
20
|
-
- lib
|
21
|
-
email: tim@tigerfive.com
|
22
|
-
description:
|
37
|
+
date: 2007-03-07 00:00:00 +00:00
|
23
38
|
files:
|
24
39
|
- classpath/README
|
25
40
|
- classpath/leafcutter-src.jar
|
26
41
|
- classpath/leafcutter.jar
|
27
42
|
- classpath/log4j.properties
|
43
|
+
- docs/i.html
|
28
44
|
- docs/index.html
|
29
45
|
- docs/index_html_7cda332d.jpg
|
46
|
+
- docs/pscp.exe
|
30
47
|
- docs/publish.bat
|
31
48
|
- examples/basic
|
32
49
|
- examples/basic/check_install.rb
|
@@ -51,20 +68,5 @@ files:
|
|
51
68
|
- lib/builder/xmlbase.rb
|
52
69
|
- LICENSE
|
53
70
|
- README
|
54
|
-
version: !ruby/object:Gem::Version
|
55
|
-
version: 0.4.2
|
56
|
-
authors:
|
57
|
-
- JRuby-extras
|
58
|
-
rubyforge_project:
|
59
|
-
platform: ruby
|
60
|
-
summary: 'AntBuilder: Use ant from JRuby. Only usable within JRuby'
|
61
|
-
requirements:
|
62
|
-
- To use the 'javac' ant task, add your java jdk tools.jar to your CLASSPATH
|
63
|
-
- To use the 'junit' ant task, add junit.jar to your CLASSPATH
|
64
|
-
date: 2007-03-07 00:00:00 +00:00
|
65
|
-
cert_chain:
|
66
|
-
rdoc_options: []
|
67
|
-
dependencies: []
|
68
71
|
default_executable:
|
69
|
-
|
70
|
-
has_rdoc: true
|
72
|
+
extensions: []
|