incubator-kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neha Narkhede (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-134) Upgrade Kafka to sbt 0.10.1
Date Tue, 13 Dec 2011 03:01:39 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Neha Narkhede updated KAFKA-134:
--------------------------------

    Attachment: kafka-134-v2-draft.patch

Attaching a patch that will apply cleanly against trunk. This is a draft patch, as I just
took the previous patch and corrected -

1. The sbt file to point to the lib directory for the sbt-launch.jar
2. The sbt-launch.jar for 0.10.0
3. svn delete on the old KafkaProject.scala and Plugins.scala files
4. changed build.properties to change the SBT version to 0.10.0

After these changes, the patch will apply cleanly against trunk, will pull SBT 0.10.0, but
I still get the following error on the new Build.scala file -

nnarkhed-ld:kafka-134 nnarkhed$ ./sbt
[info] Set current project to default (in build file:/home/nnarkhed/Projects/kafka-134/project/plugins/)
[info] Compiling 1 Scala source to /home/nnarkhed/Projects/kafka-134/project/target/scala_2.8.1/classes...
[error] /home/nnarkhed/Projects/kafka-134/project/Build.scala:130: not found: value description
[error] Error occurred in an application involving default arguments.
[error]       pomExtra <<= (pomExtra, name, description) { buildPomExtra }
[error]                                     ^
[error] /home/nnarkhed/Projects/kafka-134/project/Build.scala:137: not found: value description
[error] Error occurred in an application involving default arguments.
[error]       description := "Includes all of kafka project in one",
[error]       ^
[error] two errors found

I probably won't be able to work on this before KAFKA-198. Uploading this patch in case someone
else wants to take a look.
                
> Upgrade Kafka to sbt 0.10.1
> ---------------------------
>
>                 Key: KAFKA-134
>                 URL: https://issues.apache.org/jira/browse/KAFKA-134
>             Project: Kafka
>          Issue Type: Improvement
>          Components: packaging
>            Reporter: Joshua Hartman
>         Attachments: kafka-134-v2-draft.patch, kafka_patch.txt
>
>
> Upgrading to sbt 0.10.1 is a nice to have as sbt moves forward. Plus, it's a requirement
for me to help publish Kafka to maven :)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message