Details
-
Improvement
-
Resolution: Fixed
-
Major
-
4.3
-
None
-
Unknown
-
N/A
-
N/A
-
Description
I got fed up of seeing:
Starting XWiki server start Checking that XWiki is up and running... Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found. The command attribute is deprecated. Please use the executable attribute and nested arg elements.
Remove usage of Ant and use Commons Exec instead (even if it's old, it should be working fine and btw it was coded by extracting the Ant Exec task).
Also improve the way XWiki is stopped by waiting for the start process to terminate.