stritti / log4js

Log4js - The Logging Framework for JavaScript with no runtime dependencies
https://stritti.github.io/log4js/
Apache License 2.0
449 stars 57 forks source link

Ant build fails due to bad URLs for the dependencies #9

Closed chrisbartley closed 6 years ago

chrisbartley commented 9 years ago

The "download-dependencies" target tries to fetch libraries which fail with 404s:

$ ant download-dependencies dist
Buildfile: /Users/chris/Downloads/log4js-1.0.0/build.xml

init:
    [mkdir] Created dir: /Users/chris/Downloads/log4js-1.0.0/lib
    [mkdir] Created dir: /Users/chris/Downloads/log4js-1.0.0/build

download-dependencies:
      [get] Getting: http://www.anvilon.com/software/download/jsjam
      [get] To: /Users/chris/Downloads/log4js-1.0.0/tools/jsjam.pl
      [get] Getting: http://www.ibiblio.org/maven/junit/jars/junit-4.3.jar
      [get] To: /Users/chris/Downloads/log4js-1.0.0/lib/junit-4.3.jar
      [get] Error opening connection java.io.FileNotFoundException: http://www.ibiblio.org/maven/junit/jars/junit-4.3.jar
      [get] Error opening connection java.io.FileNotFoundException: http://www.ibiblio.org/maven/junit/jars/junit-4.3.jar
      [get] Error opening connection java.io.FileNotFoundException: http://www.ibiblio.org/maven/junit/jars/junit-4.3.jar
      [get] Can't get http://www.ibiblio.org/maven/junit/jars/junit-4.3.jar to /Users/chris/Downloads/log4js-1.0.0/lib/junit-4.3.jar
      [get] Getting: http://mesh.dl.sourceforge.net/sourceforge/jsunit/jsunit2_1.zip
      [get] To: /Users/chris/Downloads/log4js-1.0.0/lib/jsunit2_1.zip
      [get] Error getting http://mesh.dl.sourceforge.net/sourceforge/jsunit/jsunit2_1.zip to /Users/chris/Downloads/log4js-1.0.0/lib/jsunit2_1.zip

BUILD FAILED
/Users/chris/Downloads/log4js-1.0.0/build.xml:253: src '/Users/chris/Downloads/log4js-1.0.0/lib/jsunit2_1.zip' doesn't exist.

Total time: 0 seconds

I've used log4s-node and love it. Now I'd like to try it outside of node. Do you have pre-built .js files somewhere? Thanks.

stritti commented 9 years ago

Probably we should shift nowadays to https://github.com/jasmine/jasmine.

As workaround, you could download latest version of jsUnit from http://sourceforge.net/projects/jsunit/

stritti commented 9 years ago

The latst releases could be found at https://github.com/stritti/log4js/releases