You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2008/12/09 23:14:44 UTC
[jira] Commented: (ZOOKEEPER-241) Build of a distro fails after
clean target is run
[ https://issues.apache.org/jira/browse/ZOOKEEPER-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654984#action_12654984 ]
Mahadev konar commented on ZOOKEEPER-241:
-----------------------------------------
+1.. the patch works with no svn revision available.
> Build of a distro fails after clean target is run
> -------------------------------------------------
>
> Key: ZOOKEEPER-241
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-241
> Project: Zookeeper
> Issue Type: Bug
> Components: build
> Affects Versions: 3.0.0, 3.0.1
> Reporter: Nigel Daley
> Assignee: Patrick Hunt
> Priority: Critical
> Fix For: 3.1.0
>
> Attachments: ZOOKEEPER-241.patch
>
>
> When the ZooKeeper distro is downloaded, if the clean target is run, it deletes the .revision file:
> {quote}
> clean:
> [delete] Deleting directory /home/foo/zookeeper-3.0.1/build
> [delete] Deleting directory /home/foo/zookeeper-3.0.1/src/java/generated
> [delete] Deleting directory /home/foo/zookeeper-3.0.1/src/c/generated
> [delete] Deleting directory /home/foo/zookeeper-3.0.1/.revision
> {quote}
> This causes subsequent builds in the distro to fail with:
> {quote}
> compile-main:
> [javac] Compiling 73 source files to /home/foo/zookeeper-3.0.1/build/classes
> [javac] /home/foo/zookeeper-3.0.1/src/java/main/org/apache/zookeeper/Version.java:21: package org.apache.zookeeper.version does not exist
> [javac] public class Version implements org.apache.zookeeper.version.Info{
> [javac] ^
> ...
> {quote}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.