Thanks David. I'm going with some direct calls for simplicity (along
the path you suggested).
along the lines of:
val rssFeed = XML.load( (new URL
(feedUrl)).openConnection.getInputStream )
One more oddity, I'm getting problems compiling normal scala code but
I can build lift projects (with scala inside them).
Something that I need to add in the config file like a path to the
scala binaries? (installed it in windows default spot)
for netbeans.conf
the netbeans_default_options var, adding
-J-Dscala.home=SCALA_HOME
where's SCALA_HOME supposed to point to?
I tried:
-D\"c:\Users\Dude Jones\.netbeans\6.7rc3\scala\scala-2.7.3.final\\"
where the binaries are no luck
Getting the error:
init:
deps-jar:
Compiling 1 source file to C:\Mark\misc\EntrepreneurInfo
\IntelligentAdvertisingSoftware\testo\build\classes
Could not connect to compilation daemon.
org.netbeans.core.execution.ExitSecurityException: Exit from within
execution engine, normal
at org.netbeans.core.execution.SecMan.checkExitImpl
(SecMan.java:85)
at org.netbeans.core.execution.SecMan$PrivilegedCheck.run
(SecMan.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at org.netbeans.core.execution.SecMan$PrivilegedCheck.check
(SecMan.java:175)
at org.netbeans.core.execution.SecMan$PrivilegedCheck.checkExit
(SecMan.java:170)
at org.netbeans.core.execution.SecMan.checkExit(SecMan.java:
69)
at org.netbeans.TopSecurityManager.checkExit
(TopSecurityManager.java:149)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:904)
at scala.Predef$.exit(Predef.scala:81)
at scala.tools.nsc.CompileSocket.fatal(CompileSocket.scala:53)
at scala.tools.nsc.CompileSocket.getPort(CompileSocket.scala:
175)
at scala.tools.nsc.CompileSocket.getsock$1(CompileSocket.scala:
206)
at scala.tools.nsc.CompileSocket.getOrCreateSocket
(CompileSocket.scala:227)
at scala.tools.nsc.StandardCompileClient.main0
(CompileClient.scala:94)
at scala.tools.ant.FastScalac.execute(FastScalac.scala:96)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute
(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute
(MacroInstance.java:394)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets
(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:
1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:
1189)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run
(BridgeImpl.java:278)
at org.apache.tools.ant.module.run.TargetExecutor.run
(TargetExecutor.java:497)
at org.netbeans.core.execution.RunClassThread.run
(RunClassThread.java:151)
C:\Mark\misc\EntrepreneurInfo\IntelligentAdvertisingSoftware\testo
\nbproject\build-impl.xml:405: The following error occurred while
executing this line:
C:\Mark\misc\EntrepreneurInfo\IntelligentAdvertisingSoftware\testo
\nbproject\build-impl.xml:229: Compile failed because of an internal
compiler error (Exit from within execution engine, normal); see the
error output for details.
BUILD FAILED (total time: 2 seconds)
> Personally, I'd use Scala's XML parsing to parse the feed... skip the
> external library.
> You may also want to look at the ESME codehttp://
incubator.apache.org/esme/There's an RSS reader and a Twitter
> Beginning Scalahttp://
www.apress.com/book/view/1430219890