- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Scala 2.9.0-1 dependency confusion
Tue, 2011-06-07, 20:43
Dear Scalarazzi,
It appears that
org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1
and also that the dependency for the JLineReader is not quite up to date.
Has anyone run into this? Is that a quick fix?
Best wishes,
--greg
bash-3.2$ mvn scala:console[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------[INFO] Building specialK Project 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------[INFO] [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---[INFO] Checking for multiple versions of scala [WARNING] Expected all dependencies to require Scala version: 2.9.0-1[WARNING] net.liftweb:lift-common_2.9.0-1:2.4-M1 requires scala version: 2.9.0-1[WARNING] net.liftweb:lift-actor_2.9.0-1:2.4-M1 requires scala version: 2.9.0-1 [WARNING] net.liftweb:lift-json_2.9.0-1:2.4-M1 requires scala version: 2.9.0-1[WARNING] org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1[WARNING] Multiple versions of scala libraries detected! [WARNING] maven-scala-plugin cannot fork scala console!! Running in process[WARNING] jvmArgs are ignored when run in process :-classpath[WARNING] jvmArgs are ignored when run in process : [WARNING] jvmArgs are ignored when run in process :-Djava.library.path=$HGDB_ROOT/native[WARNING] jvmArgs are ignored when run in process :-Xmx1024m[WARNING] jvmArgs are ignored when run in process :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties [INFO] compiler plugin: BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)Failed to created JLineReader: java.lang.NoClassDefFoundError: scala/tools/jline/console/completer/CompleterFalling back to SimpleReader. Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24).Type in expressions to have them evaluated.Type :help for more information.
scala>
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
It appears that
org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1
and also that the dependency for the JLineReader is not quite up to date.
Has anyone run into this? Is that a quick fix?
Best wishes,
--greg
bash-3.2$ mvn scala:console[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------[INFO] Building specialK Project 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------[INFO] [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---[INFO] Checking for multiple versions of scala [WARNING] Expected all dependencies to require Scala version: 2.9.0-1[WARNING] net.liftweb:lift-common_2.9.0-1:2.4-M1 requires scala version: 2.9.0-1[WARNING] net.liftweb:lift-actor_2.9.0-1:2.4-M1 requires scala version: 2.9.0-1 [WARNING] net.liftweb:lift-json_2.9.0-1:2.4-M1 requires scala version: 2.9.0-1[WARNING] org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1[WARNING] Multiple versions of scala libraries detected! [WARNING] maven-scala-plugin cannot fork scala console!! Running in process[WARNING] jvmArgs are ignored when run in process :-classpath[WARNING] jvmArgs are ignored when run in process : [WARNING] jvmArgs are ignored when run in process :-Djava.library.path=$HGDB_ROOT/native[WARNING] jvmArgs are ignored when run in process :-Xmx1024m[WARNING] jvmArgs are ignored when run in process :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties [INFO] compiler plugin: BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)Failed to created JLineReader: java.lang.NoClassDefFoundError: scala/tools/jline/console/completer/CompleterFalling back to SimpleReader. Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24).Type in expressions to have them evaluated.Type :help for more information.
scala>
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
Tue, 2011-06-07, 21:37
#2
Re: Scala 2.9.0-1 dependency confusion
Dear Ismael,
It appears that the scalap issue was a misrepresentation of a dependency problem from another dependency. i've removed that issue, but still have the JLine issue. Any clues?
Best wishes,
--greg
bash-3.2$ mvn scala:console[INFO] Scanning for projects...[INFO] [INFO] ------------------------------------------------------------------------[INFO] Building specialK Project 1.0-SNAPSHOT[INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---[INFO] Checking for multiple versions of scala[WARNING] maven-scala-plugin cannot fork scala console!! Running in process [WARNING] jvmArgs are ignored when run in process :-classpath[WARNING] jvmArgs are ignored when run in process :[WARNING] jvmArgs are ignored when run in process :-Djava.library.path=$HGDB_ROOT/native [WARNING] jvmArgs are ignored when run in process :-Xmx1024m[WARNING] jvmArgs are ignored when run in process :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties [INFO] compiler plugin: BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)Failed to created JLineReader: java.lang.NoClassDefFoundError: scala/tools/jline/console/completer/CompleterFalling back to SimpleReader. Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24).Type in expressions to have them evaluated.Type :help for more information.
scala>
On Tue, Jun 7, 2011 at 12:57 PM, Ismael Juma <ismael [at] juma [dot] me [dot] uk> wrote:
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
It appears that the scalap issue was a misrepresentation of a dependency problem from another dependency. i've removed that issue, but still have the JLine issue. Any clues?
Best wishes,
--greg
bash-3.2$ mvn scala:console[INFO] Scanning for projects...[INFO] [INFO] ------------------------------------------------------------------------[INFO] Building specialK Project 1.0-SNAPSHOT[INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---[INFO] Checking for multiple versions of scala[WARNING] maven-scala-plugin cannot fork scala console!! Running in process [WARNING] jvmArgs are ignored when run in process :-classpath[WARNING] jvmArgs are ignored when run in process :[WARNING] jvmArgs are ignored when run in process :-Djava.library.path=$HGDB_ROOT/native [WARNING] jvmArgs are ignored when run in process :-Xmx1024m[WARNING] jvmArgs are ignored when run in process :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties [INFO] compiler plugin: BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)Failed to created JLineReader: java.lang.NoClassDefFoundError: scala/tools/jline/console/completer/CompleterFalling back to SimpleReader. Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24).Type in expressions to have them evaluated.Type :help for more information.
scala>
On Tue, Jun 7, 2011 at 12:57 PM, Ismael Juma <ismael [at] juma [dot] me [dot] uk> wrote:
Hi Greg,
On Tue, Jun 7, 2011 at 8:43 PM, Meredith Gregory
<lgreg [dot] meredith [at] gmail [dot] com> wrote:
> [WARNING] org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1
That doesn't look right:
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>2.9.0-1</version>
</dependency>
found in:
http://scala-tools.org/repo-releases/org/scala-lang/scalap/2.9.0-1/scalap-2.9.0-1.pom
Best,
Ismael
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
Tue, 2011-06-07, 22:27
#3
Re: Scala 2.9.0-1 dependency confusion
Le 07/06/2011 22:30, Meredith Gregory a écrit :
Maybe one of the proposed solutions will work for you.
BANLkTin1oASdfu9GOLkAWfARtQV+4oQnOg [at] mail [dot] gmail [dot] com" type="cite">Dear Ismael,Have a look at this thread: http://osdir.com/ml/scala/2011-06/msg00041.html
It appears that the scalap issue was a misrepresentation of a dependency problem from another dependency. i've removed that issue, but still have the JLine issue. Any clues?
Maybe one of the proposed solutions will work for you.
BANLkTin1oASdfu9GOLkAWfARtQV+4oQnOg [at] mail [dot] gmail [dot] com" type="cite">
Best wishes,
--greg
bash-3.2$ mvn scala:console [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building specialK Project 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK --- [INFO] Checking for multiple versions of scala [WARNING] maven-scala-plugin cannot fork scala console!! Running in process [WARNING] jvmArgs are ignored when run in process :-classpath [WARNING] jvmArgs are ignored when run in process : [WARNING] jvmArgs are ignored when run in process :-Djava.library.path=$HGDB_ROOT/native [WARNING] jvmArgs are ignored when run in process :-Xmx1024m [WARNING] jvmArgs are ignored when run in process :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties [INFO] compiler plugin: BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1) Failed to created JLineReader: java.lang.NoClassDefFoundError: scala/tools/jline/console/completer/Completer Falling back to SimpleReader. Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24). Type in expressions to have them evaluated. Type :help for more information.
scala>
On Tue, Jun 7, 2011 at 12:57 PM, Ismael Juma <ismael [at] juma [dot] me [dot] uk" rel="nofollow">ismael [at] juma [dot] me [dot] uk> wrote:
Hi Greg,
On Tue, Jun 7, 2011 at 8:43 PM, Meredith Gregory
<lgreg [dot] meredith [at] gmail [dot] com" rel="nofollow">lgreg [dot] meredith [at] gmail [dot] com> wrote:
> [WARNING] org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1
That doesn't look right:
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>2.9.0-1</version>
</dependency>
found in:
http://scala-tools.org/repo-releases/org/scala-lang/scalap/2.9.0-1/scalap-2.9.0-1.pom
Best,
Ismael
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SW Seattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
Wed, 2011-06-08, 01:37
#4
Re: Scala 2.9.0-1 dependency confusion
that ones in my area of uh-oh, except i think we know about it.
Because the REPL does not have its own lib, the correct jline dependency is marked optional, which means you have to declare it in most tools (maven/ivy).
Hoping when the repl is a standalone artifact we can make the jline dependency explicit.
On Jun 7, 2011 4:30 PM, "Meredith Gregory" <lgreg [dot] meredith [at] gmail [dot] com> wrote:> Dear Ismael,
>
> It appears that the scalap issue was a misrepresentation of a dependency
> problem from another dependency. i've removed that issue, but still have the
> JLine issue. Any clues?
>
> Best wishes,
>
> --greg
>
> bash-3.2$ mvn scala:console
> [INFO] Scanning for projects...
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building specialK Project 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---
> [INFO] Checking for multiple versions of scala
> [WARNING] maven-scala-plugin cannot fork scala console!! Running in process
> [WARNING] jvmArgs are ignored when run in process :-classpath
> [WARNING] jvmArgs are ignored when run in process :
> [WARNING] jvmArgs are ignored when run in process
> :-Djava.library.path=$HGDB_ROOT/native
> [WARNING] jvmArgs are ignored when run in process :-Xmx1024m
> [WARNING] jvmArgs are ignored when run in process
> :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties
> [INFO] compiler plugin:
> BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)
> Failed to created JLineReader: java.lang.NoClassDefFoundError:
> scala/tools/jline/console/completer/Completer
> Falling back to SimpleReader.
> Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java
> 1.6.0_24).
> Type in expressions to have them evaluated.
> Type :help for more information.
>
> scala>
>
> On Tue, Jun 7, 2011 at 12:57 PM, Ismael Juma <ismael [at] juma [dot] me [dot] uk> wrote:
>
>> Hi Greg,
>>
>> On Tue, Jun 7, 2011 at 8:43 PM, Meredith Gregory
>> <lgreg [dot] meredith [at] gmail [dot] com> wrote:
>> > [WARNING] org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1
>>
>> That doesn't look right:
>>
>> <dependency>
>> <groupId>org.scala-lang</groupId>
>> <artifactId>scala-compiler</artifactId>
>> <version>2.9.0-1</version>
>> </dependency>
>>
>> found in:
>>
>>
>> http://scala-tools.org/repo-releases/org/scala-lang/scalap/2.9.0-1/scalap-2.9.0-1.pom
>>
>> Best,
>> Ismael
>>
>
>
>
> --
> L.G. Meredith
> Managing Partner
> Biosimilarity LLC
> 7329 39th Ave SW
> Seattle, WA 98136
>
> +1 206.650.3740
>
> http://biosimilarity.blogspot.com
Wed, 2011-06-08, 01:47
#5
Re: Scala 2.9.0-1 dependency confusion
Dear Josh,
Thanks! What's the magic incantation?
Best wishes,
--greg
On Tue, Jun 7, 2011 at 5:28 PM, Josh Suereth <joshua [dot] suereth [at] gmail [dot] com> wrote:
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
Thanks! What's the magic incantation?
Best wishes,
--greg
On Tue, Jun 7, 2011 at 5:28 PM, Josh Suereth <joshua [dot] suereth [at] gmail [dot] com> wrote:
that ones in my area of uh-oh, except i think we know about it.
Because the REPL does not have its own lib, the correct jline dependency is marked optional, which means you have to declare it in most tools (maven/ivy).
Hoping when the repl is a standalone artifact we can make the jline dependency explicit.
On Jun 7, 2011 4:30 PM, "Meredith Gregory" <lgreg [dot] meredith [at] gmail [dot] com> wrote:
> Dear Ismael,
>
> It appears that the scalap issue was a misrepresentation of a dependency
> problem from another dependency. i've removed that issue, but still have the
> JLine issue. Any clues?
>
> Best wishes,
>
> --greg
>
> bash-3.2$ mvn scala:console
> [INFO] Scanning for projects...
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building specialK Project 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---
> [INFO] Checking for multiple versions of scala
> [WARNING] maven-scala-plugin cannot fork scala console!! Running in process
> [WARNING] jvmArgs are ignored when run in process :-classpath
> [WARNING] jvmArgs are ignored when run in process :
> [WARNING] jvmArgs are ignored when run in process
> :-Djava.library.path=$HGDB_ROOT/native
> [WARNING] jvmArgs are ignored when run in process :-Xmx1024m
> [WARNING] jvmArgs are ignored when run in process
> :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties
> [INFO] compiler plugin:
> BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)
> Failed to created JLineReader: java.lang.NoClassDefFoundError:
> scala/tools/jline/console/completer/Completer
> Falling back to SimpleReader.
> Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java
> 1.6.0_24).
> Type in expressions to have them evaluated.
> Type :help for more information.
>
> scala>
>
> On Tue, Jun 7, 2011 at 12:57 PM, Ismael Juma <ismael [at] juma [dot] me [dot] uk> wrote:
>
>> Hi Greg,
>>
>> On Tue, Jun 7, 2011 at 8:43 PM, Meredith Gregory
>> <lgreg [dot] meredith [at] gmail [dot] com> wrote:
>> > [WARNING] org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1
>>
>> That doesn't look right:
>>
>> <dependency>
>> <groupId>org.scala-lang</groupId>
>> <artifactId>scala-compiler</artifactId>
>> <version>2.9.0-1</version>
>> </dependency>
>>
>> found in:
>>
>>
>> http://scala-tools.org/repo-releases/org/scala-lang/scalap/2.9.0-1/scalap-2.9.0-1.pom
>>
>> Best,
>> Ismael
>>
>
>
>
> --
> L.G. Meredith
> Managing Partner
> Biosimilarity LLC
> 7329 39th Ave SW
> Seattle, WA 98136
>
> +1 206.650.3740
>
> http://biosimilarity.blogspot.com
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
Wed, 2011-06-08, 02:47
#6
Re: Scala 2.9.0-1 dependency confusion
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>jline</artifactId>
<version>2.9.0-1</version></dependency>
On Tue, Jun 7, 2011 at 8:45 PM, Meredith Gregory <lgreg [dot] meredith [at] gmail [dot] com> wrote:
On Tue, Jun 7, 2011 at 8:45 PM, Meredith Gregory <lgreg [dot] meredith [at] gmail [dot] com> wrote:
Dear Josh,
Thanks! What's the magic incantation?
Best wishes,
--greg
On Tue, Jun 7, 2011 at 5:28 PM, Josh Suereth <joshua [dot] suereth [at] gmail [dot] com> wrote:
that ones in my area of uh-oh, except i think we know about it.
Because the REPL does not have its own lib, the correct jline dependency is marked optional, which means you have to declare it in most tools (maven/ivy).
Hoping when the repl is a standalone artifact we can make the jline dependency explicit.
On Jun 7, 2011 4:30 PM, "Meredith Gregory" <lgreg [dot] meredith [at] gmail [dot] com> wrote:
> Dear Ismael,
>
> It appears that the scalap issue was a misrepresentation of a dependency
> problem from another dependency. i've removed that issue, but still have the
> JLine issue. Any clues?
>
> Best wishes,
>
> --greg
>
> bash-3.2$ mvn scala:console
> [INFO] Scanning for projects...
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building specialK Project 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---
> [INFO] Checking for multiple versions of scala
> [WARNING] maven-scala-plugin cannot fork scala console!! Running in process
> [WARNING] jvmArgs are ignored when run in process :-classpath
> [WARNING] jvmArgs are ignored when run in process :
> [WARNING] jvmArgs are ignored when run in process
> :-Djava.library.path=$HGDB_ROOT/native
> [WARNING] jvmArgs are ignored when run in process :-Xmx1024m
> [WARNING] jvmArgs are ignored when run in process
> :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties
> [INFO] compiler plugin:
> BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)
> Failed to created JLineReader: java.lang.NoClassDefFoundError:
> scala/tools/jline/console/completer/Completer
> Falling back to SimpleReader.
> Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java
> 1.6.0_24).
> Type in expressions to have them evaluated.
> Type :help for more information.
>
> scala>
>
> On Tue, Jun 7, 2011 at 12:57 PM, Ismael Juma <ismael [at] juma [dot] me [dot] uk> wrote:
>
>> Hi Greg,
>>
>> On Tue, Jun 7, 2011 at 8:43 PM, Meredith Gregory
>> <lgreg [dot] meredith [at] gmail [dot] com> wrote:
>> > [WARNING] org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1
>>
>> That doesn't look right:
>>
>> <dependency>
>> <groupId>org.scala-lang</groupId>
>> <artifactId>scala-compiler</artifactId>
>> <version>2.9.0-1</version>
>> </dependency>
>>
>> found in:
>>
>>
>> http://scala-tools.org/repo-releases/org/scala-lang/scalap/2.9.0-1/scalap-2.9.0-1.pom
>>
>> Best,
>> Ismael
>>
>
>
>
> --
> L.G. Meredith
> Managing Partner
> Biosimilarity LLC
> 7329 39th Ave SW
> Seattle, WA 98136
>
> +1 206.650.3740
>
> http://biosimilarity.blogspot.com
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
Wed, 2011-06-08, 06:57
#7
Re: Scala 2.9.0-1 dependency confusion
Dear Josh,
Brilliant! That did the trick!
Best wishes,
--greg
bash-3.2$ mvn scala:console[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------[INFO] Building specialK Project 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------[INFO] [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---[INFO] Checking for multiple versions of scala [WARNING] maven-scala-plugin cannot fork scala console!! Running in process[WARNING] jvmArgs are ignored when run in process :-classpath[WARNING] jvmArgs are ignored when run in process : [WARNING] jvmArgs are ignored when run in process :-Djava.library.path=$HGDB_ROOT/native[WARNING] jvmArgs are ignored when run in process :-Xmx1024m[WARNING] jvmArgs are ignored when run in process :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties [INFO] compiler plugin: BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24).Type in expressions to have them evaluated. Type :help for more information.
scala>
On Tue, Jun 7, 2011 at 6:38 PM, Josh Suereth <joshua [dot] suereth [at] gmail [dot] com> wrote:
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
Brilliant! That did the trick!
Best wishes,
--greg
bash-3.2$ mvn scala:console[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------[INFO] Building specialK Project 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------[INFO] [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---[INFO] Checking for multiple versions of scala [WARNING] maven-scala-plugin cannot fork scala console!! Running in process[WARNING] jvmArgs are ignored when run in process :-classpath[WARNING] jvmArgs are ignored when run in process : [WARNING] jvmArgs are ignored when run in process :-Djava.library.path=$HGDB_ROOT/native[WARNING] jvmArgs are ignored when run in process :-Xmx1024m[WARNING] jvmArgs are ignored when run in process :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties [INFO] compiler plugin: BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24).Type in expressions to have them evaluated. Type :help for more information.
scala>
On Tue, Jun 7, 2011 at 6:38 PM, Josh Suereth <joshua [dot] suereth [at] gmail [dot] com> wrote:
<dependency> <groupId>org.scala-lang</groupId> <artifactId>jline</artifactId> <version>2.9.0-1</version></dependency>
On Tue, Jun 7, 2011 at 8:45 PM, Meredith Gregory <lgreg [dot] meredith [at] gmail [dot] com> wrote:
Dear Josh,
Thanks! What's the magic incantation?
Best wishes,
--greg
On Tue, Jun 7, 2011 at 5:28 PM, Josh Suereth <joshua [dot] suereth [at] gmail [dot] com> wrote:
that ones in my area of uh-oh, except i think we know about it.
Because the REPL does not have its own lib, the correct jline dependency is marked optional, which means you have to declare it in most tools (maven/ivy).
Hoping when the repl is a standalone artifact we can make the jline dependency explicit.
On Jun 7, 2011 4:30 PM, "Meredith Gregory" <lgreg [dot] meredith [at] gmail [dot] com> wrote:
> Dear Ismael,
>
> It appears that the scalap issue was a misrepresentation of a dependency
> problem from another dependency. i've removed that issue, but still have the
> JLine issue. Any clues?
>
> Best wishes,
>
> --greg
>
> bash-3.2$ mvn scala:console
> [INFO] Scanning for projects...
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building specialK Project 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.1:console (default-cli) @ specialK ---
> [INFO] Checking for multiple versions of scala
> [WARNING] maven-scala-plugin cannot fork scala console!! Running in process
> [WARNING] jvmArgs are ignored when run in process :-classpath
> [WARNING] jvmArgs are ignored when run in process :
> [WARNING] jvmArgs are ignored when run in process
> :-Djava.library.path=$HGDB_ROOT/native
> [WARNING] jvmArgs are ignored when run in process :-Xmx1024m
> [WARNING] jvmArgs are ignored when run in process
> :-DpackageLinkDefs=file:///Users/lgm/work/src/projex/stellar/SpecialK/target/packageLinkDefs.properties
> [INFO] compiler plugin:
> BasicArtifact(org.scala-lang.plugins,continuations,2.9.0-1)
> Failed to created JLineReader: java.lang.NoClassDefFoundError:
> scala/tools/jline/console/completer/Completer
> Falling back to SimpleReader.
> Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java
> 1.6.0_24).
> Type in expressions to have them evaluated.
> Type :help for more information.
>
> scala>
>
> On Tue, Jun 7, 2011 at 12:57 PM, Ismael Juma <ismael [at] juma [dot] me [dot] uk> wrote:
>
>> Hi Greg,
>>
>> On Tue, Jun 7, 2011 at 8:43 PM, Meredith Gregory
>> <lgreg [dot] meredith [at] gmail [dot] com> wrote:
>> > [WARNING] org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1
>>
>> That doesn't look right:
>>
>> <dependency>
>> <groupId>org.scala-lang</groupId>
>> <artifactId>scala-compiler</artifactId>
>> <version>2.9.0-1</version>
>> </dependency>
>>
>> found in:
>>
>>
>> http://scala-tools.org/repo-releases/org/scala-lang/scalap/2.9.0-1/scalap-2.9.0-1.pom
>>
>> Best,
>> Ismael
>>
>
>
>
> --
> L.G. Meredith
> Managing Partner
> Biosimilarity LLC
> 7329 39th Ave SW
> Seattle, WA 98136
>
> +1 206.650.3740
>
> http://biosimilarity.blogspot.com
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
7329 39th Ave SWSeattle, WA 98136
+1 206.650.3740
http://biosimilarity.blogspot.com
Hi Greg,
On Tue, Jun 7, 2011 at 8:43 PM, Meredith Gregory
wrote:
> [WARNING] org.scala-lang:scalap:2.9.0-1 requires scala version: 2.8.1
That doesn't look right:
org.scala-lang
scala-compiler
2.9.0-1
found in:
http://scala-tools.org/repo-releases/org/scala-lang/scalap/2.9.0-1/scala...
Best,
Ismael