Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 55245 invoked by uid 500); 18 Jan 2002 13:18:36 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 55232 invoked from network); 18 Jan 2002 13:18:35 -0000 From: "Carsten Ziegeler" To: Subject: RE: List of issues with samples (RE: Samples not working!!!!!!) Date: Fri, 18 Jan 2002 14:20:17 +0100 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <007401c1a020$6ca90b60$6150000a@flagship.ru> Importance: Normal X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 18.01.2002 14:18:34, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 18.01.2002 14:18:35, Serialize complete at 18.01.2002 14:18:35 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Piroumian, Konstantin wrote: > > > IMO, it's not a very good idea to determine which parts of Cocoon > one need, > depending on presence of *.jars. So, for example, if in case when I don't > need some optional component then I have to delete its JAR from my Cocoon > repository and run build after that. Next time I'll have to copy > it back to > try it. > > It'll be much better to have a special build option for optional parts. > Maybe a list of needed extensions in a .property file. E.g.: > > build webapp -Dinclude-ext=mini-cocoon.properties > build webapp -Dinclude-ext=cocoon-with-deli.properties > etc. > Yes, you're absolutely right and - believe it or not - I tried to put something like you suggested into the build system several weeks ago. As you can imagine without success. The main problem for me was to combine the two conditions: the availability of the tested optional class and the definition of the build option. For this something like an "and" condition is required, which I didn't find in ant - so I gave up... Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org