Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 77872 invoked from network); 6 May 2008 23:16:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 May 2008 23:16:53 -0000 Received: (qmail 69425 invoked by uid 500); 6 May 2008 23:16:55 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 69406 invoked by uid 500); 6 May 2008 23:16:55 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 69395 invoked by uid 99); 6 May 2008 23:16:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 16:16:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 23:16:01 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 8C9E914A803E for ; Tue, 6 May 2008 18:16:22 -0500 (CDT) Message-ID: <12174157.1210115782573.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Tue, 6 May 2008 18:16:22 -0500 (CDT) From: "Brett Porter (JIRA)" To: issues@continuum.apache.org Subject: [jira] Updated: (CONTINUUM-1740) Problems with working directory and maven2 multiprojects In-Reply-To: <16520729.1209032986440.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter updated CONTINUUM-1740: ------------------------------------ Fix Version/s: 1.3 we're working towards this at the moment > Problems with working directory and maven2 multiprojects > -------------------------------------------------------- > > Key: CONTINUUM-1740 > URL: http://jira.codehaus.org/browse/CONTINUUM-1740 > Project: Continuum > Issue Type: Bug > Affects Versions: 1.1 > Reporter: Lucien Weller > Fix For: 1.3 > > Attachments: DefaultWorkingDirectoryService.java > > > I experieced problems with maven2 multiprojects in continuum, hen modules are referencing each other relatvely. So I made the following change to class DefaultWorkingDirectoryService of project continuum-commons: > if ( project.getWorkingDirectory() == null || project.getWorkingDirectory().equals(Integer.toString( project.getId() ))) > { > // project.setWorkingDirectory( Integer.toString( project.getId() ) ); > project.setWorkingDirectory(project.getProjectGroup().getName() + '/' + project.getArtifactId()); > } > This assumes that every project group in a continuum installation has a unique name and that an artifact is only once in a project group. I think this is realistic. > But in any case it would be nice to change working dir handling to meet the following rules: > * all modules of a multoproject are located in the same working directory > * the directories of the modules are named after their artifactId > So the working dir structure used by continuum is the same as it would be normally for a deveopper. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira