I don't know any Ant Doxia task, it would be easier to use Maven or call the Mvn Ant task from your Ant build to call Doxia ...
If this is really not possible, it should be easy enough to build an Ant custom task to invoke Doxia.
, :
Maven Plexus, Doxia Plexus .
Plexus, .
, SiteTools . Ant, , Ant.
public class DoxiaPlexusTest
{
public static void main( String[] args )
throws Exception {
PlexusContainer container = new DefaultPlexusContainer();
SiteTool siteTool = container.lookup( SiteTool.class );
try {
new DoxiaPlexusTest().letsDoDoxia(siteTool);
finally {
container.dispose();
}
}
public void letsDoDoxia(SiteTool siteTool) {
List localesList = siteTool.getAvailableLocales( locales );
String relativePath = siteTool.getRelativePath( "C:/foo/child",
"C:/foo/master" );
...
}
}