> Is this documented somewhere (in the README.txt, etc.)? It is super useful for first-time Ant users like myself to know this upfront.
It's documented in the HowToContribute link you posted initially: https://wiki.apache.org/cassandra/RunningCassandraInIDEA ;) 2016-03-23 2:23 GMT-03:00 Nishant Kelkar <nishant....@gmail.com>: > OK @all, I think I was finally able to fix the issue. I did this to fix it > (in the top-level dir of my Cassandra install): > > nkelkar@nkelkar-laptop:~/cassandra$ *ant -v generate-idea-files* > > Is this documented somewhere (in the README.txt, etc.)? It is super useful > for first-time Ant users like myself to know this upfront. > > Best Regards, > Nishant Kelkar > > On Tue, Mar 22, 2016 at 10:08 PM, Nishant Kelkar <nishant....@gmail.com> > wrote: > >> OK, I changed my branch to a much recent version (3.5) and I've been able >> to narrow the problem down to task* build-test* only. Specifically, when >> I trigger that task, I get the following error: >> >> >> *Compile failed; see the compiler error output for details.* >> >> This error points to the following section in build.xml: >> >> <javac >> debug="true" >> debuglevel="${debuglevel}" >> destdir="${test.classes}" >> includeantruntime="false" >> source="${source.version}" >> target="${target.version}" >> encoding="utf-8"> >> >> Specifically, the encoding="utf-8" part. Anyone know what this error is >> about? >> >> Best Regards, >> Nishant Kelkar >> >> On Tue, Mar 22, 2016 at 9:09 PM, Nishant Kelkar <nishant....@gmail.com> >> wrote: >> >>> Hi all, >>> >>> I very recently forked the Cassandra code base as directed here: >>> https://wiki.apache.org/cassandra/HowToContribute >>> >>> I then changed my language level to Java 8, and opened the project in >>> IntelliJ. However, many of the dependencies (DataStax, Apache Commons, >>> etc.) appear in *red* because IntelliJ cannot find them. >>> >>> I've used Maven and Gradle before, and both have an option to "Reimport" >>> dependencies afresh, but I don't see anything similar in Ant (it's my first >>> time using Ant, btw). >>> >>> Does anyone know how to re-import all of the Cassandra project's >>> dependencies in IntelliJ? Here are some details: >>> >>> OS version: Ubuntu, 14.10 >>> IDE: IntelliJ 14.03 >>> Ant version: 1.9.4 >>> Java version: OpenJDK, 1.8.0_40-internal >>> >>> I'm on the cassandra-3.1.1 branch in detached head state. >>> >>> Also, I looked at the build.xml for the DataStax dependencies, but I see >>> many of them are commented out. Why is that? >>> >>> Best Regards, >>> Nishant Kelkar >>> >> >> >