Return-Path: X-Original-To: apmail-db-torque-dev-archive@www.apache.org Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F6D1101A3 for ; Sun, 29 Sep 2013 23:26:35 +0000 (UTC) Received: (qmail 99680 invoked by uid 500); 29 Sep 2013 23:26:35 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 99659 invoked by uid 500); 29 Sep 2013 23:26:35 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 99651 invoked by uid 500); 29 Sep 2013 23:26:35 -0000 Received: (qmail 99648 invoked by uid 99); 29 Sep 2013 23:26:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Sep 2013 23:26:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Sep 2013 23:26:33 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 38973238899C; Sun, 29 Sep 2013 23:26:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1527422 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java Date: Sun, 29 Sep 2013 23:26:12 -0000 To: torque-commits@db.apache.org From: tfischer@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130929232612.38973238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tfischer Date: Sun Sep 29 23:26:11 2013 New Revision: 1527422 URL: http://svn.apache.org/r1527422 Log: TORQUE-292 use target/torque-gen for last changes cache file Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java?rev=1527422&r1=1527421&r2=1527422&view=diff ============================================================================== --- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java (original) +++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java Sun Sep 29 23:26:11 2013 @@ -80,18 +80,18 @@ public abstract class Maven2ProjectPaths * Default cache directory. */ protected static final String CACHE_DIR - = "target/torque/cache"; + = "target/torque-gen/cache"; /** * The root directory of the whole maven2 project. */ - private File projectRoot; + private final File projectRoot; /** * The output directory map which contains the mapping * from output directory key to output directory. */ - private Map outputDirectoryMap = new HashMap(); + private final Map outputDirectoryMap = new HashMap(); /** * Constructor. @@ -102,7 +102,7 @@ public abstract class Maven2ProjectPaths * * @throws NullPointerException if projectRoot is null. */ - protected Maven2ProjectPaths(File projectRoot) + protected Maven2ProjectPaths(final File projectRoot) { if (projectRoot == null) { @@ -156,7 +156,7 @@ public abstract class Maven2ProjectPaths * * @throws IllegalArgumentException if the outputDirKey is unknown. */ - public File getOutputDirectory(String outputDirKey) + public File getOutputDirectory(final String outputDirKey) { File result = outputDirectoryMap.get(outputDirKey); if (result == null) --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org