Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 54112c4ed6
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (34 sloc) 1.609 kb
#-*- mode: ruby -*-
GWT_VERSION = '2.4.0'
jar('de.mkristian.gwt:rails-gwt', '0.7.1-SNAPSHOT').scope :provided
jar('org.fusesource.restygwt:restygwt', '1.3-SNAPSHOT').scope :provided
jar('javax.ws.rs:jsr311-api', '1.1').scope :provided
jar('com.google.gwt:gwt-user', GWT_VERSION).scope :provided
jar('com.google.gwt.inject:gin', '1.5.0').scope :provided
jar('javax.validation:validation-api', '1.0.0.GA').scope :provided
jar('javax.validation:validation-api', '1.0.0.GA', 'sources').scope :provided
plugin('org.codehaus.mojo:gwt-maven-plugin', GWT_VERSION) do |gwt|
gwt.with({ :warSourceDirectory => "${basedir}/public",
:webXml => "${basedir}/public/WEB-INF/web.xml",
:webappDirectory => "${basedir}/public",
:hostedWebapp => "${basedir}/public",
:inplace => true,
:logLevel => "INFO",
:style => "DETAILED",
:treeLogger => true,
:extraJvmArgs => "-Xmx512m",
:runTarget => "Users.html",
:includes => "**/UsersGWTTestSuite.java"
})
gwt.executions.goals << ["clean", "compile", "test"]
end
plugin(:rails3).in_phase("initialize").execute_goal(:pom).with :force => true
#-- Macs need the -d32 -XstartOnFirstThread jvm options -->
profile("mac") do |mac|
mac.activation.os.family "mac"
mac.plugin('org.codehaus.mojo:gwt-maven-plugin').with(:extraJvmArgs => "-d32 -XstartOnFirstThread -Xmx512m")
end
#repository(:snapshots).url "http://mojo.saumya.de"
properties['jruby.plugins.version'] ='0.28.7-SNAPSHOT'
properties['jruby.version'] = '1.6.5'
# vim: syntax=Ruby
Jump to Line
Something went wrong with that request. Please try again.