diff --git a/doc/toc.json b/doc/toc.json index dae168fc..b1b0b44e 100644 --- a/doc/toc.json +++ b/doc/toc.json @@ -37,7 +37,7 @@ ] }, { - "id":"tutorial/multi-project", + "id":"tutorial/dependence", "title":"Project dependencies", "children": [ @@ -63,21 +63,14 @@ "children": [ { "id":"tutorial/build-repository/basic", - "title":"Basic repository replication", + "title":"Basic repository copy", "children": [ ] }, { - "id":"tutorial/build-repository/advanced1", - "title":"Advanced repository - step 1", - "children": [ - - ] - }, - { - "id":"tutorial/build-repository/advanced2", - "title":"Advanced repository - step 2", + "id":"tutorial/build-repository/advanced", + "title":"Using namespaces", "children": [ ] diff --git a/doc/tutorial/build-repository.html b/doc/tutorial/build-repository.html index 37060e2c..e3cfc228 100644 --- a/doc/tutorial/build-repository.html +++ b/doc/tutorial/build-repository.html @@ -25,13 +25,14 @@ diff --git a/doc/tutorial/build-repository/advanced.html b/doc/tutorial/build-repository/advanced.html new file mode 100644 index 00000000..8913a95d --- /dev/null +++ b/doc/tutorial/build-repository/advanced.html @@ -0,0 +1,119 @@ + + + + + + + + + + + + + diff --git a/doc/tutorial/build-repository/advanced1.html b/doc/tutorial/build-repository/advanced1.html deleted file mode 100644 index 9661256e..00000000 --- a/doc/tutorial/build-repository/advanced1.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - - - - - - - diff --git a/doc/tutorial/build-repository/advanced2.html b/doc/tutorial/build-repository/advanced2.html deleted file mode 100644 index 5d752a07..00000000 --- a/doc/tutorial/build-repository/advanced2.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - - - - - - - - diff --git a/doc/tutorial/build-repository/basic.html b/doc/tutorial/build-repository/basic.html index c0293394..f9adcea9 100644 --- a/doc/tutorial/build-repository/basic.html +++ b/doc/tutorial/build-repository/basic.html @@ -25,202 +25,93 @@ +As you can see there is no pom here (pom is the module metadata format used by maven 2, available on the maven 2 repository). Instead you can see there's an ivy file, which is actually the original hibernate pom converted into an ivy file. So now you have a true Ivy repository with ivy files, where you can use the full power of Ivy if you want to adjust the module metadata (module configurations, fine grain exclusions and transitivity control, per module conflict manager, ...). + +Ok, enough for this simple repository installation, the [[tutorial/build-repository/advanced next tutorial]] will now show how you can deal with more complex cases where your source and destination repositories do not follow the same naming conventions. diff --git a/doc/tutorial/multi-project.html b/doc/tutorial/dependence.html similarity index 100% rename from doc/tutorial/multi-project.html rename to doc/tutorial/dependence.html diff --git a/doc/tutorial/log/install-deps.txt b/doc/tutorial/log/install-deps.txt index 43bbbdcd..6c3a3dd9 100644 --- a/doc/tutorial/log/install-deps.txt +++ b/doc/tutorial/log/install-deps.txt @@ -160,64 +160,64 @@ maven2-deps: [ivy:install] .. (0kB) [ivy:install] [SUCCESSFUL ] xerces#xercesImpl;2.6.2/xercesImpl.jar[jar] (6906ms) [ivy:install] :: installing in my-repository :: -[ivy:install] published hibernate to /home/xavier/ivy/myrepository/no-namespace/org.hibernate/hibernate/jars/hibernate-3.2.5.ga.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/org.hibernate/hibernate/ivys/ivy-3.2.5.ga.xml -[ivy:install] published ehcache to /home/xavier/ivy/myrepository/no-namespace/net.sf.ehcache/ehcache/jars/ehcache-1.2.3.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/net.sf.ehcache/ehcache/ivys/ivy-1.2.3.xml +[ivy:install] published hibernate to myrepository/no-namespace/org.hibernate/hibernate/jars/hibernate-3.2.5.ga.jar +[ivy:install] published ivy to myrepository/no-namespace/org.hibernate/hibernate/ivys/ivy-3.2.5.ga.xml +[ivy:install] published ehcache to myrepository/no-namespace/net.sf.ehcache/ehcache/jars/ehcache-1.2.3.jar +[ivy:install] published ivy to myrepository/no-namespace/net.sf.ehcache/ehcache/ivys/ivy-1.2.3.xml [ivy:install] missing artifact javax.transaction#jta;1.0.1B/jta.jar[jar]: -[ivy:install] /home/xavier/ivy/cache/no-namespace/javax.transaction/jta/jars/jta-1.0.1B.jar file does not exist -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/javax.transaction/jta/ivys/ivy-1.0.1B.xml -[ivy:install] published commons-logging to /home/xavier/ivy/myrepository/no-namespace/commons-logging/commons-logging/jars/commons-logging-1.0.4.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/commons-logging/commons-logging/ivys/ivy-1.0.4.xml -[ivy:install] published asm-attrs to /home/xavier/ivy/myrepository/no-namespace/asm/asm-attrs/jars/asm-attrs-1.5.3.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/asm/asm-attrs/ivys/ivy-1.5.3.xml -[ivy:install] published dom4j to /home/xavier/ivy/myrepository/no-namespace/dom4j/dom4j/jars/dom4j-1.6.1.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/dom4j/dom4j/ivys/ivy-1.6.1.xml -[ivy:install] published antlr to /home/xavier/ivy/myrepository/no-namespace/antlr/antlr/jars/antlr-2.7.6.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/antlr/antlr/ivys/ivy-2.7.6.xml -[ivy:install] published cglib to /home/xavier/ivy/myrepository/no-namespace/cglib/cglib/jars/cglib-2.1_3.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/cglib/cglib/ivys/ivy-2.1_3.xml -[ivy:install] published asm to /home/xavier/ivy/myrepository/no-namespace/asm/asm/jars/asm-1.5.3.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/asm/asm/ivys/ivy-1.5.3.xml -[ivy:install] published commons-collections to /home/xavier/ivy/myrepository/no-namespace/commons-collections/commons-collections/jars/commons-collections-2.1.1.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/commons-collections/commons-collections/ivys/ivy-2.1.1.xml -[ivy:install] published commons-collections to /home/xavier/ivy/myrepository/no-namespace/commons-collections/commons-collections/jars/commons-collections-2.1.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/commons-collections/commons-collections/ivys/ivy-2.1.xml -[ivy:install] published ant to /home/xavier/ivy/myrepository/no-namespace/ant/ant/jars/ant-1.6.5.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/ant/ant/ivys/ivy-1.6.5.xml -[ivy:install] published swarmcache to /home/xavier/ivy/myrepository/no-namespace/swarmcache/swarmcache/jars/swarmcache-1.0RC2.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/swarmcache/swarmcache/ivys/ivy-1.0RC2.xml -[ivy:install] published jboss-cache to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-cache/jars/jboss-cache-1.2.2.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-cache/ivys/ivy-1.2.2.xml -[ivy:install] published jgroups-all to /home/xavier/ivy/myrepository/no-namespace/jgroups/jgroups-all/jars/jgroups-all-2.2.8.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/jgroups/jgroups-all/ivys/ivy-2.2.8.xml -[ivy:install] published c3p0 to /home/xavier/ivy/myrepository/no-namespace/c3p0/c3p0/jars/c3p0-0.9.1.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/c3p0/c3p0/ivys/ivy-0.9.1.xml +[ivy:install] cache/no-namespace/javax.transaction/jta/jars/jta-1.0.1B.jar file does not exist +[ivy:install] published ivy to myrepository/no-namespace/javax.transaction/jta/ivys/ivy-1.0.1B.xml +[ivy:install] published commons-logging to myrepository/no-namespace/commons-logging/commons-logging/jars/commons-logging-1.0.4.jar +[ivy:install] published ivy to myrepository/no-namespace/commons-logging/commons-logging/ivys/ivy-1.0.4.xml +[ivy:install] published asm-attrs to myrepository/no-namespace/asm/asm-attrs/jars/asm-attrs-1.5.3.jar +[ivy:install] published ivy to myrepository/no-namespace/asm/asm-attrs/ivys/ivy-1.5.3.xml +[ivy:install] published dom4j to myrepository/no-namespace/dom4j/dom4j/jars/dom4j-1.6.1.jar +[ivy:install] published ivy to myrepository/no-namespace/dom4j/dom4j/ivys/ivy-1.6.1.xml +[ivy:install] published antlr to myrepository/no-namespace/antlr/antlr/jars/antlr-2.7.6.jar +[ivy:install] published ivy to myrepository/no-namespace/antlr/antlr/ivys/ivy-2.7.6.xml +[ivy:install] published cglib to myrepository/no-namespace/cglib/cglib/jars/cglib-2.1_3.jar +[ivy:install] published ivy to myrepository/no-namespace/cglib/cglib/ivys/ivy-2.1_3.xml +[ivy:install] published asm to myrepository/no-namespace/asm/asm/jars/asm-1.5.3.jar +[ivy:install] published ivy to myrepository/no-namespace/asm/asm/ivys/ivy-1.5.3.xml +[ivy:install] published commons-collections to myrepository/no-namespace/commons-collections/commons-collections/jars/commons-collections-2.1.1.jar +[ivy:install] published ivy to myrepository/no-namespace/commons-collections/commons-collections/ivys/ivy-2.1.1.xml +[ivy:install] published commons-collections to myrepository/no-namespace/commons-collections/commons-collections/jars/commons-collections-2.1.jar +[ivy:install] published ivy to myrepository/no-namespace/commons-collections/commons-collections/ivys/ivy-2.1.xml +[ivy:install] published ant to myrepository/no-namespace/ant/ant/jars/ant-1.6.5.jar +[ivy:install] published ivy to myrepository/no-namespace/ant/ant/ivys/ivy-1.6.5.xml +[ivy:install] published swarmcache to myrepository/no-namespace/swarmcache/swarmcache/jars/swarmcache-1.0RC2.jar +[ivy:install] published ivy to myrepository/no-namespace/swarmcache/swarmcache/ivys/ivy-1.0RC2.xml +[ivy:install] published jboss-cache to myrepository/no-namespace/jboss/jboss-cache/jars/jboss-cache-1.2.2.jar +[ivy:install] published ivy to myrepository/no-namespace/jboss/jboss-cache/ivys/ivy-1.2.2.xml +[ivy:install] published jgroups-all to myrepository/no-namespace/jgroups/jgroups-all/jars/jgroups-all-2.2.8.jar +[ivy:install] published ivy to myrepository/no-namespace/jgroups/jgroups-all/ivys/ivy-2.2.8.xml +[ivy:install] published c3p0 to myrepository/no-namespace/c3p0/c3p0/jars/c3p0-0.9.1.jar +[ivy:install] published ivy to myrepository/no-namespace/c3p0/c3p0/ivys/ivy-0.9.1.xml [ivy:install] missing artifact javax.security#jacc;1.0/jacc.jar[jar]: -[ivy:install] /home/xavier/ivy/cache/no-namespace/javax.security/jacc/jars/jacc-1.0.jar file does not exist -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/javax.security/jacc/ivys/ivy-1.0.xml -[ivy:install] published oscache to /home/xavier/ivy/myrepository/no-namespace/opensymphony/oscache/jars/oscache-2.1.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/opensymphony/oscache/ivys/ivy-2.1.xml -[ivy:install] published proxool to /home/xavier/ivy/myrepository/no-namespace/proxool/proxool/jars/proxool-0.8.3.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/proxool/proxool/ivys/ivy-0.8.3.xml -[ivy:install] published commons-logging to /home/xavier/ivy/myrepository/no-namespace/commons-logging/commons-logging/jars/commons-logging-1.0.2.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/commons-logging/commons-logging/ivys/ivy-1.0.2.xml -[ivy:install] published jboss-system to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-system/jars/jboss-system-4.0.2.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-system/ivys/ivy-4.0.2.xml -[ivy:install] published jboss-common to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-common/jars/jboss-common-4.0.2.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-common/ivys/ivy-4.0.2.xml -[ivy:install] published jboss-minimal to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-minimal/jars/jboss-minimal-4.0.2.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-minimal/ivys/ivy-4.0.2.xml -[ivy:install] published jboss-j2se to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-j2se/jars/jboss-j2se-200504122039.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/jboss/jboss-j2se/ivys/ivy-200504122039.xml -[ivy:install] published concurrent to /home/xavier/ivy/myrepository/no-namespace/concurrent/concurrent/jars/concurrent-1.3.4.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/concurrent/concurrent/ivys/ivy-1.3.4.xml -[ivy:install] published jgroups-all to /home/xavier/ivy/myrepository/no-namespace/jgroups/jgroups-all/jars/jgroups-all-2.2.7.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/jgroups/jgroups-all/ivys/ivy-2.2.7.xml -[ivy:install] published webdavlib to /home/xavier/ivy/myrepository/no-namespace/slide/webdavlib/jars/webdavlib-2.0.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/slide/webdavlib/ivys/ivy-2.0.xml -[ivy:install] published xercesImpl to /home/xavier/ivy/myrepository/no-namespace/xerces/xercesImpl/jars/xercesImpl-2.6.2.jar -[ivy:install] published ivy to /home/xavier/ivy/myrepository/no-namespace/xerces/xercesImpl/ivys/ivy-2.6.2.xml +[ivy:install] cache/no-namespace/javax.security/jacc/jars/jacc-1.0.jar file does not exist +[ivy:install] published ivy to myrepository/no-namespace/javax.security/jacc/ivys/ivy-1.0.xml +[ivy:install] published oscache to myrepository/no-namespace/opensymphony/oscache/jars/oscache-2.1.jar +[ivy:install] published ivy to myrepository/no-namespace/opensymphony/oscache/ivys/ivy-2.1.xml +[ivy:install] published proxool to myrepository/no-namespace/proxool/proxool/jars/proxool-0.8.3.jar +[ivy:install] published ivy to myrepository/no-namespace/proxool/proxool/ivys/ivy-0.8.3.xml +[ivy:install] published commons-logging to myrepository/no-namespace/commons-logging/commons-logging/jars/commons-logging-1.0.2.jar +[ivy:install] published ivy to myrepository/no-namespace/commons-logging/commons-logging/ivys/ivy-1.0.2.xml +[ivy:install] published jboss-system to myrepository/no-namespace/jboss/jboss-system/jars/jboss-system-4.0.2.jar +[ivy:install] published ivy to myrepository/no-namespace/jboss/jboss-system/ivys/ivy-4.0.2.xml +[ivy:install] published jboss-common to myrepository/no-namespace/jboss/jboss-common/jars/jboss-common-4.0.2.jar +[ivy:install] published ivy to myrepository/no-namespace/jboss/jboss-common/ivys/ivy-4.0.2.xml +[ivy:install] published jboss-minimal to myrepository/no-namespace/jboss/jboss-minimal/jars/jboss-minimal-4.0.2.jar +[ivy:install] published ivy to myrepository/no-namespace/jboss/jboss-minimal/ivys/ivy-4.0.2.xml +[ivy:install] published jboss-j2se to myrepository/no-namespace/jboss/jboss-j2se/jars/jboss-j2se-200504122039.jar +[ivy:install] published ivy to myrepository/no-namespace/jboss/jboss-j2se/ivys/ivy-200504122039.xml +[ivy:install] published concurrent to myrepository/no-namespace/concurrent/concurrent/jars/concurrent-1.3.4.jar +[ivy:install] published ivy to myrepository/no-namespace/concurrent/concurrent/ivys/ivy-1.3.4.xml +[ivy:install] published jgroups-all to myrepository/no-namespace/jgroups/jgroups-all/jars/jgroups-all-2.2.7.jar +[ivy:install] published ivy to myrepository/no-namespace/jgroups/jgroups-all/ivys/ivy-2.2.7.xml +[ivy:install] published webdavlib to myrepository/no-namespace/slide/webdavlib/jars/webdavlib-2.0.jar +[ivy:install] published ivy to myrepository/no-namespace/slide/webdavlib/ivys/ivy-2.0.xml +[ivy:install] published xercesImpl to myrepository/no-namespace/xerces/xercesImpl/jars/xercesImpl-2.6.2.jar +[ivy:install] published ivy to myrepository/no-namespace/xerces/xercesImpl/ivys/ivy-2.6.2.xml [ivy:install] :: install resolution report :: --------------------------------------------------------------------- | | modules || artifacts | @@ -227,6 +227,6 @@ maven2-deps: --------------------------------------------------------------------- BUILD FAILED -/home/xavier/ivy/build.xml:80: Problem happened while installing modules - see output for details +build.xml:80: Problem happened while installing modules - see output for details Total time: 2 minutes 49 seconds \ No newline at end of file diff --git a/doc/tutorial/multiproject.html b/doc/tutorial/multiproject.html index 7b745c14..97788b4c 100644 --- a/doc/tutorial/multiproject.html +++ b/doc/tutorial/multiproject.html @@ -56,8 +56,8 @@ The sources for this tutorial can be found in src/example/multi-project in the i
  • [[svn:src/example/multi-project/build.xml build.xml]]
  • This is a root build file which can be used to call targets on all modules, in the order of their dependencies (ensuring that a module is always built before any module depending on it, for instance)
  • common
  • projects