Open pierre-borckmans opened 9 years ago
Hi. Wow! Goes to show what happens Shevington you are developing on a single machine. I am away until Wednesday but will work through those issues then. I need to work out how to do sonatype publishing.
Matthew On 30 Nov 2014 18:28, "Pierre Borckmans" notifications@github.com wrote:
Hi! I'm really looking forward being able to test this nice project!
However, I tried hard to compile this project using sbt, without success.
- The first issue is this missing dependency: uk.co.turingatemyhamster#scalatags-ext_sjs0.5_2.11;0.1.1 I tried cloning the corresponding github repo, to do a sbt publishLocal, but this repo in turn had issues with scala.rx.
- Then, i saw you forked scala.rx to add the diffmethod, so I cloned this forked version and succeeded in doing a sbt publishLocal.
- Then back to scalatags_ext, sbt publishLocal succeeded but for scala 2.10 not 2.11.
- Changed scalatags_ext sbt project to use scala 2.11.4 like graphviz-s, did a publishLocal again => succeeded.
- Finally back to graphviz-s, tried doing a sbt compile with no luck.
Are u publishing uk.co.turingatemyhamster#scalatags-ext_sjs0.5_2.11;0.1.1somewhere, and we could simply add a dependency for it? I looked on sonatype but couldn't find it.
— Reply to this email directly or view it on GitHub https://github.com/drdozer/graphviz-s/issues/6.
;) cool thanks mate!
I've started updating all my projects to publish through bintray. Hit a bit of a snag. Will report back once I have something constructive to say.
In the mean time, this may help.
You can clone my scala.rx project (as you have). Then build with:
sbt +publishLocal
The '+' will ensure that you get a 2.11.* build in addition to the 2.10.* one. I can't remember if you need to use +publishLocal
on scalatags_ext or if a publishLocal is enough.
M
Thanks for working on this! In the mean time, I tried the following:
1/ cloned scala.rx, did sbt +publishLocal
2/ cloned scalatags, modified Dependencies.scala
to refer to scala.rx 0.2.6.drdozer
3/ sbt publish
Now graphviz-s still doesn't compile, because uk.co.turingatemyhamster#scalatags-ext_sjs0.5_2.11;0.1.1
is not found.
But when I look at the jars published by sbt publishLocal
on scalatags
, I see that the name of the jars are all like scalajs-ext...
(ex: scalajs-ext_js_sjs0.5_2.11.jar
).
Isn't that an issue in your sbt definition of the scalatags-ext project?
Sorry for the delay @pierre-borckmans . I've been deep in build-hell.
This project now builds from clean on travis, so it should buld from clean for you. Could you give it a go and let me know? If it works I'll close the issue.
Also, you should be able to grab the artefacts from my bintray at:
@drdozer Compiles fine now, thanks! However, I'd like to try the clientServer.
I tried sbt run
on this subproject, but it doesn't seem to be the right way...
Could you help me on this?
Cheers
I call run on the jvm module of client server. That launches the http server on 9100. Then navigate to graphviz/editor and try it out. The interactive update is slightly buggy. On 13 Dec 2014 13:09, "Pierre Borckmans" notifications@github.com wrote:
@drdozer https://github.com/drdozer Compiles fine now, thanks! However, I'd like to try the clientServer.
I tried sbt run on this subproject, but it doesn't seem to be the right way... Could you help me on this?
Cheers
— Reply to this email directly or view it on GitHub https://github.com/drdozer/graphviz-s/issues/6#issuecomment-66875830.
I've pushed a new release that fixes a parser issue due to regex being handled differently in jvm and js. If you pull main, you can run it with:
$ sbt
> ~gv-clientServer_jvm/re-start
If that works for you, I'll close this issue.
Thanks,
Everything compiles now, and I'm able to serve the graphviz/editor
page.
However, I get this error in the debugger console:
GET http://localhost:9100/gv-clientserver-fastopt.js.map 404 (Not Found)
.
Hi! I'm really looking forward being able to test this nice project!
However, I tried hard to compile this project using sbt, without success.
uk.co.turingatemyhamster#scalatags-ext_sjs0.5_2.11;0.1.1
.I tried cloning the corresponding github repo ()[https://github.com/drdozer/scalatags-ext], to do a
sbt publishLocal
, but this repo in turn had issues with scala.rx.diff
method, so I cloned this forked version and succeeded in doing asbt publishLocal
.sbt publishLocal
succeeded but for scala 2.10 not 2.11.sbt compile
with no luck.After this journey, I gave up :)
Are u publishing
uk.co.turingatemyhamster#scalatags-ext_sjs0.5_2.11;0.1.1
somewhere, and we could simply add a dependency for it? I looked on sonatype but couldn't find it.