A lot of fixes and improvements, see the single commit messages for more information #99

Closed
wants to merge 79 commits into
from
Commits on May 2, 2013
  1. remove phonehome leftovers

    Vampire committed Mar 8, 2013
  2. fix ant task documentation

    Vampire committed Mar 8, 2013
  3. remove unused variable

    Vampire committed Mar 8, 2013
  4. fix cleanup of task variables

    Vampire committed Mar 8, 2013
  5. do not skip ant task execution if input and output have the same last…

    Vampire committed Mar 8, 2013
    … modified date, as this most likely means the input and output files are identical and thus the timestamps are not good up-to-date check
  6. fix code-style issues

    Vampire committed Mar 11, 2013
  7. fix wrong error messages

    Vampire committed Mar 11, 2013
  8. fix output resource handling

    Vampire committed Mar 11, 2013
  9. fix method name

    Vampire committed Mar 11, 2013
  10. fix wrong JavaDoc comments

    Vampire committed Mar 11, 2013
  11. fix if attribute for Option and Param nested tags which were document…

    Vampire committed Mar 11, 2013
    …ed but not accepted and considered
  12. show a meaningful error if no pipeline is given instead of throwing a…

    Vampire committed Mar 12, 2013
    … NullPointerException
  13. also check whether libraries and pipeline are specified together and …

    Vampire committed Mar 13, 2013
    …give a more meaningful error message than 'Unparseable option'
  14. output a linebreak before the usage message to separate it from the e…

    Vampire committed Mar 13, 2013
    …rror message and make that one more observable
  15. refactor Main driver and ParseArgs to have a separate data holder for…

    Vampire committed Mar 15, 2013
    … the user arguments and to make the work method in Main driver usable for other drivers
  16. do not require a prefix binding to be defined before its usage, but c…

    Vampire committed Mar 15, 2013
    …heck the binding availability after all parsing is done, this will also be useful for the ant task where it is not predictable in which order stuff is set
  17. make the port specification for -o option optional and bind to the pr…

    Vampire committed Mar 17, 2013
    …imary output port if not given
  18. make the port specification for -i and -d options optional and bind t…

    Vampire committed Mar 17, 2013
    …o the primary non-parameter input port if not given
  19. change the CalabashTask driver to use UserArgs and the refactored wor…

    Vampire committed Mar 30, 2013
    …ker method from Main driver
  20. allow usage of streams for output to make it possible to use any writ…

    Vampire committed Mar 30, 2013
    …able Ant resource from CalabashTask driver, not only FileResources
  21. allow usage of streams for pipeline to make it possible to use any re…

    Vampire committed Mar 30, 2013
    …adable Ant resource from CalabashTask driver, not only FileResources
  22. use UserArgs directly where possible and remove some class attributes…

    Vampire committed Mar 31, 2013
    … that are not needed otherwise
  23. interpret input and pipeline resources' lastModified date as Long.MAX…

    Vampire committed Mar 31, 2013
    …_VALUE if it couldn't be determined and thus execute the task
  24. beautify some code

    Vampire committed Mar 31, 2013
  25. check again for option and parameter uniqueness in given parameters a…

    Vampire committed Apr 22, 2013
    …s you can give the same one with different prefixes or once with prefix and once in Clark notation otherwise
  26. use URI.create() instead of new URI(), as this should be used for kno…

    Vampire committed Apr 25, 2013
    …wn URI that cannot normally give an URISyntaxException
  27. throw an error if schema-aware processing is selected with a saxon pr…

    Vampire committed Apr 27, 2013
    …ocessor other than "ee"
  28. fix NullPointerException in p:log code if the pipeline comes from an …

    Vampire committed Apr 27, 2013
    …inputstream, not a file
  29. fix JavaDoc

    Vampire committed Apr 28, 2013
  30. add Ant resources that connect to stdin, stdout and stderr and provid…

    Vampire committed Apr 29, 2013
    …e an antlib to mass-load the task and types
  31. correctly handle a return value of "null" from URLConnection.getConte…

    Vampire committed May 2, 2013
    …ntType() and thus do not depend on the Sun / Oracle Implementation which returns "content/unknown" instead of "null"
  32. make it possible to specify the content type for data inputs from the…

    Vampire committed May 2, 2013
    … command line and Ant task instead of the hard-coded text/plain and thus correctly Base64-encode non-text data input and use user-given content type preferred over content type that is determined from the content or name