Sha256: cf07c517c5b8ac94f4db77c638bd4aa997c3c1e4d57854038f9c6de4b62a4fd8

Contents?: true

Size: 824 Bytes

Versions: 1

Compression:

Stored size: 824 Bytes

Contents

# Apache Buildr buildfile for do_postgres
# see http://incubator.apache.org/buildr/ for more information on Apache Buildr
require 'buildr'
require 'pathname'

VERSION_NUMBER = '1.0'
JDBC_SUPPORT = ['data_objects:jdbc:jar:1.0']
TARGET_DIR = 'pkg/classes'
repositories.remote << 'http://www.ibiblio.org/maven2/'

define 'do_postgres' do
  project.version = VERSION_NUMBER
  project.group = 'data_objects.rb'

  manifest['Copyright'] = 'Alex Coles (C) 2008-2009'

  compile.using :target => '1.5', :lint => 'all', :deprecation => 'true'

  define 'ext-java' do
    package(:jar).clean.include(TARGET_DIR)
        
    jdbc_support_jar = file('../../do_jdbc/lib/do_jdbc_internal.jar')
    jdbc_support = artifact('data_objects:jdbc:jar:1.0').from(jdbc_support_jar)
    
    compile.into(TARGET_DIR).with(JDBC_SUPPORT)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
do_postgres-0.9.11 buildfile