--
You received this message because you are subscribed to the Google Groups "Scala.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CAGJkGJ9R38i5br2kCBCNLDPD0c-BZsO2PiqHfUK4iFnRsxvnnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
FWIW, I recently cloned https://github.com/lihaoyi/workbench-example-app/tree/autowire to play with this setup on windows. (after seeing Haoyi's wonderful presentation: https://www.youtube.com/watch?v=Ksoi6AG9nbA)This example has a server module (using spray), a shared module, and a client module.After using sbt-idea to generate the idea project intellij imported the project without any problem. I did some small experiments with this setup and everything just worked as expected / hoped :)
I had this setup on my desktop at the office, so can't check right now, but I'm pretty sure code navigation worked. I'll double-check this as soon as I get the chance.
Did you run gen-idea to generate the intellij project before importing? (I don't think so since you had trouble resolving some artefact)
I just tested this and code navigation + renames of methods in the API class definitely work.
I don't think this project is using symlinks anyway, both the client and the server project just depend on 'shared':
I had this setup on my desktop at the office, so can't check right now, but I'm pretty sure code navigation worked. I'll double-check this as soon as I get the chance.
Did you run gen-idea to generate the intellij project before importing? (I don't think so since you had trouble resolving some artefact)
Op 11-okt.-2014 01:24 schreef "Ben Hutchison" :
There’s something I’m missing in that build.sbt file.
If shared
is a ScalaJS project using scalaJSSettings
, how can the server
depend on it?
On Sat, Oct 11, 2014 at 4:31 PM, Egon Nijns <egon....@gmail.com> wrote:
As expected only the client and shared are using the scala-js compiler plugin. (Note that I'm not using the sbt support from IntelliJ)
Thinking more about this, I have no idea why you would even need symlinks for this to work?
--
You received this message because you are subscribed to the Google Groups "Scala.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CAGJkGJ8%3DqGOfFynUnpuHa5_dqT-u9OcP%2Bme8x%3DKfvKD%3D1z%2BOWw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/e84abf98-3424-4612-a35e-72afeab0f32d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/e84abf98-3424-4612-a35e-72afeab0f32d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/8d88335c-e479-4e24-ab77-f3cde4d29c14%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CALruUQ%2BDe%3DJH8wjQnQmeZm7unYBUn4%2BU-hoO0G30B1vQOa%2Bm9g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/8d88335c-e479-4e24-ab77-f3cde4d29c14%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/985f5383-532e-4221-8b71-6cd7e7b8e853%40googlegroups.com.
Hi
I have added a template to https://github.com/InTheNow/sbt-scalajs/tree/master/example .
There are no tests , please can you check this first ? Please use gen-idea.
Regards
To unsubscribe from this group and stop receiving emails from it, send an email to scala-js+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/e05b3551-8ef9-44e7-8914-525f0eba484d%40googlegroups.com.
Hi,
Sorry, Haoyi, but this will simply kill sbt's incremental compilation: *everything* will be recompiled *every time*.
Sébastien
--
You received this message because you are subscribed to the Google Groups "Scala.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CALruUQ%2BVjE0SzXDAYM1O%2BsuiW0vLwy4USS%2B2eA9to_jM%3DXEbGQ%40mail.gmail.com.
Le 10 déc. 2014 08:08, "Haoyi Li" <haoy...@gmail.com> a écrit :
>
> What if we had two subprojects for JS and JVM
Then you're back to the problem that IntelliJ cannot handle two separate projects with a shared folder.
Sébastien
> and used a single "merged" project which did nothing but aggregate the .class files from JVM and .sjsir files from JS? That should make incremental compilation work right? And then other modules could depend on merged and automatically get what they want, and IntelliJ/Eclipse could (maybe?) see the .class files that merged has and do the right thing.
That would be very risky at best, and would most certainly destroy any non-base features of sbt (packaging and publishing, for example), not to mention other sbt plugins.
Metadata would also be very difficult to manage.
Sébastien
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CALruUQ%2BPVkAFAVjH_f6UBO%2Bw05e9N%3DMkCSJObxQ9%3DcmRMci5zw%40mail.gmail.com.--
You received this message because you are subscribed to a topic in the Google Groups "Scala.js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scala-js/Ws8iBtygUXY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scala-js+u...@googlegroups.com.