Skip to content

Instantly share code, notes, and snippets.

View hbons's full-sized avatar

Hylke Bons hbons

View GitHub Profile
mvn --version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 13:51:28+0000)
Maven home: /usr/local/Cellar/maven/3.0.5/libexec
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.1", arch: "x86_64", family: "mac"
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/23/maven-parent-23.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/23/maven-parent-23.pom (32 KB at 232.3 KB/sec)
[DEBUG] Writing resolution tracking file /Users/hbons/.m2/repository/org/apache/maven/maven-parent/23/maven-parent-23.pom.lastUpdated
[DEBUG] Writing resolution tracking file /Users/hbons/.m2/repository/org/apache/maven/maven-parent/23/_maven.repositories
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repository.jboss.org/nexus/content/groups/public/
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/apache/maven/maven-model/3.1.1/maven-model-3.1.1.pom
curl -v -b cookies.txt -c cookies.txt -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"lassword":"123"}' http://localhost:8080/ag-push/rest/auth/login
* Adding handle: conn: 0x7fd38b804400
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fd38b804400) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8080 (#0)
* Trying ::1...
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
./bin/standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/hbons/AeroGear/wildfly
JAVA: java
JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
curl -v -b cookies.txt -c cookies.txt -H "Accept: application/json" -H "Content-type: application/json" -X PUT -d '{"loginName": "admin", "password":"123","newPassword":"SOMENEWPASSWORD"}' http://localhost:8080/ag-push/rest/auth/update
* Adding handle: conn: 0x7fc8c0804000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fc8c0804000) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8080 (#0)
* Trying ::1...
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
hylkes-air:newadmin hbons$ grunt server
Loading "grunt-karma.js" tasks...ERROR
>> Error: Cannot find module 'pkginfo'
Running "server" task
Running "initLocalConfig" task
>> local config../server/src/main/webapp
Running "clean:server" (clean) task
hylkes-air:wildfly hbons$ ./bin/standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/hbons/AeroGear/wildfly
JAVA: java
JAVA_OPTS: -d32 -client -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Model Layer 0.11.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-java-version) @ unifiedpush-model-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-maven-version) @ unifiedpush-model-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-maven) @ unifiedpush-model-parent ---
@hbons
hbons / gist:7691352
Last active December 29, 2015 15:29
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/0.10.10/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose read json /Users/hbons/Desktop/Red Hat/AeroGear/aerogear-unifiedpush-server-admin-ui/package.json
5 verbose readDependencies using package.json deps
6 verbose install where, deps [ '/Users/hbons/Desktop/Red Hat/AeroGear/aerogear-unifiedpush-server-admin-ui',
6 verbose install [ 'grunt',
> [email protected] install /Users/hbons/Desktop/Red Hat/AeroGear/aerogear-unifiedpush-server-admin-ui/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs
> node install.js
Downloading http://phantomjs.googlecode.com/files/phantomjs-1.9.2-macosx.zip
Saving to /var/folders/vs/f1vpmwmx54scny8crp406wz40000gn/T/phantomjs/phantomjs-1.9.2-macosx.zip
Receiving...
Error requesting archive
Phantom installation failed [Error: Error with http request: { 'content-type': 'text/html',
'content-length': '513',
connection: 'close',