Skip to content

Commit

Permalink
Updated readme for maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
dashorst committed Feb 5, 2014
1 parent 57c5e00 commit 9e38032
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Expand Up @@ -77,3 +77,33 @@ $ mvn install
```

Then you can add the Wicket.Validator dependency to your own application using Maven.

Original sources
----------------

Most of the sources come from the htmlvalidator service, which has
its source code published on bitbucket.

Follow the build instructions found here: https://bitbucket.org/validator/build/src
to get all the necessary sources (patched and downloaded) onto your system.
Just make sure that the `checker` folder is next to the clone of the wicket validator folder.


The `whattf` module is derived from the syntax module:

* java code is taken from: https://bitbucket.org/validator/syntax/src/c7989b0788cb/non-schema
* src/main/resources is taken from: https://bitbucket.org/validator/syntax/src/c7989b0788cb73ad916980e122a470d730a51820/relaxng

Retrieve the sources:

hg clone https://bitbucket.org/validator/syntax

Remove the current sources and copy the newly checked out one's:

rm -rf wicketstuff-htmlvalidator-parent/whattf/src/main/java
cp -r checker/syntax/non-schema/java/src wicketstuff-htmlvalidator-parent/whattf/src/main/java
cp -r checker/syntax/relaxng/datatype/java/src/org whattf/src/main/java
cp -r checker/validator/src/nu/validator/localentities wicketstuff-htmlvalidator-parent/whattf/src/main/resources/nu/validator

rm -rf wicketstuff-htmlvalidator-parent/whattf/src/main/resources/relaxng/*
cp checker/syntax/relaxng/* wicketstuff-htmlvalidator-parent/whattf/src/main/resources/relaxng

0 comments on commit 9e38032

Please sign in to comment.