--
You received this message because you are subscribed to the Google Groups "ScalaNLP" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalanlp/-/LgRTZsEoQiwJ.
To post to this group, send email to scal...@googlegroups.com.
To unsubscribe from this group, send email to scalanlp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalanlp?hl=en.
Sorry I didn't reply sooner; I was a the first meeting of the Bay Area
NLP Meetup, of all things.
I, err, guess I've been a bad steward. (Namely, pushing to my own
github branch and not communicating at all.) Here's the deal:
1) Scalala now builds with SBT. Because I didn't want to deal with the
machinations that you went through, I gave up and ported ScalaNLP's
build to SBT along with the port to Scala 2.9 and new Scalala. So much
porting. (I actually think SBT's reliance on reflection is really
hacky and gross, but that's another story.)
2) sbt update publish-local should just work.
3) I just pushed to the scalanlp account.
4) In addition to the port, there are many new things!
-- I cleaned up the optimize package quite a bit. Everything is a lot
more unified in terms of interface. (FirstOrder methods support an
iterator for each iteration and such.)
-- I added an LP solver (InteriorPoint) that seems to be pretty ok,
though I haven't tested it on anything large scale.
-- Along with the LP solver is a new DSL for solving LPs:
* val lp = new LP;
* import lp._;
* val x = new Positive("x");
* val y = new Positive("y");
*
* val result = maximize ( (3 * x+ 4 * y)
* subjectTo( x <= 3, y <= 1))
*
* result.valueOf(x) // 3
-- The classify package is way more sensible than it used to be. It
also now includes unit tests, a Logit/MaxEnt trainer that makes sense,
SMO and Pegasos for training SVM's, Naive Bayes and Perceptron. They
all seem to perform ok.
-- The sampling package is now called distributions, and includes
methods for finding the MLE for 7 or 8 exponential families. Also
includes sampling routines, as before.
-- I added a little more to the Tour section on the wiki (today)
-- Probably other changes, but I don't think they're important.
Ok, I think that's it.
-- David
i like having only one build system excellent
fwiw: sbt +update +publish-local should work without patches.
-- David
Um, unfortunately I think nothing. Dan Ramage is the one who publishes
Scalala and he's been busy with his wedding/honey moon for the past n
months. (Also graduating, defending, and writing his dissertation...)
I don't have the keys to the kingdom for Scalala any more, and I don't
want to be publishing dlwh-scalala unless it's really necessary.
This works for me:
git clone git://github.com/dlwh/Scalala.git
cd scalala
sbt +update +publish-local
cd ..
git clone git://github.com/dlwh/scalanlp-core.git
cd scalanlp-core/
sbt update publish-local
If that doesn't work, I'll fix errors as you send them to me. I'll be
traveling starting Monday for two weeks or so, however. Also, I plan
on getting Jenkins up and running again for my projects. I'll talk to
Dan if he wants to start automating deploys of Scalala.
-- David
>
> --
> You received this message because you are subscribed to the Google Groups
> "ScalaNLP" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalanlp/-/eUhr9fJIAUAJ.
diff --git a/project/build.properties b/project/build.properties
index ab15e23..e4fb611 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -5,5 +5,5 @@ project.name=scalala
sbt.version=0.7.4
project.version=1.0.0.RC2-SNAPSHOT
def.scala.version=2.7.7
-build.scala.versions=2.8.1 2.9.0
+build.scala.versions=2.9.0
project.initialize=false
diff --git a/project/build/Project.scala b/project/build/Project.scala
index 5c337e2..9823d78 100644
--- a/project/build/Project.scala
+++ b/project/build/Project.scala
@@ -93,19 +93,15 @@ class Project(info: ProjectInfo) extends DefaultProject(info
//
val publishToRepoName = "Sonatype Nexus Repository Manager"
val publishTo = {
- val repoUrl = "http://nexus.scala-tools.org/content/repositories/" +
+ val repoUrl = "http://localhost/nexus/content/repositories/" +
(if (version.toString.endsWith("-SNAPSHOT")) "snapshots" else "releases")
publishToRepoName at repoUrl
}
- lazy val publishUser = system[String]("build.publish.user")
- lazy val publishPassword = system[String]("build.publish.password")
+ lazy val publishUser = "admin"
+ lazy val publishPassword = "admin123"
+
+ Credentials.add(publishToRepoName, "localhost", publishUser, publishPassword)
- (publishUser.get, publishPassword.get) match {
- case (Some(u), Some(p)) =>
- Credentials.add(publishToRepoName, "nexus.scala-tools.org", u, p)
- case _ =>
- Credentials(Path.userHome / ".ivy2" / ".credentials", log)
- }
}
> --
> You received this message because you are subscribed to the Google Groups
> "ScalaNLP" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalanlp/-/hYiM6ng5Kx0J.
That's right, unless someone has a compelling need for 2.8.x
I'm traveling right now, but i'll get to your bug report soon.
-- David
>
> --
> You received this message because you are subscribed to the Google Groups "ScalaNLP" group.