You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2005/02/24 10:20:22 UTC

[Cocoon Wiki] Updated: YourCocoonBasedProjectAnt16

   Date: 2005-02-24T01:20:22
   Editor: StenAkselHeien
   Wiki: Cocoon Wiki
   Page: YourCocoonBasedProjectAnt16
   URL: http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -6,10 +6,11 @@
 
  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. 'seed' the project
- 1.# {{{ant -f build-cocoon-targets.xml -Dcocoon.distro.home=/path/to/your/cocoon/distribution}}}
- 1.# Note: the cocoon.distro.home is now set in user.properties
- 1.# Note for windows users: set the slashes as forward slashes
+ 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
  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