flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ufuk Celebi <...@apache.org>
Subject Re: ScalaTest for IntelliJ
Date Sat, 29 Nov 2014 00:24:54 GMT
I've experienced the same problem a few days ago. I don't know if it is of
any help, but this is what I did:

1. I got the "bad option" -P flag error
2. I removed the flag, which resulted in problems compiling Quasiquotes
(q"..."):

Error:(118, 18) value q is not a member of StringContext
    val result = q"""
                 ^

3. I added the -Xplugin flag (Kostas' suggestion) and rebuilt the project
(Build => Rebuild Project):

-Xplugin:/Users/uce/.m2/repository/org/scalamacros/paradise_2.10.4/2.0.1/paradise_2.10.4-2.0.1.jar

This worked for me, but it is kind of strange as I couldn't find any
documentation on the "-Xplugin" flag.

---

Another thing I've noticed is that after changing the Hadoop profile of
Flink in IntelliJ, the initial JAR was appended again (which I had to
remove again to make it work):

-Xplugin:/Users/uce/.m2/repository/org/scalamacros/paradise_2.10.4/2.0.1/paradise_2.10.4-2.0.1.jar
-P:/Users/uce/.m2/repository/org/scalamacros/paradise_2.10.4/2.0.1/paradise_2.10.4-2.0.1.jar

I am using IntelliJ 14.0.1

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message