[jira] Updated: (ZOOKEEPER-241) Build of a distro fails after clean target is run

2008-12-09 Thread Mahadev konar (JIRA)

 [ 
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] Updated: (ZOOKEEPER-241) Build of a distro fails after clean target is run

2008-12-05 Thread Patrick Hunt (JIRA)

 [ 
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

2008-12-05 Thread Patrick Hunt (JIRA)

 [ 
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] Updated: (ZOOKEEPER-241) Build of a distro fails after clean target is run

2008-11-26 Thread Patrick Hunt (JIRA)

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