buildrizpack 0.1 → 0.2

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.tar.gz.sig DELETED
Binary file
@@ -1,7 +0,0 @@
1
- require 'buildrizpack'
2
- Buildr::write "myProject/src/main/java/Hello.java", "public class Hello {}"
3
- define 'myProject' do
4
- package(:jar)
5
- package(:izpack).locales = ['eng', 'fra', 'deu']
6
- package(:izpack).include(package(:jar))
7
- end
@@ -1,8 +0,0 @@
1
- require 'buildrizpack'
2
- define 'myProject' do
3
- package(:jar)
4
- # It is you responsability to specify correctly all dependencies!!
5
- package(:izpack).input = path_to(:sources, :main, :ressources, 'myInstaller.xml')
6
- package(:izpack)
7
- end
8
-
@@ -1,18 +0,0 @@
1
- require 'buildrizpack'
2
- Buildr::write "example_3/src/main/java/Hello.java", "public class Hello {}"
3
- define 'example_3' do
4
- package(:jar)
5
- package(:izpack).locales = ['eng', 'fra', 'deu']
6
- Buildr.write(path_to(:target)+"/1_5.txt", "This is file 1_5.txt")
7
- Buildr.write(path_to(:target)+"/3_7.txt", "This is file 3_7.txt")
8
- s = ''
9
- xm = Builder::XmlMarkup.new(:target=>s)
10
- xm.packs {
11
- xm.pack('name' => 'pack_3', 'required' => 'yes') {
12
- xm.description("Niklau is testing")
13
- xm.file('src'=> path_to(:target)+"/1_5.txt", 'targetdir' =>'1.5')
14
- xm.file('src'=> path_to(:target)+"/3_7.txt", 'targetdir' =>'3.7')
15
- }
16
- }
17
- package(:izpack).packs = s
18
- end
@@ -1,7 +0,0 @@
1
- require 'buildrizpack'
2
- Buildr::write "example_1/src/main/java/Hello.java", "public class Hello {}"
3
- define 'example_1', :version => '0.9.8' do
4
- package(:jar)
5
- package(:izpack).locales = ['eng', 'fra', 'deu']
6
- package(:izpack).include(package(:jar))
7
- end
@@ -1,25 +0,0 @@
1
- require 'buildrizpack'
2
- define 'example_2', :version => '0.9.8' do
3
- myInstXml = path_to(:sources, :main, :ressources, 'myInstaller.xml')
4
- xm = Builder::XmlMarkup.new(:target=>File.open(myInstXml, 'w+'), :indent => 2)
5
- xm.instruct!
6
- xm.installation('version'=>'1.0') {
7
- xm.tag!('info') { xm.appversion(@version); xm.appname(@appName) }
8
- xm.guiprefs('width' => '400', 'height' => '400', 'resizable' => 'no')
9
- xm.panels { |x| xm.panel('classname' => 'InstallPanel') }
10
- xm.locale { |x| xm.langpack('iso3'=>'eng') }
11
- xm.packs {
12
- xm.pack('name' => 'main', 'required' => 'yes') {
13
- xm.description("my first and only pack for #{project.name}")
14
- xm.file('src'=> myInstXml, 'targetdir' =>'$INSTALL_PATH')
15
- }
16
- }
17
- }
18
- xm.target!().close
19
- system("cat #{myInstXml} | tee tmp_3.xml")
20
- package(:jar)
21
- # It is you responsability to specify correctly all dependencies!!
22
- package(:izpack).input = myInstXml
23
- package(:izpack)
24
- end
25
-
@@ -1,18 +0,0 @@
1
- require 'buildrizpack'
2
- Buildr::write "example_3/src/main/java/Hello.java", "public class Hello {}"
3
- define 'example_3', :version => '0.9.8' do
4
- package(:jar)
5
- package(:izpack).locales = ['eng', 'fra', 'deu']
6
- Buildr.write(path_to(:target)+"/1_5.txt", "This is file 1_5.txt")
7
- Buildr.write(path_to(:target)+"/3_7.txt", "This is file 3_7.txt")
8
- s = ''
9
- xm = Builder::XmlMarkup.new(:target=>s)
10
- xm.packs {
11
- xm.pack('name' => 'pack_3', 'required' => 'yes') {
12
- xm.description("Niklau is testing")
13
- xm.file('src'=> path_to(:target)+"/1_5.txt", 'targetdir' =>'1.5')
14
- xm.file('src'=> path_to(:target)+"/3_7.txt", 'targetdir' =>'3.7')
15
- }
16
- }
17
- package(:izpack).packs = s
18
- end
metadata.gz.sig DELETED
@@ -1,3 +0,0 @@
1
- x���I���~��k�{��$c߮�,֯�y$�ҹ0K,D�o9�v��?݆I�C=z$��V���zAH�
2
- �h[��*���ږ���&��h@�a�gՑ=�%�v���Fm�(�C~�Q5WԽ\@�>0aڄN� �
3
- t��dB7���P9 A�7�҅�-#Y(4*�8�A��3��q>�S6ό��3��A�H-R�f=�C����S� ��� m�uc��#����C�x�×�!�L���P�#v�<֬�~