Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 88990 invoked by uid 500); 21 Jun 2003 19:40:27 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 88977 invoked from network); 21 Jun 2003 19:40:27 -0000 Received: from smtp-out.comcast.net (24.153.64.116) by daedalus.apache.org with SMTP; 21 Jun 2003 19:40:27 -0000 Received: from OBJSYSLAP2 (bgp613496bgs.midltn01.nj.comcast.net [68.39.81.92]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with SMTP id <0HGU00GRFJY9XL@mtaout01.icomcast.net> for cocoon-users@xml.apache.org; Sat, 21 Jun 2003 15:39:46 -0400 (EDT) Date: Sat, 21 Jun 2003 15:32:16 -0400 From: Richard Doust Subject: RE: I may be wrong but... In-reply-to: To: cocoon-users@xml.apache.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I downloaded xml-cocoon2 from cvs to my local file system today. The tip revision of build.properties that came to my system, (rev 1.15) reads as follows: #---------------------------------------------- # Cocoon Build Properties #---------------------------------------------- # NOTE: don't modify this file directly but copy the properties you need # to modify over to a file named 'local.build.properties' and modify that. # The build system will overwrite these properties with the ones in the # 'local.build.properties' file. # ---- Webapp ------------------------------------------------------------------ exclude.webapp.documentation=true exclude.webapp.javadocs=true exclude.webapp.scratchpad=true exclude.webapp.samples=true exclude.scratchpad=true exclude.deprecated=true . . . . Notice that the exclude.webapp.documentation and exclude.webapp.samples etal. are _not_ commented out. In order to build these targets build.properties has to be modified. But that's okay because really the result of the build doesn't work in many more ways than that. I got rid of that code and went with the stable (?) 2.1m2 release that's made available as a zip from somewhere and built it and it works fine. I'll just go with that. Thanks for your help. -----Original Message----- From: Geoff Howard [mailto:cocoon@leverageweb.com] Sent: Saturday, June 21, 2003 3:39 PM To: cocoon-users@xml.apache.org Subject: RE: I may be wrong but... We're either looking at different files or you are misunderstanding something you're seeing. Which property are you looking at specifically? Geoff > -----Original Message----- > From: Richard Doust [mailto:rdoust@comcast.net] > Sent: Saturday, June 21, 2003 2:52 PM > To: cocoon-users@xml.apache.org > Subject: RE: I may be wrong but... > > > In the latest code (tip) that I brought down from cvs today, the exclude > properties are _not_ commented out in the build.properties file. It was > necessary for me to edit this file and comment them out. > Is it the case that I shouldn't be bringing down the tip? > > -----Original Message----- > From: Geoff Howard [mailto:cocoon@leverageweb.com] > Sent: Saturday, June 21, 2003 2:58 PM > To: cocoon-users@xml.apache.org > Subject: RE: I may be wrong but... > > > You are right that properties in ant once set are not modified. If you > look carefully the values that depend on any value are commented out in > build.properties - uncommenting them in your local copy will accomplish > exactly what is meant. > > Also notice the order in which the properties are read: > > > > > > > > > > > > > > > > So, the cocoon.build.properties in your homedirectory is loaded first, > then the local.build.properties, then build.properties. The first one > to set the value wins, and Cocoon gives you two shots at them before > the default apply. > > HTH, > Geoff > > > -----Original Message----- > > From: Richard Doust [mailto:rdoust@comcast.net] > > Sent: Saturday, June 21, 2003 1:45 PM > > To: cocoon-users@xml.apache.org > > Subject: I may be wrong but... > > > > > > I'm not certain I'm right, but I have the sneaking suspicion that > > the build > > the way it's written right now cannot possibly work. As far as I know, > > there's no way to unset a property in ant. The "unless" attribute of a > > target will not build the target if the property is "set". As > far as I can > > see, this means if it has any value at all. The only way to > > overcome this is > > to modify build.properties to remove the setting of those > property values. > > It cannot be overridden by copying build.properties to > > local.build.properties and modifying that as suggested because it's not > > possible to define them to a non-value. > > I have commented those properties out of build.properties (and > > local.build.properties) and this has solved my problem. > > That's my two cents worth. > > Rich > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org