diff --git a/.hgignore b/.hgignore index d833900..9b050ba 100644 --- a/.hgignore +++ b/.hgignore @@ -7,3 +7,9 @@ tools/yuicompressor-*.jar tools/ivy-*.jar codecs/hex/local.properties codecs/hex/target +codecs/base64/target +tools/jsdoc-toolkit +codecs/rsa/build +codecs/base64/build +codecs/base64/local.properties +codecs/hex/build diff --git a/codecs/base64/build.properties b/codecs/base64/build.properties new file mode 100644 index 0000000..7ab7f24 --- /dev/null +++ b/codecs/base64/build.properties @@ -0,0 +1,72 @@ +######################################## +# +# This file is a convenient way to define some parameters, +# rather than from inside the build script. +# +# Depending on the ant targets that will be invoked, +# some properties will be required, some others won't. +# +# Some important properties are marked "required" so you can spot +# the ones to define locally if you want to build this project. +# +# You should not need to override those properties. +# If you really need to, you can create a new file called "local.properties" +# in the same directory and put inside any property you want to fit your local configuration. +# +# Do NOT commit the "local.properties" file to the version control system +# (CVS, SVN, ...) : it should stay as a local configuration only. +# Do not commit or remove this file from the v.c.s. either ;-o +# +# If you don't wish to create such a file, you can pass the required properties +# to ant as command line arguments using the -D option. +# +######################################## + +basedir=. + +# Where the source files are : here Maven-style +src.dir=${basedir}/src/main/javascript + +# Directory used to put temporary files during build +build.dir=${basedir}/build + +# Where the generated files are going +target.dir=${basedir}/target + +# Where the generated libraries are going +lib.dir=${target.dir}/lib + +# Where to copy the documentation +doc.dir=${target.dir}/doc + + +######################################## +# +# External programs : you should copy this section to "local.properties" +# and change it for your configuration. +# +######################################## + +# (convenience) -> set to common 'tools' directory +#tools.dir=../../tools + +# JsUnit files +#jsunit.dir=/opt/jsunit +jsunit.coreJs=${jsunit.dir}/app/jsUnitCore.js +#jsunit.build=${jsunit.dir}/build.xml +jsunit.testRunner=${jsunit.dir}/testRunner.html +#jsunit.browsers=/usr/bin/firefox,/usr/bin/konqueror + +# Ant settings +# (required) -> set to Ivy library containing Ant task +#ant.ivytask.path=${tools.dir}/ivy-2.2.0.jar +# (required) -> set to Javascript Ant template project +#ant.jsproject.path=${tools.dir}/ant-js.xml + +# (required) -> define this property in your "local.properties" file +# Full path to the jar of the YUI compressor (http://developer.yahoo.com/yui/compressor) +#yuicompressor.jar=${tools.dir}/yuicompressor-2.4.7.jar + +# (required) -> define this property in your "local.properties" file +# Installation directory of JSDoc-toolkit (http://code.google.com/p/jsdoc-toolki) +#jsdoc.dir=${tools.dir}/jsdoc-toolkit \ No newline at end of file diff --git a/codecs/base64/build.xml b/codecs/base64/build.xml new file mode 100644 index 0000000..f1f1a9f --- /dev/null +++ b/codecs/base64/build.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + diff --git a/codecs/base64/ivy.xml b/codecs/base64/ivy.xml new file mode 100644 index 0000000..eb70e05 --- /dev/null +++ b/codecs/base64/ivy.xml @@ -0,0 +1,22 @@ + + + + + + OpenPGP radix-64/base64 string encoding/decoding. + + + + + + + + + + + + + + + + diff --git a/codecs/hex/build.properties b/codecs/hex/build.properties index 7f9eea1..7ab7f24 100644 --- a/codecs/hex/build.properties +++ b/codecs/hex/build.properties @@ -27,6 +27,9 @@ basedir=. # Where the source files are : here Maven-style src.dir=${basedir}/src/main/javascript +# Directory used to put temporary files during build +build.dir=${basedir}/build + # Where the generated files are going target.dir=${basedir}/target @@ -54,16 +57,16 @@ jsunit.coreJs=${jsunit.dir}/app/jsUnitCore.js jsunit.testRunner=${jsunit.dir}/testRunner.html #jsunit.browsers=/usr/bin/firefox,/usr/bin/konqueror -# Ivy settings -# (required) -> set to Ivy libraries directory (contains all required *.jar) -#ivy.lib.dir=/opt/ivy -#ivy.file = ${basedir}/ivy.xml -#repository.dir=${target}/ivy +# Ant settings +# (required) -> set to Ivy library containing Ant task +#ant.ivytask.path=${tools.dir}/ivy-2.2.0.jar +# (required) -> set to Javascript Ant template project +#ant.jsproject.path=${tools.dir}/ant-js.xml # (required) -> define this property in your "local.properties" file # Full path to the jar of the YUI compressor (http://developer.yahoo.com/yui/compressor) #yuicompressor.jar=${tools.dir}/yuicompressor-2.4.7.jar # (required) -> define this property in your "local.properties" file -# Command line to execute JSDoc (http://jsdoc.sourceforge.net) -#jsdoc=${tools.dir}/JSDoc/jsdoc.pl \ No newline at end of file +# Installation directory of JSDoc-toolkit (http://code.google.com/p/jsdoc-toolki) +#jsdoc.dir=${tools.dir}/jsdoc-toolkit \ No newline at end of file diff --git a/codecs/hex/build.xml b/codecs/hex/build.xml index a6b0c70..c3c95ab 100644 --- a/codecs/hex/build.xml +++ b/codecs/hex/build.xml @@ -1,107 +1,16 @@ - + - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/codecs/hex/ivy.xml b/codecs/hex/ivy.xml index 3c41ac6..a5e1f10 100644 --- a/codecs/hex/ivy.xml +++ b/codecs/hex/ivy.xml @@ -1,5 +1,5 @@ - + This library provides conversion functions from/to hexadecimal format. diff --git a/codecs/rsa/build.properties b/codecs/rsa/build.properties index 7f9eea1..7ab7f24 100644 --- a/codecs/rsa/build.properties +++ b/codecs/rsa/build.properties @@ -27,6 +27,9 @@ basedir=. # Where the source files are : here Maven-style src.dir=${basedir}/src/main/javascript +# Directory used to put temporary files during build +build.dir=${basedir}/build + # Where the generated files are going target.dir=${basedir}/target @@ -54,16 +57,16 @@ jsunit.coreJs=${jsunit.dir}/app/jsUnitCore.js jsunit.testRunner=${jsunit.dir}/testRunner.html #jsunit.browsers=/usr/bin/firefox,/usr/bin/konqueror -# Ivy settings -# (required) -> set to Ivy libraries directory (contains all required *.jar) -#ivy.lib.dir=/opt/ivy -#ivy.file = ${basedir}/ivy.xml -#repository.dir=${target}/ivy +# Ant settings +# (required) -> set to Ivy library containing Ant task +#ant.ivytask.path=${tools.dir}/ivy-2.2.0.jar +# (required) -> set to Javascript Ant template project +#ant.jsproject.path=${tools.dir}/ant-js.xml # (required) -> define this property in your "local.properties" file # Full path to the jar of the YUI compressor (http://developer.yahoo.com/yui/compressor) #yuicompressor.jar=${tools.dir}/yuicompressor-2.4.7.jar # (required) -> define this property in your "local.properties" file -# Command line to execute JSDoc (http://jsdoc.sourceforge.net) -#jsdoc=${tools.dir}/JSDoc/jsdoc.pl \ No newline at end of file +# Installation directory of JSDoc-toolkit (http://code.google.com/p/jsdoc-toolki) +#jsdoc.dir=${tools.dir}/jsdoc-toolkit \ No newline at end of file diff --git a/codecs/rsa/build.xml b/codecs/rsa/build.xml index 7aa4f48..a89d7d3 100644 --- a/codecs/rsa/build.xml +++ b/codecs/rsa/build.xml @@ -1,107 +1,16 @@ - + - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/codecs/rsa/ivy.xml b/codecs/rsa/ivy.xml index 22f0bc6..08c12fa 100644 --- a/codecs/rsa/ivy.xml +++ b/codecs/rsa/ivy.xml @@ -1,5 +1,5 @@ - + diff --git a/tools/ant-js.xml b/tools/ant-js.xml new file mode 100644 index 0000000..5296b28 --- /dev/null +++ b/tools/ant-js.xml @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +