Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 19094 invoked from network); 17 Apr 2004 15:41:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Apr 2004 15:41:03 -0000 Received: (qmail 62917 invoked by uid 500); 17 Apr 2004 15:40:55 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 62668 invoked by uid 500); 17 Apr 2004 15:40:53 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 62644 invoked from network); 17 Apr 2004 15:40:53 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 17 Apr 2004 15:40:53 -0000 Received: (qmail 5867 invoked by uid 65534); 17 Apr 2004 15:40:55 -0000 Received: from a183069.studnetz.uni-leipzig.de (EHLO gmx.de) (139.18.183.69) by mail.gmx.net (mp015) with SMTP; 17 Apr 2004 17:40:55 +0200 X-Authenticated: #3483660 Message-ID: <40815005.209@gmx.de> Date: Sat, 17 Apr 2004 17:40:53 +0200 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de-de, de, en-us, en-gb, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: cvs commit: cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/ant AntBuildGenerator.java CocoonTask.java References: <20040417113224.34108.qmail@minotaur.apache.org> <60E10E08-906B-11D8-B530-000A95DC4186@apache.org> <39699.10.0.0.5.1082208673.squirrel@ags01.agsoftware.dnsalias.com> In-Reply-To: <39699.10.0.0.5.1082208673.squirrel@ags01.agsoftware.dnsalias.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On 17.04.2004 15:31, Antonio Gallardo wrote: > I really believe in the code reutilization. Jakarta commons lang is part > of the core of Cocoon. Why we need to wrote the same code over and over? But with a change like > - File workDirParent = new File(System.getProperty("java.io.tmpdir", ".")); > + File workDirParent = new File(SystemUtils.JAVA_IO_TMPDIR != null ? SystemUtils.JAVA_IO_TMPDIR : "."); you seem to counteract this goal. System.getProperty(String key, String default) has probably the same logic that you implemented above on your own. Joerg