Date: 2005-02-24T01:22:10
Editor: StenAkselHeien
Wiki: Cocoon Wiki
Page: YourCocoonBasedProjectAnt16
URL: http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16
no comment
Change Log:
------------------------------------------------------------------------------
@@ -4,13 +4,13 @@
See also YourCocoonBasedProject, works in a similar way but uses ant 1.5.
- 1. get Cocoon distribution
- 1. Make project directory and put build-cocoon-targets.xml in the directory
- 1. Edit build-cocoon-targets.xml and replace "YourCocoonBasedProject" with
your project name
+ 1. get Cocoon distribution (if you don't already have it)
+ 1. make project directory and put build-cocoon-targets.xml in the directory
+ 1. edit build-cocoon-targets.xml and replace "YourCocoonBasedProject" with
your project name
1. 'seed' the project
- 1.#4 {{{ant -f build-cocoon-targets.xml
-Dcocoon.distro.home=/path/to/your/cocoon/distribution}}}
- 1.#4 Note: the cocoon.distro.home is now set in user.properties
- 1.#4 Note for windows users: set the slashes as forward slashes
+ i.#6 {{{ant -f build-cocoon-targets.xml
-Dcocoon.distro.home=/path/to/your/cocoon/distribution}}}
+ i.#6 Note: the cocoon.distro.home is now set in user.properties
+ i.#6 Note for windows users: set the slashes as forward slashes
1. customize the src/cocoon/local.build.properties and remove the path
variables in this file (ant cannot substitute variables in property files, so
${...} variables would cause build errors). Remove sections build, build
webapp, src, standalone demo, dir layout, tools, deprecated, ide, lib, dist,
site, legal, gump, so that there are no more ${...} and variables in this file.
1. exclude all blocks you don't need in the top part of
local.build.properties -> exclude the samples and documentation too if you
don't need them (time consuming build process).
1. ant cocoon:get -> This will only be done when changing the distribution or
the settings in local.build.properties
|