Yeah that's another step: I build and test using Maven. However the import works fine in intelliJ.
Regards JB Le 14 mars 2018 à 17:55, à 17:55, Saisai Shao <sai.sai.s...@gmail.com> a écrit: >Like what Alex mentioned, due to the support of multi-version Scala in >one >project, we add some tricks in Maven to make it work. But unfortunately >Intellij IDEA is not intelligent enough to recognize such tricks. So it >is >hard to build and run test in IDEA. Maybe you need to manually add >something. The best choice is to do with maven. > >2018-03-15 4:38 GMT+08:00 Meisam Fathi <meisam.fa...@gmail.com>: > >> I managed to make intellij work with a few manual tweaks after >importing >> the project. I think I shared the steps somewhere (most likey Livy's >> mailing list preior to Apache incubation). Let me see if I can find >them. >> >> Thanks, >> Meisam >> >> On Wed, Mar 14, 2018, 10:00 AM Alex Bozarth <ajboz...@us.ibm.com> >wrote: >> >> > Hey Alexy, >> > >> > I use Intellij IDEA for my Livy development and there are a few >> limitation >> > that I have just had to get used to. You can use it to build, I do >all my >> > building on the command line, and due to Livy's multiple Scala >version >> > support you can't follow class links into any module that has a >2.10/2.11 >> > split. It's pretty frustrating, but the only solution is to stop >> supporting >> > multiple scala versions in Livy or switch to sbt instead of maven, >both >> of >> > which aren't changes we can make. I got help from Marcelo on this >back >> when >> > I first joined the project, so you're not the first to hit these >issues. >> > >> > *Alex Bozarth* >> > Software Engineer >> > Spark Technology Center >> > ------------------------------ >> > *E-mail:* *ajboz...@us.ibm.com* <ajboz...@us.ibm.com> >> > *GitHub: **github.com/ajbozarth* <https://github.com/ajbozarth> >> > >> > >> > 505 Howard Street >> > <https://maps.google.com/?q=505+Howard+Street+San+ >> Francisco,+CA+94105+United+States&entry=gmail&source=g> >> > San Francisco, CA 94105 >> > <https://maps.google.com/?q=505+Howard+Street+San+ >> Francisco,+CA+94105+United+States&entry=gmail&source=g> >> > United States >> > <https://maps.google.com/?q=505+Howard+Street+San+ >> Francisco,+CA+94105+United+States&entry=gmail&source=g> >> > >> > >> > >> > [image: Inactive hide details for Alexey Romanenko ---03/14/2018 >06:38:58 >> > AM---Hello all, I’m quite new with Livy and I have a questio]Alexey >> > Romanenko ---03/14/2018 06:38:58 AM---Hello all, I’m quite new with >Livy >> > and I have a question regarding Livy development using Intellij I >> > >> > From: Alexey Romanenko <aromanenko....@gmail.com> >> > To: dev@livy.incubator.apache.org >> > Date: 03/14/2018 06:38 AM >> > Subject: Development in Intellij IDEA >> > ------------------------------ >> > >> > >> > >> > >> > Hello all, >> > >> > I’m quite new with Livy and I have a question regarding Livy >development >> > using Intellij IDEA. >> > >> > I imported maven project (as usually) but I can’t build and, of >course, >> > run it directly in IDEA since it can’t find some Scala classes and >> > interfaces, like Logging and Utils, that actually exist in other >module >> > (core). So, I have a compile error. >> > >> > In the same time, when I run command "mvn package" from console it >works >> > well. It seems like IDEA can’t resolve a question which Scala >version to >> > use (since Livy supports two of them: 2.10 and 2.11). >> > >> > So, my question is - how people, who use Intellij IDEA for >development, >> > overcame this issue? Is it a well known problem? >> > I’d very appreciate for any hints about that. >> > >> > Thank you, >> > Alexey >> > >> > >> > >>