Comments (10)
I think we might have removed util-eval from being tested. We're going to stop supporting it in scala 2.11 (at least I think that is the current plan).
cc @bmdhacks
from util.
Ah, OK. I have a use-case for eval, but I can fork it if eval won't be part of twitter util going forward. Feel free to close this issue, or let me know if I should do it.
from util.
I'm not opposed to keeping util-eval around if somebody wants to do the work to forward-port it to the 2.11 compiler interface, but at Twitter we're trying to migrate everyone off of it in favor of other configuration mechanisms.
from util.
ScalaObject
is now replaced in the develop
branch, and we'll be publishing util-eval
for 2.11 soon.
from util.
Do you guys have a test for the case where invalid code is compiled? I've an error on my project that is inspired from util-eval and even if I think that the error is mine, I wanted to check...
Here is the error that I get: BuggleInc/PLM#421
from util.
do i understand it correctly that util-eval will be made available for 2.11?
thats good news
i would be curious to know what other configuration mechanisms are preferred over util-eval. i did not realize it had fallen out of favor. we use it extensively for runtime compilation of classes...
thanks
from util.
@koertkuipers we generally suggest that folks use the flags API instead. It can be found in util-app, and it's described in the TwitterServer docs. If you're using flags, we generally recommend that you use TwitterServer.
from util.
@mosesn
i assume you already fixed util-eval up for scala 2.11, because i got the tests for it to run just fine in with one change in Eval.scala:
private lazy val libPath = try {
- classPathOfClass("scala.ScalaObject")
+ classPathOfClass("scala.AnyVal")
} catch {
case e: Throwable =>
throw new RuntimeException("Unable to load scala base object from classpath (scala-library jar is missing?)", e)
from util.
@koertkuipers Yep, see this commit in develop
.
from util.
great! i was looking on the wrong branch :(
glad to see its back. if it no longer has importance inside twitter i will
look around for alternatives (scala Toolbox comes to mind) but for now we
love this tool to run quick jobs from text files (in scalding and spark),
and for Scala DSL config files, which we use extensively (i still like it
way better than json or yaml).
happy to help out next time it needs to get migrated.
best, koert
On Thu, Feb 12, 2015 at 5:54 PM, Travis Brown [email protected]
wrote:
@koertkuipers https://github.com/koertkuipers Yep, see this commit
84b9fa5
in develop.—
Reply to this email directly or view it on GitHub
#105 (comment).
from util.
Related Issues (20)
- LoggersCompilationTest failing HOT 2
- Dependency on slf4j-simple causes version conflicts HOT 5
- Future.raiseWithin(duration) creates TimeoutException proactively HOT 3
- Illegal Reflective Access in Hotspot.scala HOT 3
- Link to your docs 404s HOT 2
- New implicit unit conversions no longer work when importing more than one HOT 4
- Wrong number of arguments HOT 2
- Minor follow-ups from PR #242 HOT 5
- Minor - Wrong Code in Cookbook documentation HOT 3
- publish for Scala 2.13? HOT 5
- com.twitter.util.Time.at("yyyy-MM-dd HH:mm:ss Z") throws an exception HOT 3
- (FR) language chooser option for twitter GUI / tweetdeck HOT 6
- Please reconsider #235 HOT 6
- util-jvm: Support for HP NonStop Hotspot JVM HOT 3
- Path to Scala 3 HOT 42
- Supporting scala-async HOT 2
- Inconsistent Timer behavior for timeouts between MockTimer and DefaultTimer HOT 4
- Security permissions are not being checked in ContentionHandler first when using a TwitterServer HOT 1
- for first timers - is it expected you write code contributions with your issues, or can you also just do docs? HOT 2
- Bad link - 404 Not Found - in readme.md: https://twitter.github.com/util HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from util.