199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
|
# File 'lib/buildrizpack/package.rb', line 199
def package_as_izpack(file_name)
izpack = IzPackTask.define_task(file_name)
izpack.enhance do |task|
task.enhance do
package ||= project.id
version ||= project.version
end
task.input ||= File.join(project.path_to(:target, 'install.xml'))
task.appName ||= project.id
task.output ||= file_name
task.basedir ||= project.path_to(:target)
task.installerType ||= 'standard'
task.inheritAll ||= 'true'
task.compression ||= 'deflate'
task.compressionLevel ||= '9'
end
return izpack
end
|