Sha256: ee3b2ad946789795d40ed4a0b1c129e47e605aff464e691c098d5ed162f7fdf4

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

#-*- mode: ruby -*-
GWT_VERSION = '2.2.0'
jar('org.fusesource.restygwt:restygwt', '1.2-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('de.mkristian.rails-gwt:rails-gwt', '0.1.0-SNAPSHOT').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 => "<%= application_name.underscore %>.html",
             :includes => "**/<%= application_name %>GWTTestSuite.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"
# vim: syntax=Ruby

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
resty-generators-0.3.3 lib/generators/resty/setup/templates/Mavenfile
resty-generators-0.3.2 lib/generators/resty/setup/templates/Mavenfile
resty-generators-0.3.1 lib/generators/resty/setup/templates/Mavenfile
resty-generators-0.3.0 lib/generators/resty/setup/templates/Mavenfile