Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4914DDE78 for ; Fri, 2 Nov 2012 23:00:18 +0000 (UTC) Received: (qmail 44699 invoked by uid 500); 2 Nov 2012 23:00:12 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 44667 invoked by uid 500); 2 Nov 2012 23:00:12 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 44658 invoked by uid 99); 2 Nov 2012 23:00:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 23:00:12 +0000 Date: Fri, 2 Nov 2012 23:00:12 +0000 (UTC) From: "Carsten Pfeiffer (JIRA)" To: notifications@ant.apache.org Message-ID: <184533272.63369.1351897212317.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (IVYDE-328) Do not save the project name in the classpath container configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Carsten Pfeiffer created IVYDE-328: -------------------------------------- Summary: Do not save the project name in the classpath container configuration Key: IVYDE-328 URL: https://issues.apache.org/jira/browse/IVYDE-328 Project: IvyDE Issue Type: Bug Components: classpath container Affects Versions: 2.2.0.beta1 Reporter: Carsten Pfeiffer Priority: Minor Attachments: dontSaveProjectName.patch The classpath container in the {{.classpath}} file currently references the name of the project that the container belongs to. E.g. {code} org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=someProject&ivyXmlPath=ivy.xml&confs=*&acceptedTypes=jar%2Cbundle%2Cejb%2Cmaven-plugin&alphaOrder=false&resolveInWorkspace=false&readOSGiMetadata=false&retrievedClasspath=true&retrievedClasspathPattern=lib%2F%5Bartifact%5D-%5Brevision%5D.%5Bext%5D&retrievedClasspathSync=false&retrievedClasspathTypes=jar {code} (see the reference to "someProject"). This is unnecessary, because the classpath container is always attached to the project it is defined for, the there is no need to explicitly remember the project. Furthermore, it causes problems when a project is renamed, because the classpath container will not be updated and then reference the wrong (old) project. And last, not saving the project eases copy&pasting of the classpath container entry from one .classpath file to another (no need to click in all those dialogs then). I'll attach a patch that removes the saving of the project. The loading is kept at it is. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira