Build problems

15 views
Skip to first unread message

Bart Schuller

unread,
May 8, 2012, 2:36:14 PM5/8/12
to scale...@googlegroups.com
Hi,

I thought I'd check out ScalesXml, but with Scala 2.10.0-M3, so I'll have to build it myself. Starting small, I first tried building it as is. This fails because the build files import symbols from globally installed (or not, as in my case) sbt plugins: ensime and knockoff.

My motivation foor looking at scales is I'd like to make XML processing in Scala even easier, using new Scala features. In particular, SIP-11 allows for new kinds of String-based literals, with interpolation. This should allow a full replacement of the current Scala XML literals, but with the XML library of your choice.

I've written a proof of concept using Anti-XML, which can be seen in action here, but I'd like to do one for Scales as well, and also for String-based XPath 1.0.

Regards,

Bart.

Chris Twiner

unread,
May 9, 2012, 2:40:30 AM5/9/12
to scale...@googlegroups.com
Hi Bart,

Thanks for raising this, I hate it when that happens with other
libraries, the barrier to entry should be jvm, sbt and git, nothing
more :<.

I have added an explicit link to knockoff (I'm still not sure where it
was dragged in from as I'd disabled posterous), and moved the ensime
stuff out to where it belongs. This is hopefully present in master:
609dc19cab4d3ec470e208eb6dc7b9b9a2737bcb. I'm not always able to get
internet connections, so if there is still an error I'll get it fixed
later tonight.

re the x"" idea, yes its been on my radar as well. I can see literals
being very helpful for templates, but it doesn't seem helpful for
manipulation. The XPath idea is also interesting, but unfortunately
XPath is also a source of runtime errors (namespace mappings, or
invalid function usage etc) so I'm not sure how much it buys but I'm
very much looking forward to seeing the results :-).

Again, many thanks.

Cheers,
Chris
Reply all
Reply to author
Forward
0 new messages