Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 81190 invoked from network); 3 Jan 2011 16:07:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jan 2011 16:07:10 -0000 Received: (qmail 17074 invoked by uid 500); 3 Jan 2011 16:07:10 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 16920 invoked by uid 500); 3 Jan 2011 16:07:09 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 16249 invoked by uid 99); 3 Jan 2011 16:07:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 16:07:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 16:07:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p03G6jQK012886 for ; Mon, 3 Jan 2011 16:06:45 GMT Message-ID: <3361283.110061294070805493.JavaMail.jira@thor> Date: Mon, 3 Jan 2011 11:06:45 -0500 (EST) From: "Eric Evans (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1926) Add Ant target to generate the project description files for running Cassandra in Eclipse In-Reply-To: <29242341.98151293985365942.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976791#action_12976791 ] Eric Evans commented on CASSANDRA-1926: --------------------------------------- bq. I think it would be better to include all of lib/*.jar instead of a separate entry for each jar. I'm not sure you can add a directory of jars in Eclipse. > Add Ant target to generate the project description files for running Cassandra in Eclipse > ----------------------------------------------------------------------------------------- > > Key: CASSANDRA-1926 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1926 > Project: Cassandra > Issue Type: Improvement > Environment: Eclipse 3.5 > Reporter: Zhijie Shen > Priority: Minor > Attachments: trunk-1926.patch > > > "http://wiki.apache.org/cassandra/RunningCassandraInEclipse" has demonstrated the procedure to manually configure Eclipse to make Cassandra runnable in it. But why not doing this automatically by adding an Ant target that is responsible the generation of Eclipse project description files? Actually, another Apache project, Hive, has done the similar things. > Moreover, the aforementioned setup guide has the defects, which was learned from my experience of building Cassandra in Eclipse: > 1) The "bin/" directory of Cassandra contains the executable scripts while it is the output destination of Eclipse project build by default. Therefore, unintentionally using Eclipse project build will break the original executable scripts in the "bin/" directory. > 2) The default builder cannot build the project correctly. Instead, a customized builder based Ant builder should be created. > For these reasons, I suggest to add a new Ant target in "build.xml" to generate the project description files. Meanwhile, another target is required to clean these files. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.