hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Hunt (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ZOOKEEPER-241) Build of a distro fails after clean target is run
Date Fri, 05 Dec 2008 19:48:44 GMT

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

Patrick Hunt updated ZOOKEEPER-241:
-----------------------------------

    Attachment: ZOOKEEPER-241.patch

Fixed by handling the case where svn is not available (no access or exported src repository).

REVISION is now set to -1 if svn revision is not 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.


Mime
View raw message