Skip to content

Instantly share code, notes, and snippets.

@foxxtrot
Created January 12, 2011 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foxxtrot/776630 to your computer and use it in GitHub Desktop.
Save foxxtrot/776630 to your computer and use it in GitHub Desktop.
Buildfile: /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build.xml
[echo] Starting Build For gallery-node-extras
[echo] Ant Properties
[echo] Home : /usr/share/ant
[echo] Ant Version : Apache Ant version 1.8.0 compiled on May 9 2010
[echo] Build File : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build.xml
[echo] Local Build Properties
[echo] version : 3
[echo] srcdir : /home/craig/src/yui/yui3-gallery
[echo] builddir : ../../../builder/componentbuild
[echo] component : gallery-node-extras
[echo] component.basefilename : gallery-node-extras
[echo] component.basedir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras
[echo] component.builddir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp
[echo] Global Build Properties
[echo] global.build.base : /home/craig/src/yui/yui3-gallery/build
[echo] global.build.component : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras
[echo] global.build.component.assets : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras/assets
all:
[echo] Starting Build For gallery-node-extras
[echo] Ant Properties
[echo] Home : /usr/share/ant
[echo] Ant Version : Apache Ant version 1.8.0 compiled on May 9 2010
[echo] Build File : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build.xml
[echo] Local Build Properties
[echo] version : 3
[echo] srcdir : /home/craig/src/yui/yui3-gallery
[echo] builddir : ../../../builder/componentbuild
[echo] component : gallery-node-extras
[echo] component.basefilename : gallery-node-extras
[echo] component.basedir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras
[echo] component.builddir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp
[echo] Global Build Properties
[echo] global.build.base : /home/craig/src/yui/yui3-gallery/build
[echo] global.build.component : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras
[echo] global.build.component.assets : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras/assets
clean:
[delete] Deleting directory /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp
init:
[mkdir] Created dir: /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp
[echo] Starting Build For gallery-node-extras
[echo] Ant Properties
[echo] Home : /usr/share/ant
[echo] Ant Version : Apache Ant version 1.8.0 compiled on May 9 2010
[echo] Build File : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build.xml
[echo] Local Build Properties
[echo] version : 3
[echo] srcdir : /home/craig/src/yui/yui3-gallery
[echo] builddir : ../../../builder/componentbuild
[echo] component : gallery-node-extras
[echo] component.basefilename : gallery-node-extras
[echo] component.basedir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras
[echo] component.builddir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp
[echo] Global Build Properties
[echo] global.build.base : /home/craig/src/yui/yui3-gallery/build
[echo] global.build.component : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras
[echo] global.build.component.assets : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras/assets
-yuicompressor:
[echo] Attempting to start YUI Compressor server.
[echo] Starting Build For gallery-node-extras
[echo] Ant Properties
[echo] Home : /usr/share/ant
[echo] Ant Version : Apache Ant version 1.8.0 compiled on May 9 2010
[echo] Build File : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build.xml
[echo] Local Build Properties
[echo] version : 3
[echo] srcdir : /home/craig/src/yui/yui3-gallery
[echo] builddir : ../../../builder/componentbuild
[echo] component : gallery-node-extras
[echo] component.basefilename : gallery-node-extras
[echo] component.basedir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras
[echo] component.builddir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp
[echo] Global Build Properties
[echo] global.build.base : /home/craig/src/yui/yui3-gallery/build
[echo] global.build.component : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras
[echo] global.build.component.assets : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras/assets
-lint-server:
[echo] Starting Build For gallery-node-extras
[echo] Ant Properties
[echo] Home : /usr/share/ant
[echo] Ant Version : Apache Ant version 1.8.0 compiled on May 9 2010
[echo] Build File : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build.xml
[echo] Local Build Properties
[echo] version : 3
[echo] srcdir : /home/craig/src/yui/yui3-gallery
[echo] builddir : ../../../builder/componentbuild
[echo] component : gallery-node-extras
[echo] component.basefilename : gallery-node-extras
[echo] component.basedir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras
[echo] component.builddir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp
[echo] Global Build Properties
[echo] global.build.base : /home/craig/src/yui/yui3-gallery/build
[echo] global.build.component : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras
[echo] global.build.component.assets : /home/craig/src/yui/yui3-gallery/build/gallery-node-extras/assets
-node:
[exec] v0.3.4-pre
[echo] Spawning Node.js app at: ../../../builder/componentbuild/lib/jslint/jslint-node.js
-concatdebug:
[echo] Concatenating
[echo] Source Files : node-extras.js
[echo] In Source Dir : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/js
[echo] To : /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp/gallery-node-extras-debug.js
[copy] Copying 1 file to /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp/ant
[delete] Deleting directory /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp/ant
-registerdebug:
[echo] Wrapping /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp/gallery-node-extras-debug.js in YUI.add module
[copy] Copying 1 file to /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp
-prependdebug:
-appenddebug:
builddebug:
-createcore:
[copy] Copying 1 file to /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp
-loggerregex:
[echo] Replacing Logger Statements in /home/craig/src/yui/yui3-gallery/src/gallery-node-extras/build_tmp/gallery-node-extras.js
buildcore:
-rollupjs:
-concatskins:
-buildskins:
-rollupcss:
buildskins:
-buildlangs:
-rolluplangs:
buildlangs:
build:
minify:
[echo] If this web request fails, try building again with -Dyuicompressor.online=false or install the cURL executable into your PATH.
lint:
[post] Opening connection for post to http://127.0.0.1:8081/...
[post] Connected, sending data...
[post] files=%2Fhome%2Fcraig%2Fsrc%2Fyui%2Fyui3-gallery%2Fsrc%2Fgallery-node-extras%2Fbuild_tmp%2Fgallery-node-extras-debug.js%27+%27%2Fhome%2Fcraig%2Fsrc%2Fyui%2Fyui3-gallery%2Fsrc%2Fgallery-node-extras%2Fbuild_tmp%2Fgallery-node-extras-min.js%27+%27%2Fhome%2Fcraig%2Fsrc%2Fyui%2Fyui3-gallery%2Fsrc%2Fgallery-node-extras%2Fbuild_tmp%2Fgallery-node-extras.js&failonerror=true
[post] Data sent.
[post] Waiting for response...
[post] Exception in thread "Thread-13" /home/craig/src/yui/builder/componentbuild/shared/macrolib.xml:190: java.net.ConnectException: Connection refused
[post] at net.sf.antcontrib.net.PostTask$2.run(PostTask.java:404)
[post] Caused by: java.net.ConnectException: Connection refused
[post] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[post] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[post] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[post] at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
[post] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458)
[post] at java.security.AccessController.doPrivileged(Native Method)
[post] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452)
[post] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106)
[post] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397)
[post] at net.sf.antcontrib.net.PostTask$2.run(PostTask.java:348)
[post] Caused by: java.net.ConnectException: Connection refused
[post] at java.net.PlainSocketImpl.socketConnect(Native Method)
[post] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
[post] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
[post] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
[post] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
[post] at java.net.Socket.connect(Socket.java:546)
[post] at java.net.Socket.connect(Socket.java:495)
[post] at sun.net.NetworkClient.doConnect(NetworkClient.java:178)
[post] at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
[post] at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
[post] at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:761)
[post] at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
[post] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1162)
[post] at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:2236)
[post] at net.sf.antcontrib.net.PostTask$2.run(PostTask.java:333)
[post] Post complete.
BUILD FAILED
/home/craig/src/yui/builder/componentbuild/shared/targets.xml:27: The following error occurred while executing this line:
/home/craig/src/yui/builder/componentbuild/shared/targets.xml:134: The following error occurred while executing this line:
/home/craig/src/yui/builder/componentbuild/shared/macrolib.xml:201: JSLint failed. To view lint output and continue the build, run ant with -Dlint.failonerror=false.
Total time: 11 seconds
craig@ford-prefect:~/src/yui/yui3-gallery/src/gallery-node-extras$ node ../../../builder/componentbuild/lib/jslint/jslint-node.js
Server started on port 8081
http.js:636
var statusLine = 'HTTP/1.1 ' + statusCode.toString() + ' ' +
^
TypeError: Cannot call method 'toString' of undefined
at ServerResponse.writeHead (http.js:636:45)
at EventEmitter.<anonymous> (/home/craig/src/yui/builder/componentbuild/lib/jslint/jslint-node.js:74:17)
at EventEmitter.emit (events.js:34:17)
at /home/craig/src/yui/builder/componentbuild/lib/jslint/jslint-node.js:98:66
at [object Object].<anonymous> (fs.js:86:5)
at [object Object].emit (events.js:28:17)
at afterRead (fs.js:746:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment