Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 21884 invoked from network); 6 Nov 2009 18:17:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 18:17:54 -0000 Received: (qmail 20457 invoked by uid 500); 6 Nov 2009 18:17:54 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 20388 invoked by uid 500); 6 Nov 2009 18:17:54 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 20378 invoked by uid 99); 6 Nov 2009 18:17:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 18:17:54 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Fri, 06 Nov 2009 18:17:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6EC28234C1E9 for ; Fri, 6 Nov 2009 10:17:32 -0800 (PST) Message-ID: <47452527.1257531452452.JavaMail.jira@brutus> Date: Fri, 6 Nov 2009 18:17:32 +0000 (UTC) From: "Thiruvalluvan M. G. (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Commented: (AVRO-184) Better eclipse configuration support In-Reply-To: <1823312241.1257530252563.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774349#action_12774349 ] Thiruvalluvan M. G. commented on AVRO-184: ------------------------------------------ {quote} ... in the .classpath directory ... {quote} I meant the .classpath file. > Better eclipse configuration support > ------------------------------------ > > Key: AVRO-184 > URL: https://issues.apache.org/jira/browse/AVRO-184 > Project: Avro > Issue Type: Bug > Components: java > Reporter: Thiruvalluvan M. G. > Assignee: Thiruvalluvan M. G. > Priority: Minor > Attachments: AVRO-184.patch > > > Jira AVRO-146 enabled easy eclipse setup for Avro. But it had a few minor issues: > - It downloaded the ant-eclipse plug-in directly without using Ivy. This problem has been acknowledged in the JIRA itself. Thus if you clean up the project and rebuild, it'll go and fetch the plug-in again. That means one cannot do "ant clean" when offline. > - Eclipse project used the external jar files from ivy cache locations rather than from the place where they have been retrieved into. It's not a big issue, the only concern is that ant and eclipse will use two different sets of jars though with identical contents. > - Ant-eclipse plug-in was downloaded into build/lib, which will get included in ant builds, though the builds would never use it. > The attached patch fixes all these issues. The ant-eclipse plug-in now gets retrieved by ivy into a separate directory build/lib/ant-eclipse. Unfortunately, the is patch adds a new file ivysettings-ant-eclipse.xml in the base directory. Alas, one cannot specify ivy settings inline in build.xml, you need an external settings file. > There is still one more small problem. Eclipse projects traditionally use the built-in JUnit instead of external jars. The use of built-in JUnit within a project is specified by a classpathentry of kind "con" in the .classpath directory. The projects with JUnit will have two classpathentries of "con" kind - one for JRE and the other for JUnit. But Ant-eclipse does not support more than one classpathentry of "con" kind, which is already used by the JRE. Thus we cannot fix this problem until ant-eclipse removes this limitation. > Eclipse users, please give this patch a try. Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.