Permalink
Browse files

Build: Removing JRuby

git-svn-id: https://svn.openqa.org/svn/selenium-grid/trunk@355 22590ab4-ef3b-0410-9bef-a9f5a1089f47
  • Loading branch information...
ph7
ph7 committed Aug 18, 2008
1 parent dbb1624 commit 2f1368a36fb3975245c0c99e5304cf09c9fa1efe
Showing 2,421 changed files with 113 additions and 257,141 deletions.
View
@@ -762,16 +762,6 @@
<SOURCES />
<jarDirectory url="file://$PROJECT_DIR$/core/src/main" recursive="false" />
</library>
- <library name="Embedded JRuby">
- <CLASSES>
- <root url="file://$PROJECT_DIR$/vendor/jruby-1.1-RC2/ruby/1.8" />
- <root url="file://$PROJECT_DIR$/vendor/jruby-1.1-RC2/ruby" />
- <root url="jar://$PROJECT_DIR$/vendor/jruby-1.1-RC2/bsf.jar!/" />
- <root url="jar://$PROJECT_DIR$/vendor/jruby-1.1-RC2/jruby.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
<library name="TestNG">
<CLASSES>
<root url="jar://$PROJECT_DIR$/vendor/testng-5.7-jdk15.jar!/" />
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -24,19 +24,6 @@
</condition>
<fail message="Your must use Java 1.5 or newer. You are currrenltly using '${ant.java.version}'." unless="java-5"/>
- <path id="jruby.classpath">
- <fileset dir="${basedir}/vendor/jruby-1.1-RC2">
- <include name="*.jar"/>
- </fileset>
- <pathelement path="${basedir}/vendor/jruby-1.1-RC2/ruby/1.8"/>
- </path>
-
- <java classname="org.jruby.Main" fork="true" failonerror="true">
- <classpath refid="jruby.classpath"/>
-
- <arg value="${basedir}/src/scripts/jruby_sanity_check.rb"/>
- </java>
-
<echo/>
<echo>******************************************************</echo>
<echo>Congratulations, your setup looks good. Happy hacking!</echo>
@@ -14,14 +14,6 @@
<property name="metrics.pmd.reports" location="${metrics.reports}/pmd"/>
<property name="metrics.coverage.reports" location="${metrics.reports}/coverage"/>
<property environment="env"/>
- <property name="jruby.test.dir" value="${basedir}/src/test/unit" />
-
- <path id="jruby.classpath">
- <fileset dir="${rootdir}/vendor/jruby-1.1-RC2">
- <include name="jruby.jar"/>
- </fileset>
- <pathelement path="${rootdir}/vendor/jruby-1.1-RC2/ruby/1.8"/>
- </path>
<path id="mocking.classpath">
<fileset dir="${rootdir}/vendor">
@@ -1,31 +0,0 @@
-#
-# Validates JRuby Installation
-#
-
-EXPECTED_JRUBY_VERSION = "1.1RC2"
-FORUM_URL = "http://forums.openqa.org/forum.jspa?forumID=42"
-
-unless defined? JRUBY_VERSION
- raise "Sorry you must run this script with JRuby"
-end
-
-puts "Detected JRuby #{JRUBY_VERSION}"
-unless JRUBY_VERSION == EXPECTED_JRUBY_VERSION
- raise <<-EOS
- Selenium Grid has been tested with JRuby #{EXPECTED_JRUBY_VERSION}. You are using #{JRUBY_VERSION}.
- Download it at http://jruby.codehaus.org
- EOS
-end
-
-begin
- $: << File.expand_path(File.dirname(__FILE__) + '/../../vendor/gems/mocha-0.5.5/lib')
- require File.expand_path(File.dirname(__FILE__) + '/../../vendor/gems/mocha-0.5.5/lib/mocha')
- puts "Successfully loaded Mocha library."
-rescue
- puts <<-EOS
- Sorry, we could not load the Mocha library, feel free to report your problem
- on Selenium Grid forums (#{FORUM_URL}).
- We will do our best to help you get started.
- EOS
- raise
-end
View
@@ -20,8 +20,6 @@
<pathelement path="${java.class.path}/"/>
</path>
- <target name="jruby-test" depends="compile" description="Run JRuby Tests" />
-
<target name="package-standalone" depends="package" description="Package as a jar including all dependencies">
<package-standalone-jar main-class="">
<dependencies>
Binary file not shown.
Binary file not shown.
@@ -1,106 +0,0 @@
-# We only run RDoc on the top-level files in here: we skip
-# all the helper stuff in sub-directories
-
-# Eventually, we hope to see...
-# *.rb
-
-# But for now
-
-English.rb
-Env.rb
-README
-abbrev.rb
-base64.rb
-benchmark.rb
-cgi
-cgi.rb
-cgi-lib.rb
-complex.rb
-csv.rb
-date
-date.rb
-date2.rb
-debug.rb
-delegate.rb
-drb
-drb.rb
-e2mmap.rb
-erb.rb
-eregex.rb
-fileutils.rb
-finalize.rb
-find.rb
-forwardable.rb
-ftools.rb
-generator.rb
-getoptlong.rb
-getopts.rb
-gserver.rb
-importenv.rb
-ipaddr.rb
-irb
-irb.rb
-jcode.rb
-logger.rb
-mailread.rb
-mathn.rb
-matrix.rb
-mkmf.rb
-monitor.rb
-mutex_m.rb
-net
-observer.rb
-open-uri.rb
-open3.rb
-optparse
-optparse.rb
-ostruct.rb
-parsearg.rb
-parsedate.rb
-pathname.rb
-ping.rb
-pp.rb
-prettyprint.rb
-profile.rb
-profiler.rb
-pstore.rb
-racc
-rational.rb
-rdoc
-readbytes.rb
-resolv-replace.rb
-resolv.rb
-rexml
-rinda
-rss
-rss.rb
-rubyunit.rb
-runit
-scanf.rb
-set.rb
-shell
-shell.rb
-shellwords.rb
-singleton.rb
-soap
-sync.rb
-tempfile.rb
-test
-thread.rb
-thwait.rb
-time.rb
-timeout.rb
-tmpdir.rb
-tracer.rb
-tsort.rb
-un.rb
-uri
-uri.rb
-weakref.rb
-webrick
-webrick.rb
-wsdl
-xmlrpc
-xsd
-yaml
-yaml.rb
@@ -1,155 +0,0 @@
-# Include the English library file in a Ruby script, and you can
-# reference the global variables such as \VAR{\$\_} using less
-# cryptic names, listed in the following table.% \vref{tab:english}.
-#
-# Without 'English':
-#
-# $\ = ' -- '
-# "waterbuffalo" =~ /buff/
-# print $", $', $$, "\n"
-#
-# With English:
-#
-# require "English"
-#
-# $OUTPUT_FIELD_SEPARATOR = ' -- '
-# "waterbuffalo" =~ /buff/
-# print $LOADED_FEATURES, $POSTMATCH, $PID, "\n"
-
-
-# The exception object passed to +raise+.
-alias $ERROR_INFO $!
-
-# The stack backtrace generated by the last
-# exception. <tt>See Kernel.caller</tt> for details. Thread local.
-alias $ERROR_POSITION $@
-
-# The default separator pattern used by <tt>String.split</tt>. May be
-# set from the command line using the <tt>-F</tt> flag.
-alias $FS $;
-
-# The default separator pattern used by <tt>String.split</tt>. May be
-# set from the command line using the <tt>-F</tt> flag.
-alias $FIELD_SEPARATOR $;
-
-# The separator string output between the parameters to methods such
-# as <tt>Kernel.print</tt> and <tt>Array.join</tt>. Defaults to +nil+,
-# which adds no text.
-alias $OFS $,
-
-# The separator string output between the parameters to methods such
-# as <tt>Kernel.print</tt> and <tt>Array.join</tt>. Defaults to +nil+,
-# which adds no text.
-alias $OUTPUT_FIELD_SEPARATOR $,
-
-# The input record separator (newline by default). This is the value
-# that routines such as <tt>Kernel.gets</tt> use to determine record
-# boundaries. If set to +nil+, +gets+ will read the entire file.
-alias $RS $/
-
-# The input record separator (newline by default). This is the value
-# that routines such as <tt>Kernel.gets</tt> use to determine record
-# boundaries. If set to +nil+, +gets+ will read the entire file.
-alias $INPUT_RECORD_SEPARATOR $/
-
-# The string appended to the output of every call to methods such as
-# <tt>Kernel.print</tt> and <tt>IO.write</tt>. The default value is
-# +nil+.
-alias $ORS $\
-
-# The string appended to the output of every call to methods such as
-# <tt>Kernel.print</tt> and <tt>IO.write</tt>. The default value is
-# +nil+.
-alias $OUTPUT_RECORD_SEPARATOR $\
-
-# The number of the last line read from the current input file.
-alias $INPUT_LINE_NUMBER $.
-
-# The number of the last line read from the current input file.
-alias $NR $.
-
-# The last line read by <tt>Kernel.gets</tt> or
-# <tt>Kernel.readline</tt>. Many string-related functions in the
-# +Kernel+ module operate on <tt>$_</tt> by default. The variable is
-# local to the current scope. Thread local.
-alias $LAST_READ_LINE $_
-
-# The destination of output for <tt>Kernel.print</tt>
-# and <tt>Kernel.printf</tt>. The default value is
-# <tt>$stdout</tt>.
-alias $DEFAULT_OUTPUT $>
-
-# An object that provides access to the concatenation
-# of the contents of all the files
-# given as command-line arguments, or <tt>$stdin</tt>
-# (in the case where there are no
-# arguments). <tt>$<</tt> supports methods similar to a
-# +File+ object:
-# +inmode+, +close+,
-# <tt>closed?</tt>, +each+,
-# <tt>each_byte</tt>, <tt>each_line</tt>,
-# +eof+, <tt>eof?</tt>, +file+,
-# +filename+, +fileno+,
-# +getc+, +gets+, +lineno+,
-# <tt>lineno=</tt>, +path+,
-# +pos+, <tt>pos=</tt>,
-# +read+, +readchar+,
-# +readline+, +readlines+,
-# +rewind+, +seek+, +skip+,
-# +tell+, <tt>to_a</tt>, <tt>to_i</tt>,
-# <tt>to_io</tt>, <tt>to_s</tt>, along with the
-# methods in +Enumerable+. The method +file+
-# returns a +File+ object for the file currently
-# being read. This may change as <tt>$<</tt> reads
-# through the files on the command line. Read only.
-alias $DEFAULT_INPUT $<
-
-# The process number of the program being executed. Read only.
-alias $PID $$
-
-# The process number of the program being executed. Read only.
-alias $PROCESS_ID $$
-
-# The exit status of the last child process to terminate. Read
-# only. Thread local.
-alias $CHILD_STATUS $?
-
-# A +MatchData+ object that encapsulates the results of a successful
-# pattern match. The variables <tt>$&</tt>, <tt>$`</tt>, <tt>$'</tt>,
-# and <tt>$1</tt> to <tt>$9</tt> are all derived from
-# <tt>$~</tt>. Assigning to <tt>$~</tt> changes the values of these
-# derived variables. This variable is local to the current
-# scope. Thread local.
-alias $LAST_MATCH_INFO $~
-
-# If set to any value apart from +nil+ or +false+, all pattern matches
-# will be case insensitive, string comparisons will ignore case, and
-# string hash values will be case insensitive. Deprecated
-alias $IGNORECASE $=
-
-# An array of strings containing the command-line
-# options from the invocation of the program. Options
-# used by the Ruby interpreter will have been
-# removed. Read only. Also known simply as +ARGV+.
-alias $ARGV $*
-
-# The string matched by the last successful pattern
-# match. This variable is local to the current
-# scope. Read only. Thread local.
-alias $MATCH $&
-
-# The string preceding the match in the last
-# successful pattern match. This variable is local to
-# the current scope. Read only. Thread local.
-alias $PREMATCH $`
-
-# The string following the match in the last
-# successful pattern match. This variable is local to
-# the current scope. Read only. Thread local.
-alias $POSTMATCH $'
-
-# The contents of the highest-numbered group matched in the last
-# successful pattern match. Thus, in <tt>"cat" =~ /(c|a)(t|z)/</tt>,
-# <tt>$+</tt> will be set to "t". This variable is local to the
-# current scope. Read only. Thread local.
-alias $LAST_PAREN_MATCH $+
@@ -1,18 +0,0 @@
-# Env.rb -- imports environment variables as global variables, Perlish ;(
-# Usage:
-#
-# require 'Env'
-# p $USER
-# $USER = "matz"
-# p ENV["USER"]
-
-require 'importenv'
-
-if __FILE__ == $0
- p $TERM
- $TERM = nil
- p $TERM
- p ENV["TERM"]
- $TERM = "foo"
- p ENV["TERM"]
-end
Oops, something went wrong.

0 comments on commit 2f1368a

Please sign in to comment.