Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change 
notification.

The following page has been changed by JonEvans:
http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16

The comment on the change is:
Bolded a comment that would have saved me about 3 hours work if I'd read it :)

------------------------------------------------------------------------------
   1. edit build-cocoon-targets.xml (again) and add "Targets" to your project 
name
      * build-cocoon-targets.xml is imported by the build.xml file and the two 
projects can't have the same name.
   1. customize the src/cocoon/local.build.properties
-     1. important: 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. '''important: 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. set include to false for the blocks you don't need in the top part of 
local.build.properties (remove # in front of line)
      1. exclude the samples and documentation too if you don't need them (time 
consuming build process)(remove # in front of line).
   1. {{{ant cocoon:get}}}

Reply via email to