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

On Wed, 2 Jun 2021 at 11:14, 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 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: -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

Reply via email to