Re: Local build failure

2021-06-03 Thread Manish G
I had java 10, so replaced it by java 11, and then following command was successful: *ant -Drat.skip=true -Duse.jdk11=true* May be this can be updated somewhere in documentation. On Wed, Jun 2, 2021 at 9:35 PM Benjamin Lerer wrote: > The RAT check does not work on Windows. If you want to build

Re: Local build failure

2021-06-02 Thread Benjamin Lerer
The RAT check does not work on Windows. If you want to build on Windows you need to use -Drat.skip=true in your ant command. It should build fine at least it does for me. Le mer. 2 juin 2021 à 17:55, Joshua McKenzie a écrit : > I had good luck in the past using WSL w/C* - highly recommend using

Re: Local build failure

2021-06-02 Thread Joshua McKenzie
I had good luck in the past using WSL w/C* - highly recommend using that for your build env on windows. And just in general. :) On Wed, Jun 2, 2021 at 11:41 AM Brandon Williams wrote: > Another problem you are likely to run into is that Windows is no > longer supported directly: > https://www.m

Re: Local build failure

2021-06-02 Thread Brandon Williams
Another problem you are likely to run into is that Windows is no longer supported directly: https://www.mail-archive.com/dev@cassandra.apache.org/msg15583.html On Wed, Jun 2, 2021 at 10:14 AM Manish G wrote: > > As per the link provided in last mail, 'ant' must work out of the box. I ran > foll

Re: Local build failure

2021-06-02 Thread Ekaterina Dimitrova
Hi Manish, It seems we need to add the Java 11 note to our instruction. Thank you for raising the point. Please try to run ant -Duse.jdk11=true and please, feel free to contact me directly in ASF Slack if you still have issues. Running only ant would work if you are on Java 8. Thank you Ekaterina

Re: Local build failure

2021-06-02 Thread Manish G
As per the link provided in last mail, 'ant' must work out of the box. I ran following commands: *>git statusOn branch trunkYour branch is up to date with 'origin/trunk'.* *>antBuildfile: D:\work\oss\cassandra\build.xmlvalidate-build-conf:BUILD FAILEDD:\work\oss\cassandra\build.xml:339:

Re: Local build failure

2021-06-02 Thread Mick Semb Wever
Manish, images don't come through the mailing list, so we can't see those errors you've posted :( And you may find this doc more up to date: https://cassandra.apache.org/doc/latest/development/ide.html On Wed, 2 Jun 2021 at 12:11, Manish G wrote: > I have no local changes. > > [image: image.png

Re: Local build failure

2021-06-02 Thread Manish G
I have no local changes. [image: image.png] I am following this . After cloning the repo, when I run 'ant generate-idea-files', I see this: [image: image.png] So I do: set CASSANDRA_USE_JDK11=true, and rerun 'ant ge

Re: Local build failure

2021-06-02 Thread Mick Semb Wever
> I tried both 'ant realclean' and ''git clean -xdff' before running the > 'ant' command, but still build fails. Manish, the failure should list (some of) the offending files (instead of `${rat.failed.files}`). What are the offending files listed in build/rat.txt ? Are you by chance working on a

Re: Local build failure

2021-06-02 Thread Manish G
Yes its trunk. I tried both 'ant realclean' and ''git clean -xdff' before running the 'ant' command, but still build fails. On Wed, Jun 2, 2021 at 11:21 AM Berenguer Blasi wrote: > Is that on 'trunk'? I just tested and it works for me. Try 'ant > realclean' before building or 'git clean -xdff'

Re: Local build failure

2021-06-01 Thread Berenguer Blasi
Is that on 'trunk'? I just tested and it works for me. Try 'ant realclean' before building or 'git clean -xdff' to make sure all is really clean before building. On 2/6/21 6:42, Manish G wrote: > Hi, > > I am trying to build the repo(https://github.com/apache/cassandra) locally, > and I get follow

Local build failure

2021-06-01 Thread Manish G
Hi, I am trying to build the repo(https://github.com/apache/cassandra) locally, and I get following issue: *BUILD FAILED\cassandra\.build\build-rat.xml:79: Some files have missing or incorrect license information. Check RAT report in \cassandra/build/rat.txt for more details! \n ${rat.fa