Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 69182 invoked from network); 29 Mar 2010 09:38:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Mar 2010 09:38:49 -0000 Received: (qmail 56497 invoked by uid 500); 29 Mar 2010 09:38:49 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 56447 invoked by uid 500); 29 Mar 2010 09:38:48 -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 56440 invoked by uid 99); 29 Mar 2010 09:38:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 09:38:48 +0000 X-ASF-Spam-Status: No, hits=-1160.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 09:38:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4E03C234C1F2 for ; Mon, 29 Mar 2010 09:38:27 +0000 (UTC) Message-ID: <137184794.544441269855507318.JavaMail.jira@brutus.apache.org> Date: Mon, 29 Mar 2010 09:38:27 +0000 (UTC) From: =?utf-8?Q?Nicolas_Lalev=C3=A9e_=28JIRA=29?= To: notifications@ant.apache.org Subject: [jira] Commented: (IVYDE-222) Cannot specify build.properties file - FileNotFoundException In-Reply-To: <1890604710.1258553439725.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVYDE-222?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12850= 855#action_12850855 ]=20 Nicolas Lalev=C3=A9e commented on IVYDE-222: --------------------------------------- The release process is going on. We have some issues but we hope to have it= out soon. > Cannot specify build.properties file - FileNotFoundException > ------------------------------------------------------------ > > Key: IVYDE-222 > URL: https://issues.apache.org/jira/browse/IVYDE-222 > Project: IvyDE > Issue Type: Bug > Components: classpath container > Affects Versions: 2.0.0.final > Environment: Windows 7, Eclipse 3.5 > Reporter: Marc Batchelor > Priority: Critical > > Trying the Final IvyDE which has the properties file support contributed = by Pentaho. The only thing that IvyDE will accept is a fully qualified path= , and then it's able to find the file. > build.properties (fails) > ./build.properties (fails) > The exception says "The property file 'build.properties' could not be fou= nd" > The problem is a result of a code change in IvyClasspathContainerConfigur= ation (2.0.0 final code) that was made because of IVYDE-182. On line 626/62= 7: > Before: > is =3D javaProject.getProject().getFile(file).getContents(); > After: > is =3D new FileInputStream(javaProject.getProject= ().getFile(file) > .getFullPath().toFile()); > The problem (I believe) is the use of .getFullPath(). It should have been= (back then): > is =3D new FileInputStream(javaProject.getProject= ().getFile(file) > .getLocation().toFile()); > In the configuration screen, if I click Refresh, I can see a more complet= e error which illuminates the underlying problem: > Error while resolving the ivy instance for ivy.xml in 'bi-platform-api': > The property file 'build.properties' could not be found > Underlying error (java.io.FileNotFoundException): > \bi-platform-api\build.properties (The system cannot find the path specif= ied) > Note - the "\bi-platform-api\" - that is the path minus the workspace. It= should be "\japps\bi-platform-v2\bi-platform-api\...." > Ultimately this can be closed since it's fixed in the trunk as a result o= f changes made to IvyClasspathContainerState in IVYDE-203 where the line be= came (notice it's getLocation and not getFullPath) .: > is =3D new FileInputStream(conf.getJavaProject().= getProject().getLocation() > .append(file).toFile()); > So - since it's fixed in the trunk, why am I opening a case? Well, the on= ly release out there is unusable for us (unfortunately). I'd really like to= be able to point our developers/contributors to an actual release with an = Eclipse update site instead of us building it ourselves and putting another= build of IvyDE in our wiki with directions on how to manually install it i= nto Eclipse. Any chance of: > a- A 2.0.1 patch in the very near future? > b- A 2.1.0 release in the very near future? > Thanks for your time and consideration --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.