Syntax error, unexpected tDOT3, expecting $end

Hi,
when I run the following code _ get this error
C:\RakeTest>rake
rake aborted!
C:/RakeTest/rakefile.rb:2: syntax error, unexpected tDOT3, expecting
$end

any help would be greatly appreciated.
Thanks,\Brian

require “rexml/document”

OUTPUT_PATH = “output”
SVN_LOG_PATH = “#{OUTPUT_PATH}/svn_log.xml”
ARTIFACTS_PATH = “#{OUTPUT_PATH}/artifacts”
SVN_URL = “http://10.200.68.220/svn/Source/trunk/
VERSION_MAJOR_MINOR_BUILD = “0.1.0”
namespace :build do
task :all => [:init, :compile]

“Perform the required initial tasks.”
task :init do
puts “performorming Initializatiom…”
puts “Creating folders…”
Dir.mkdir(OUTPUT_PATH)
Dir.mkdir(ARTIFACTS_PARTH)
puts “Getting SVN revision number and saving to
#{SVN_LOG_PATH}…”
sh “svn log --xml --revision HEAD #{SVN_URL} >
"#{SVN_LOG_PATH}"”
log = REXML::Document.new File.new(SVN_LOG_PATH)
logEntry = log.root.elements[“logentry”]
$svn_revision = logEntry.attributes[“revision”]
$svn_message = logEntry.elements[“msg”].text
VERSION = “#{VERSION_MAJOR_MINOR_BUILD}.#{$svn_revision}”
puts “Revision #{$svn_revision} found with message:
#{$svn_message}”
end
end

On 13 April 2012 21:09, Brian mr [email protected] wrote:

require “rexml/document”

OK, I give in. I am showing my lack of knowledge on Ruby here, what
are the three dots for in this context?

Colin

On Friday, 13 April 2012 16:09:44 UTC-4, Ruby-Forum.com User wrote:

===========================================================================
require “rexml/document”

This is not valid Ruby syntax - the author of the post you’ve sourced it
from was using the … to avoid repeating identical code from the
preceding
figure. You may want to skip to the full version at the end:

–Matt J.

Matt J. wrote in post #1056520:

On Friday, 13 April 2012 16:09:44 UTC-4, Ruby-Forum.com User wrote:

===========================================================================
require “rexml/document”

This is not valid Ruby syntax - the author of the post you’ve sourced it
from was using the … to avoid repeating identical code from the
preceding
figure. You may want to skip to the full version at the end:

–Matt J.

Hi Matt,

I can’t access the full rakefile at
http://aardvark-cms.googlecode.com/svn/trunk/build/rakefile.rb

do you know hoe to access it?

Brent

Hi Matt,

I can’t access the full rakefile at
http://aardvark-cms.googlecode.com/svn/trunk/build/rakefile.rb

do you know hoe to access it?

Brent

On Monday, 16 April 2012 10:21:03 UTC-4, Ruby-Forum.com User wrote:

Hi Matt,

I can’t access the full rakefile at
http://aardvark-cms.googlecode.com/svn/trunk/build/rakefile.rb

do you know hoe to access it?

Looks like Aardvark got devoured by Sitefinity - here’s the archived
version:

http://web.archive.org/web/20100811225616/http://aardvark-cms.googlecode.com/svn/trunk/build/rakefile.rb

–Matt J.

Matt J. wrote in post #1056929:

On Monday, 16 April 2012 10:21:03 UTC-4, Ruby-Forum.com User wrote:

Hi Matt,

I can’t access the full rakefile at
http://aardvark-cms.googlecode.com/svn/trunk/build/rakefile.rb

do you know hoe to access it?

Looks like Aardvark got devoured by Sitefinity - here’s the archived
version:

http://web.archive.org/web/20100811225616/http://aardvark-cms.googlecode.com/svn/trunk/build/rakefile.rb

–Matt J.

Many Thanks Brian!