Это старая версия документа.
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/handler.php on line 1458
Warning: Declaration of syntax_plugin_tablecalc::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 41
Warning: Declaration of syntax_plugin_tablecalc::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 72
Warning: Declaration of syntax_plugin_offline::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 60
Warning: Declaration of syntax_plugin_offline::render($format, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 67
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3416 in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/lexer.php on line 118
====== Apache Ivy ====== Apache Ivy is a popular dependency manager focusing on flexibility and simplicity.\\ Home site - [[http://ant.apache.org/ivy]]\\ Quick start - [[http://ant.apache.org/ivy/history/latest-milestone/tutorial/start.html]]\\ Repository - [[http://mvnrepository.com/]]\\ ===== Example ===== 1. Download and place ivy-xxx.jar to the ant home lib folder: **/usr/share/ant/lib/ivy-2.2.0.jar**.\\ 2. Modify your project build script:\\ **build.xml**\\ <code xml> <project name="arcman" default="main" xmlns:ivy="antlib:org.apache.ivy.ant"> <ivy:retrieve file="./ivy.xml" sync="true"/> ... <property name="junit.jar" location="${lib.dir}/junit-4.8.2.jar"/> ... <target name="test" depends="compile.test"> <junit printsummary="yes" haltonerror="yes" haltonfailure="yes" fork="yes"> <formatter type="plain" usefile="false"/> <test name="promauto.arcman.VarsTest"/> <classpath> <pathelement location="${java.build.dir}"/> <pathelement location="${test.build.dir}"/> <pathelement location="${junit.jar}"/> </classpath> </junit> </target> </project> </code> 3. Create ivy dependencies script in folder with build.xml:\\ **ivy.xml**\\ <code xml> <ivy-module version="2.0"> <info organisation="promauto" module="sampling-ivy"/> <dependencies> <dependency org="junit" name="junit" rev="4.8.2"/> <dependency org="net.sf.squirrel-sql.thirdparty-non-maven" name="jaybird" rev="2.1.6"/> <dependency org="log4j" name="log4j" rev="1.2.16"/> </dependencies> </ivy-module> </code> 4. Start building. All needed libraries will mysteriously appeare in ./lib folder.