Changes between Version 2 and Version 3 of AntResume
- Timestamp:
- Jun 21, 2006, 11:45:27 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AntResume
v2 v3 257 257 Autre exemple sous le shell Windows natif : 258 258 259 D:\Projets\test> *PATH D:\externals\Ant\apache-ant-1.6.2\bin;%PATH%*260 261 D:\Projets\test> *ant doc*262 <verbatim> 259 D:\Projets\test> '''PATH D:\externals\Ant\apache-ant-1.6.2\bin;%PATH%''' 260 261 D:\Projets\test> '''ant doc''' 262 {{{ 263 263 Buildfile: build.xml 264 264 … … 277 277 BUILD SUCCESSFUL 278 278 Total time: 4 seconds 279 </verbatim> 280 ---+++Extension 281 On peut ajouter des tâches en fournissant une archive Jar contenant les classes exécutant les nouvelles opérations et en définissant cette librairie dans le fichier *build.xml*. 279 }}} 280 281 == Extension == 282 On peut ajouter des tâches en fournissant une archive Jar contenant les classes exécutant les nouvelles opérations et en définissant cette librairie dans le fichier '''build.xml'''. 282 283 283 284 Il n'y a pas de reconstruction de Ant : le chargement des librairies Java est dynamique (-> à l'exécution). … … 286 287 287 288 Un exemple de fichier build.xml utilisant l'extension C++ : 288 <verbatim> 289 {{{ 289 290 <?xml version="1.0"?> 290 291 <project name="Ant++" default="build" basedir="."> … … 304 305 305 306 </project> 306 </verbatim> 307 }}} 308 307 309 Exemple Linux : 308 310 309 % *ant*310 <verbatim> 311 % '''ant''' 312 {{{ 311 313 Buildfile: build.xml 312 314 … … 317 319 BUILD SUCCESSFUL 318 320 Total time: 2 seconds 319 </verbatim> 320 321 % *./demo.exe* 322 <verbatim> 321 }}} 322 323 % '''./demo.exe''' 324 325 {{{ 323 326 Hello, world ! 324 </verbatim> 327 }}} 325 328 Sous Windows, on peut utiliser Cygwin pour avoir un compilateur C++. 326 329 327 330 Le mécanisme pour écrire des tâches Ant est détaillé dans _Writing Your Own Task_. 328 ---+++ Intégration 329 Ant est accepté par de nombreux IDE (_Integrated Development Environment_) : Eclipse, JBuilder, !VisualAge for Java, !WebSphere Studio. 330 ---+++ Liens 331 * Ant : http://ant.apache.org/ 332 * Documentation Ant : http://ant.apache.org/manual/index.html 333 * C++ / Ant : http://sourceforge.net/projects/ant-contrib/ 331 332 == Intégration == 333 Ant est accepté par de nombreux IDE (''Integrated Development Environment'') : Eclipse, JBuilder, !VisualAge for Java, !WebSphere Studio. 334 335 == Liens == 336 * Ant : http://ant.apache.org/ 337 * Documentation Ant : http://ant.apache.org/manual/index.html 338 * C++ / Ant : http://sourceforge.net/projects/ant-contrib/ 334 339 Note : il faut prendre aussi la distribution cpptasks 335 336 337 340 * Doxygen / Ant : http://www.sourceforge.net/projects/ant-doxygen 341 * Cygwin : http://cygwin.com/ 342 * GNU : http://www.gnu.org/