Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1926

Add Ant target to generate the project description files for running Cassandra in Eclipse

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.6.9, 0.7.1
    • None
    • None
    • Eclipse 3.5

    Description

      "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.

      Attachments

        Activity

          People

            tjake T Jake Luciani
            zjshen Zhijie Shen
            T Jake Luciani
            Eric Evans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified