sam / do fork watch download tarball
public
Rubygem
Description: DataObjects
Homepage: http://rubyforge.org/projects/dorb
Clone URL: git://github.com/sam/do.git
do / do_mysql / buildfile
100644 27 lines (19 sloc) 0.741 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Apache Buildr buildfile for do_derby
# 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']
repositories.remote << 'http://www.ibiblio.org/maven2/'
 
define 'do_mysql' do
  project.version = VERSION_NUMBER
  project.group = 'data_objects.rb'
 
  manifest['Copyright'] = 'Alex Coles (C) 2008'
 
  compile.using :target => '1.5', :lint => 'all', :deprecation => 'true'
 
  define 'ext-java' do
    package :jar
        
    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.with JDBC_SUPPORT
  end
end