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 <manish.c.ghildi...@gmail.com> wrote:
>
> As per the link provided in last mail, 'ant' must work out of the box. I ran 
> following commands:
>
> >git status
> On branch trunk
> Your branch is up to date with 'origin/trunk'.
>
> >ant
> Buildfile: D:\work\oss\cassandra\build.xml
>
> validate-build-conf:
>
> BUILD FAILED
> D:\work\oss\cassandra\build.xml:339: -Duse.jdk11=true or 
> $CASSANDRA_USE_JDK11=true must be set when building from java 11
>
> >set CASSANDRA_USE_JDK11=true
>
> >ant
>
> Log for last command is attached.
>
>
>
>
>
> nothing to commit, working tree clean
>
> On Wed, Jun 2, 2021 at 4:04 PM Mick Semb Wever <m...@apache.org> wrote:
>>
>> 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 <manish.c.ghildi...@gmail.com> wrote:
>>
>> > I have no local changes.
>> >
>> > [image: image.png]
>> >
>> > I am following this
>> > <https://cwiki.apache.org/confluence/display/CASSANDRA2/RunningCassandraInIDEA>
>> > .
>> > 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
>> > generate-idea-files', and how I see error:
>> >
>> > [image: image.png]
>> >
>> >
>> >
>> > On Wed, Jun 2, 2021 at 3:14 PM Mick Semb Wever <m...@apache.org> wrote:
>> >
>> >> > 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 patch, and have added new files which
>> >> don't have the correct license headers?
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
>> >> For additional commands, e-mail: dev-h...@cassandra.apache.org
>> >>
>> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: dev-h...@cassandra.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
For additional commands, e-mail: dev-h...@cassandra.apache.org

Reply via email to