You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Nigel Daley (JIRA)" <ji...@apache.org> on 2008/11/26 20:50:44 UTC
[jira] Created: (ZOOKEEPER-241) Build of a distro fails after clean
target is run
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.1
Reporter: Nigel Daley
Priority: Critical
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.
[jira] Updated: (ZOOKEEPER-241) Build of a distro fails after clean
target is run
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated ZOOKEEPER-241:
------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I just committed this. Thanks pat.
> 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.
[jira] Commented: (ZOOKEEPER-241) Build of a distro fails after
clean target is run
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655209#action_12655209 ]
Hudson commented on ZOOKEEPER-241:
----------------------------------
Integrated in ZooKeeper-trunk #168 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/168/])
. Build of a distro fails after clean target is run. (patrick hunt via mahadev)
> 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.
[jira] Commented: (ZOOKEEPER-241) Build of a distro fails after
clean target is run
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (ZOOKEEPER-241) Build of a distro fails after clean
target is run
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (ZOOKEEPER-241) Build of a distro fails after clean
target is run
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-241:
-----------------------------------
Fix Version/s: 3.1.0
Affects Version/s: 3.0.0
> 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
> Priority: Critical
> Fix For: 3.1.0
>
>
> 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.
[jira] Updated: (ZOOKEEPER-241) Build of a distro fails after clean
target is run
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-241:
-----------------------------------
Status: Patch Available (was: Open)
> 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.1, 3.0.0
> 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.
[jira] Assigned: (ZOOKEEPER-241) Build of a distro fails after
clean target is run
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-241:
--------------------------------------
Assignee: Patrick Hunt
> 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
>
>
> 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.