You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2023/10/03 08:02:00 UTC

[jira] [Created] (ZOOKEEPER-4752) Remove version files in zookeeper-server/src/main from .gitignore

Istvan Toth created ZOOKEEPER-4752:
--------------------------------------

             Summary: Remove version files  in zookeeper-server/src/main from .gitignore
                 Key: ZOOKEEPER-4752
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4752
             Project: ZooKeeper
          Issue Type: Bug
          Components: build
    Affects Versions: 3.8.2
            Reporter: Istvan Toth


The Info.java and VersionInfoMain.java files are currently generated into the target/generated-sources directory. 

However .gitignore still includes the following lines for the main src directory.
{noformat}
zookeeper-server/src/main/java/org/apache/zookeeper/version/Info.java
zookeeper-server/src/main/java/org/apache/zookeeper/version/VersionInfoMain.java
{noformat}
Let's remove them.

I've just spent two hours trying to debug  mysterious build failures, which were caused by an old Info.java file in src, which didn't show up in git status because of those out-of-date .gitignore entries.



 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)