What is the best method for users to upgrade Scala when the version used to build Orbeon Forms is changed?
Aaron Spike This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
When building with ant, the compiler and library are checked into the `lib` folder. [^1] So updating the source and building as usual will work.
When building with IntelliJ, things should work out of the box too: there is a scala-sdk-2.11.6 library which points to the ~/.ivy2 directory, e.g.: file://$USER_HOME$/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.6.jar I think that the IntelliJ Scala plugin will automatically downloads the files if needed. -Erik [^1]: We realize that this is very old school and that we need to move to sbt, see https://github.com/orbeon/orbeon-forms/issues/1585. |
I don't know what I'm doing wrong, but the compiler for 2.11.6 does not get downloaded into the ivy cache. I tried to make my own ivy.xml file to force it but failed there too. I'll keep futzing. If there's an officially sanctioned way to work this it would make an excellent addition to the building docs. :-)
Aaron Spike On Tuesday, May 12, 2015 at 11:53:33 AM UTC-5, ebruchez wrote: When building with ant, the compiler and library are checked into the `lib` This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
When I upgraded IntelliJ a dialog poped up that allowed me to configure the Scala plugin. It appears to be working again. Now I just need to figure out where to find this dialog in the IDE UI.
Aaron Spike On Tuesday, May 12, 2015 at 12:21:09 PM UTC-5, Aaron Spike wrote:
This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
If you go to Project Settings → Libraries, you should see a Scala SDK entry there.
-Erik |
Free forum by Nabble | Edit this page |