<oXygen/> XML Editor User Guide |
When your XML project requires to run an external tool different than a FO processor and which can be launched from the command line <oXygen/> offers you the option of integrating the tool by specifying just the command line for starting the executable file of the tool and its working directory for the tool. To integrate such a tool allez à Outils Externes -> +
As example let us integrate the Ant build tool in <oXygen/>. The procedure for this purpose is:
Test your Ant installation from the command line in the directory
where you want to use Ant from <oXygen/>, for example run the
clean target of your
build.xml
file
C:\projects\XMLproject\build.xml
:
ant clean
Create a new external tool entry with the name Ant
tool, the working directory
C:\projects\XMLproject
and the
command line "C:\projects\XMLproject\ant.bat"
clean obtained by browsing to the
ant.bat
file from directory
C:\projects\XMLproject
Run the tool from Command results panel: -> -> . You can see the output in the
Started: "C:\projects\XMLproject\ant.bat" clean Buildfile: build.xml clean: [echo] Delete output files. [delete] Deleting 5 files from C:\projects\XMLproject BUILD SUCCESSFUL Total time: 1 second