cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: cvs commit: cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/ant AntBuildGenerator.java CocoonTask.java
Date Sat, 17 Apr 2004 15:40:53 GMT
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

Mime
View raw message