From: Nicola B. <nic...@gm...> - 2006-11-19 16:16:22
|
Wolfgang Meier ha scritto: >> <target name="backup_exist" description="backup eXist database"> >> <java classname="org.exist.start.Main"> >> <classpath refid="cpath" /> >> <arg value ="-jar start.jar >> ${backup.arguments}"/> >> </java> >> <echo>Backing up eXist collection...</echo> >> </target> > > eXist's Ant library defines backup and restore tasks, see: > http://www.exist-db.org/ant-tasks.html#N1049A > using these should be simpler than calling Java from within Ant. > Wolfgang > Thank u very much, nico |