Commits

Michael[tm] Smith  committed af52b3d

Set up for W3C service.

  • Participants
  • Parent commits 272e5a5

Comments (0)

Files changed (3)

+This is a fork of the validator.nu sources that is used for
+the W3C Nu Markup Validation Service.
+
 ---------------------------------------------------------------------------
 How to download, build, and run the validator
 ---------------------------------------------------------------------------
 
    mkdir checker
    cd checker
-   hg clone https://bitbucket.org/validator/build build
+   hg clone http://dvcs.w3.org/hg/build build
 
    The above steps creates a "checker" directory in which the build script
    will create other subdirectories, and downloads the build.py script
 hgCmd = 'hg'
 
 buildRoot = '.'
-hgRoot = 'https://bitbucket.org/validator/'
+hgRoot = 'http://dvcs.w3.org/hg/'
 parserHgRoot = 'http://hg.mozilla.org/projects/'
 portNumber = '8888'
 controlPort = None
+#!/bin/sh
+
+JAVA_HOME=/usr/local/java
+export JAVA_HOME
+
+PATH=$JAVA_HOME/bin/:$PATH
+export PATH
+
+cd /usr/local/validator.nu/checker
+
+if [ "$1" != "" ]
+then
+	args=$@
+else
+	args="--no-self-update run"
+fi
+python build/build.py \
+  --heap=512 \
+  --connection-timeout=3 \
+  --socket-timeout=3 \
+  --page-template=http://www.w3.org/2009/12/vnu/w3cPageEmitter.xml \
+  --form-template=http://www.w3.org/2009/12/vnu/w3cFormEmitter.xml \
+  --html5link=http://dev.w3.org/html5/spec-author-view/ \
+  --about=http://www.w3.org/2009/12/vnu/ \
+  --name="Ready to validate" \
+  $args