Diff
Copied: tags/activerecord-jdbc/release-0.3 (from rev 548, trunk/activerecord-jdbc)
Deleted: tags/activerecord-jdbc/release-0.3/History.txt (548 => 550)
--- trunk/activerecord-jdbc/History.txt 2007-05-07 12:10:30 UTC (rev 548)
+++ tags/activerecord-jdbc/release-0.3/History.txt 2007-05-07 15:26:49 UTC (rev 550)
@@ -1,23 +0,0 @@
-== 0.2.4
-
-* Release coincides with JRuby 0.9.9 release
-* JRuby 0.9.9 is required
-* MySQL close to 100% working
-* Derby improvements
-* DECIMAL/NUMERIC/FLOAT/REAL bugs fixed with type recognition for Oracle, Postgres, etc.
-* HSQLDB has regressed this release and may not be functioning; we'll get it fixed for the
- next one
-
-== 0.2.3
-
-* Release coincides (and compatible) with JRuby 0.9.8 release
-* 8 bugs fixed: see http://rubyurl.com/0Da
-* Improvements and compatibility fixes for Rails 1.2.x
-
-== 0.2.1, 0.2.2
-
-* Early releases, added better support for multiple databases
-
-== 0.0.1
-
-* Initial, very alpha release
\ No newline at end of file
Copied: tags/activerecord-jdbc/release-0.3/History.txt (from rev 549, trunk/activerecord-jdbc/History.txt) (0 => 550)
--- tags/activerecord-jdbc/release-0.3/History.txt (rev 0)
+++ tags/activerecord-jdbc/release-0.3/History.txt 2007-05-07 15:26:49 UTC (rev 550)
@@ -0,0 +1,29 @@
+== 0.3
+
+* Release coincides with JRuby 1.0.0RC1 release
+* Improvements for Derby, Postgres, and Oracle, all of which are running
+ > 95% of AR tests
+
+== 0.2.4
+
+* Release coincides with JRuby 0.9.9 release
+* JRuby 0.9.9 is required
+* MySQL close to 100% working
+* Derby improvements
+* DECIMAL/NUMERIC/FLOAT/REAL bugs fixed with type recognition for Oracle, Postgres, etc.
+* HSQLDB has regressed this release and may not be functioning; we'll get it fixed for the
+ next one
+
+== 0.2.3
+
+* Release coincides (and compatible) with JRuby 0.9.8 release
+* 8 bugs fixed: see http://rubyurl.com/0Da
+* Improvements and compatibility fixes for Rails 1.2.x
+
+== 0.2.1, 0.2.2
+
+* Early releases, added better support for multiple databases
+
+== 0.0.1
+
+* Initial, very alpha release
\ No newline at end of file
Deleted: tags/activerecord-jdbc/release-0.3/Rakefile (548 => 550)
--- trunk/activerecord-jdbc/Rakefile 2007-05-07 12:10:30 UTC (rev 548)
+++ tags/activerecord-jdbc/release-0.3/Rakefile 2007-05-07 15:26:49 UTC (rev 550)
@@ -1,99 +0,0 @@
-require 'rake'
-require 'rake/testtask'
-
-task :default => :test
-
-def java_classpath_arg # myriad of ways to discover JRuby classpath
- begin
- require 'java' # already running in a JRuby JVM
- jruby_cpath = Java::java.lang.System.getProperty('java.class.path')
- rescue LoadError
- end
- unless jruby_cpath
- jruby_cpath = ENV['JRUBY_PARENT_CLASSPATH'] || ENV['JRUBY_HOME'] &&
- FileList["#{ENV['JRUBY_HOME']}/lib/*.jar"].join(File::PATH_SEPARATOR)
- end
- cpath_arg = jruby_cpath ? "-cp #{jruby_cpath}" : ""
-end
-
-desc "Compile the native Java code."
-task :java_compile do
- mkdir_p "pkg/classes"
- sh "javac -target 1.4 -source 1.4 -d pkg/classes #{java_classpath_arg} #{FileList['src/java/**/*.java'].join(' ')}"
- sh "jar cf lib/jdbc_adapter_internal.jar -C pkg/classes/ ."
-end
-file "lib/jdbc_adapter_internal.jar" => :java_compile
-
-task :more_clean do
- rm_rf FileList['derby*']
- rm_rf FileList['test.db.*']
- rm_rf "test/reports"
- rm_f FileList['lib/*.jar']
-end
-
-task :clean => :more_clean
-
-task :filelist do
- puts FileList['pkg/**/*'].inspect
-end
-
-desc "Run AR-JDBC tests"
-if RUBY_PLATFORM =~ /java/
- # TODO: add more databases into the standard tests here.
- task :test => [:java_compile, :test_mysql, :test_derby]
-else
- task :test => [:test_mysql]
-end
-
-Rake::TestTask.new(:test_mysql) do |t|
- t.test_files = FileList['test/mysql_simple_test.rb']
- t.libs << 'test'
-end
-
-Rake::TestTask.new(:test_hsqldb) do |t|
- t.test_files = FileList['test/hsqldb_simple_test.rb']
- t.libs << 'test'
-end
-
-Rake::TestTask.new(:test_derby) do |t|
- t.test_files = FileList['test/derby_simple_test.rb',
- 'test/activerecord/connection_adapters/type_conversion_test.rb']
- t.libs << 'test'
-end
-
-Rake::TestTask.new(:test_postgresql) do |t|
- t.test_files = FileList['test/postgres_simple_test.rb']
- t.libs << 'test'
-end
-
-task :test_pgsql => [:test_postgresql]
-
-Rake::TestTask.new(:test_jndi) do |t|
- t.test_files = FileList['test/jndi_test.rb']
- t.libs << 'test'
-end
-
-begin
- MANIFEST = FileList["History.txt", "Manifest.txt", "README.txt",
- "Rakefile", "LICENSE", "lib/**/*.rb", "lib/jdbc_adapter_internal.jar", "test/**/*.rb"]
-
- file "Manifest.txt" => :manifest
- task :manifest do
- File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
- end
- Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
-
- require 'hoe'
- Hoe.new("ActiveRecord-JDBC", "0.2.4") do |p|
- p.rubyforge_name = "jruby-extras"
- p.url = ""
- p.author = "Nick Sieger, Ola Bini and JRuby contributors"
- p.email = "[EMAIL PROTECTED], [EMAIL PROTECTED]"
- p.summary = "JDBC adapter for ActiveRecord, for use within JRuby on Rails."
- p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
- p.description = p.paragraphs_of('README.txt', 0...1).join("\n\n")
- p.extra_deps.reject!{|d| d.first == "hoe"}
- end
-rescue LoadError
- puts "You really need Hoe installed to be able to package this gem"
-end
Copied: tags/activerecord-jdbc/release-0.3/Rakefile (from rev 549, trunk/activerecord-jdbc/Rakefile) (0 => 550)
--- tags/activerecord-jdbc/release-0.3/Rakefile (rev 0)
+++ tags/activerecord-jdbc/release-0.3/Rakefile 2007-05-07 15:26:49 UTC (rev 550)
@@ -0,0 +1,99 @@
+require 'rake'
+require 'rake/testtask'
+
+task :default => :test
+
+def java_classpath_arg # myriad of ways to discover JRuby classpath
+ begin
+ require 'java' # already running in a JRuby JVM
+ jruby_cpath = Java::java.lang.System.getProperty('java.class.path')
+ rescue LoadError
+ end
+ unless jruby_cpath
+ jruby_cpath = ENV['JRUBY_PARENT_CLASSPATH'] || ENV['JRUBY_HOME'] &&
+ FileList["#{ENV['JRUBY_HOME']}/lib/*.jar"].join(File::PATH_SEPARATOR)
+ end
+ cpath_arg = jruby_cpath ? "-cp #{jruby_cpath}" : ""
+end
+
+desc "Compile the native Java code."
+task :java_compile do
+ mkdir_p "pkg/classes"
+ sh "javac -target 1.4 -source 1.4 -d pkg/classes #{java_classpath_arg} #{FileList['src/java/**/*.java'].join(' ')}"
+ sh "jar cf lib/jdbc_adapter_internal.jar -C pkg/classes/ ."
+end
+file "lib/jdbc_adapter_internal.jar" => :java_compile
+
+task :more_clean do
+ rm_rf FileList['derby*']
+ rm_rf FileList['test.db.*']
+ rm_rf "test/reports"
+ rm_f FileList['lib/*.jar']
+end
+
+task :clean => :more_clean
+
+task :filelist do
+ puts FileList['pkg/**/*'].inspect
+end
+
+desc "Run AR-JDBC tests"
+if RUBY_PLATFORM =~ /java/
+ # TODO: add more databases into the standard tests here.
+ task :test => [:java_compile, :test_mysql, :test_derby]
+else
+ task :test => [:test_mysql]
+end
+
+Rake::TestTask.new(:test_mysql) do |t|
+ t.test_files = FileList['test/mysql_simple_test.rb']
+ t.libs << 'test'
+end
+
+Rake::TestTask.new(:test_hsqldb) do |t|
+ t.test_files = FileList['test/hsqldb_simple_test.rb']
+ t.libs << 'test'
+end
+
+Rake::TestTask.new(:test_derby) do |t|
+ t.test_files = FileList['test/derby_simple_test.rb',
+ 'test/activerecord/connection_adapters/type_conversion_test.rb']
+ t.libs << 'test'
+end
+
+Rake::TestTask.new(:test_postgresql) do |t|
+ t.test_files = FileList['test/postgres_simple_test.rb']
+ t.libs << 'test'
+end
+
+task :test_pgsql => [:test_postgresql]
+
+Rake::TestTask.new(:test_jndi) do |t|
+ t.test_files = FileList['test/jndi_test.rb']
+ t.libs << 'test'
+end
+
+begin
+ MANIFEST = FileList["History.txt", "Manifest.txt", "README.txt",
+ "Rakefile", "LICENSE", "lib/**/*.rb", "lib/jdbc_adapter_internal.jar", "test/**/*.rb"]
+
+ file "Manifest.txt" => :manifest
+ task :manifest do
+ File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
+ end
+ Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
+
+ require 'hoe'
+ Hoe.new("ActiveRecord-JDBC", "0.3") do |p|
+ p.rubyforge_name = "jruby-extras"
+ p.url = ""
+ p.author = "Nick Sieger, Ola Bini and JRuby contributors"
+ p.email = "[EMAIL PROTECTED], [EMAIL PROTECTED]"
+ p.summary = "JDBC adapter for ActiveRecord, for use within JRuby on Rails."
+ p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
+ p.description = p.paragraphs_of('README.txt', 0...1).join("\n\n")
+ p.extra_deps.reject!{|d| d.first == "hoe"}
+ end
+rescue LoadError
+ puts "You really need Hoe installed to be able to package this gem"
+end
Deleted: tags/activerecord-jdbc/release-0.3/pom.xml (548 => 550)
--- trunk/activerecord-jdbc/pom.xml 2007-05-07 12:10:30 UTC (rev 548)
+++ tags/activerecord-jdbc/release-0.3/pom.xml 2007-05-07 15:26:49 UTC (rev 550)
@@ -1,94 +0,0 @@
-<?xml version="1.0"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.jruby</groupId>
- <artifactId>shared</artifactId>
- <version>0.9.9</version>
- <relativePath>../../jruby/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jruby.testsuites</groupId>
- <artifactId>activerecord-jdbc</artifactId>
- <packaging>jar</packaging>
- <version>0.9.9</version>
- <name>JRuby ActiveRecord-JDBC testsuite</name>
- <description>Test ActiveRecord-JDBC</description>
-
- <dependencies>
- <dependency>
- <groupId>org.jruby</groupId>
- <artifactId>jruby</artifactId>
- <version>0.9.9</version>
- </dependency>
- </dependencies>
-
- <build>
- <directory>${basedir}/pkg</directory>
- <sourceDirectory>${basedir}/src/java</sourceDirectory>
- <outputDirectory>${basedir}/pkg/classes</outputDirectory>
- <testOutputDirectory>${basedir}/pkg/test-classes</testOutputDirectory>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>doc</directory>
- </fileset>
- <fileset>
- <directory>lib</directory>
- <includes>
- <include>*.jar</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jruby.plugins</groupId>
- <artifactId>jruby-rake-plugin</artifactId>
- <executions>
- <execution>
- <id>install-gems</id>
- <phase>generate-resources</phase>
- <goals><goal>install-gems</goal></goals>
- <configuration>
- <gems>ci_reporter activerecord</gems>
- </configuration>
- </execution>
- <execution>
- <id>runtests</id>
- <phase>test</phase>
- <goals><goal>rake</goal></goals>
- <configuration>
- <script>
- gem 'ci_reporter'
- require 'ci/reporter/rake/test_unit'
- load 'Rakefile'
- </script>
- <args>ci:setup:testunit default</args>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.0.5</version>
- </dependency>
- <dependency>
- <groupId>org.apache.derby</groupId>
- <artifactId>derby</artifactId>
- <version>10.2.2.0</version>
- </dependency>
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>1.8.0.7</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
Copied: tags/activerecord-jdbc/release-0.3/pom.xml (from rev 549, trunk/activerecord-jdbc/pom.xml) (0 => 550)
--- tags/activerecord-jdbc/release-0.3/pom.xml (rev 0)
+++ tags/activerecord-jdbc/release-0.3/pom.xml 2007-05-07 15:26:49 UTC (rev 550)
@@ -0,0 +1,93 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.jruby</groupId>
+ <artifactId>shared</artifactId>
+ <version>1.0.0RC1</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jruby.testsuites</groupId>
+ <artifactId>activerecord-jdbc</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0.0RC1</version>
+ <name>JRuby ActiveRecord-JDBC testsuite</name>
+ <description>Test ActiveRecord-JDBC</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jruby</groupId>
+ <artifactId>jruby</artifactId>
+ <version>1.0.0RC1</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <directory>${basedir}/pkg</directory>
+ <sourceDirectory>${basedir}/src/java</sourceDirectory>
+ <outputDirectory>${basedir}/pkg/classes</outputDirectory>
+ <testOutputDirectory>${basedir}/pkg/test-classes</testOutputDirectory>
+ <plugins>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>doc</directory>
+ </fileset>
+ <fileset>
+ <directory>lib</directory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jruby.plugins</groupId>
+ <artifactId>jruby-rake-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-gems</id>
+ <phase>generate-resources</phase>
+ <goals><goal>install-gems</goal></goals>
+ <configuration>
+ <gems>ci_reporter activerecord</gems>
+ </configuration>
+ </execution>
+ <execution>
+ <id>runtests</id>
+ <phase>test</phase>
+ <goals><goal>rake</goal></goals>
+ <configuration>
+ <script>
+ gem 'ci_reporter'
+ require 'ci/reporter/rake/test_unit'
+ load 'Rakefile'
+ </script>
+ <args>ci:setup:testunit default</args>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.0.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>10.2.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>1.8.0.7</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file