Sha256: e5612ccdc6e49be9a49558d79e0198e5a8fd241304d8bf4871b499eacf01ff33

Contents?: true

Size: 780 Bytes

Versions: 2

Compression:

Stored size: 780 Bytes

Contents

#!/usr/bin/ruby

#######################################################################
=begin
 runant.rb

    This script is a translation of the runant.pl written by Steve Loughran.
    It runs ant with/out arguments
    This script has been tested with ruby1.8.2-14/WinXP

 created:         2005-03-08
 author:          Shane Duan
=end 

# Debugging flag
$debug = true

# Assumptions:
#
# - the "java" executable/script is on the command path
# - ANT_HOME has been set
# - target platform uses ":" as classpath separator or a "C:" exists (windows)
# - target platform uses "/" as directory separator.

#######################################################################
require 'Ant'

if not Ant.new().launch(ARGV)
  raise 'Ant failed'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
BuildMaster-0.5.0 lib/buildmaster/run_ant.rb
BuildMaster-0.6.0 lib/buildmaster/run_ant.rb