Skip to content

Instantly share code, notes, and snippets.

View lholmquist's full-sized avatar

Lucas Holmquist lholmquist

View GitHub Profile
@lholmquist
lholmquist / gist:6585576
Created September 16, 2013 19:44
holy verboseness
~/develop/projects/aerogear-simplepush-server(branch:master) » mvn -X clean install lholmquist@lincolnhawk
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 08:51:28-0500)
Maven home: /usr/share/maven
Java version: 1.6.0_51, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Reading user settings from /Users/lholmquist/.m2/settings.xml
running this:
~/develop/projects/aerogear-simplepush-server(branch:master) » mvn install -DskipTests=true
gives me this:
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 32 source files to /Users/lholmquist/develop/projects/aerogear-simplepush-server/netty-codec-sockjs/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
@lholmquist
lholmquist / gist:6194041
Last active December 20, 2015 20:59
Ember testing

###Router

App.Router.map( function() { this.resource( "mobileApps", function() { ... });

App.MobileAppsIndexRoute = App.Route.extend({
  ...

});

// Generated on 2013-06-20 using generator-webapp 0.2.2
'use strict';
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereload')({port: LIVERELOAD_PORT});
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
// # Globbing
// for performance reasons we're only matching one level down:
lincolnhawk:server-netty lholmquist$ mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AeroGear SimplePush Server Netty 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ aerogear-simplepush-server-netty ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
lincolnhawk:server-netty lholmquist$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AeroGear SimplePush Server Netty 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ aerogear-simplepush-server-netty ---
[INFO] Deleting /Users/lholmquist/develop/projects/aerogear-simple-push-server/server-netty/target
[INFO]
13:51:23,268 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "ag-push.war"
13:51:24,045 INFO [org.jboss.as.pojo] (MSC service thread 1-7) JBAS017000: Found legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be missing some xml features (potential exceptions).
13:51:24,057 WARN [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016003: Found beans.xml file in non-standard location: "/Users/lholmquist/develop/jboss-as-7.1.1.Final/standalone/deployments/ag-push.war/WEB-INF/classes/META-INF/beans.xml", war deployments should place beans.xml files into WEB-INF/beans.xml
13:51:24,232 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for pushee-default
13:51:24,233 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for picketlink-default
13:51:24,322 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."ag-push.war".POST_
var data = {
id: "123456"
....
},
type = "android";
data.id = pushApplicationID + "/" + type;
applicationPipe.save( data, {
//Create a notifier with the vertx apadter
notifierVertx2 = AeroGear.Notifier({
name: "client2",
settings: {
autoConnect: true,
connectURL: window.location.protocol + '//' + window.location.hostname + ':' + window.location.port + "/eventbus",
onConnect: function() {
console.log( "connected" );
},