This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resource resource = new Resource(GWT.getModuleBaseURL(), new HashMap<String, String>()); | |
resource = resource.addQueryParam("includeparam", "false"); | |
try | |
{ | |
resource.get().send( new RequestCallback() { | |
@Override | |
public void onResponseReceived( Request request, Response response ) | |
{ | |
// TODO Auto-generated method stub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gemfile | |
#parent 'parent.group:parent_artifact_id', '1.0' | |
#group_id 'my.group' | |
#artifact_id 'my_webapp' | |
#version '1.0.0' | |
# we want a war file | |
packaging :war |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packaging :war | |
phase :package do | |
plugin 'de.saumya.mojo:jruby-maven-plugin', '1.0.0-rc3' do | |
execute_goal( :jruby, | |
:id => 'pack-war with warbler', | |
:filename => 'warble', | |
:gemUseSystem => true ) | |
execute_goal( :jruby, | |
:id => 'move war to maven build dir', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>rails</groupId> | |
<artifactId>dhammapada</artifactId> | |
<version>0.0.0</version> | |
<packaging>war</packaging> | |
<repositories> | |
<repository> | |
<id>rubygems-releases</id> | |
<url>http://rubygems-proxy.torquebox.org/releases</url> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class C { | |
public void m( String[] args, Object f ) { | |
System.out.println( "asd" ); | |
} | |
public void m( String[] args ) { | |
System.out.println( args.length ); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'maven/ruby/tasks' | |
# overwrite predefined task with custom maven | |
task :maven do | |
# the block is the POM for maven | |
maven do | |
# load data from gemspec | |
gemspec | |
inherit "io.tesla.polyglot:tesla-polyglot:0.0.1-SNAPSHOT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'maven/ruby/tasks' | |
task :default => :build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.jruby</groupId> | |
<artifactId>jruby</artifactId> | |
<version>1.7.5.dev</version> | |
<name><![CDATA[JRuby]]></name> | |
<packaging>jar</packaging> | |
<repositories> | |
<repository> | |
<id>localrepo</id> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://localhost:4711/nexus/content/repositories/gemsproxy' | |
gem 'httparty' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Json( style = Style.RAILS, name="sometype") | |
class SomeType | |
{ | |
public String id; | |
public String name; | |
} |