Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
publish sources
Browse files Browse the repository at this point in the history
fixed compile bug in 2.7.7
bumped version
  • Loading branch information
hoffrocket committed Sep 3, 2010
1 parent a4c8234 commit a4abe0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/build.properties
Expand Up @@ -3,7 +3,7 @@
project.organization=org.scalaj
project.name=scalaj-http
sbt.version=0.7.4
project.version=0.1
project.version=0.2
def.scala.version=2.7.7
build.scala.versions=2.8.0 2.7.7
project.initialize=false
3 changes: 3 additions & 0 deletions project/build/HttpProject.scala
Expand Up @@ -5,6 +5,9 @@ class HttpProject(info: ProjectInfo) extends DefaultProject(info) {
override def managedStyle = ManagedStyle.Maven
val publishTo = "Scala Tools Nexus" at "http://nexus.scala-tools.org/content/repositories/releases/"
Credentials(Path.userHome / ".ivy2" / ".credentials", log)
override def packageSrcJar= defaultJarPath("-sources.jar")
val sourceArtifact = Artifact.sources(artifactID)
override def packageToPublishActions = super.packageToPublishActions ++ Seq(packageSrc)

val commonsCodec = "commons-codec" % "commons-codec" % "1.3" % "compile" withSources()

Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/scalaj/http/Http.scala
Expand Up @@ -109,7 +109,7 @@ object Http {

def readOnce {
val len = in.read(ba)
if (len > 0) bos.appendAll(ba, 0, len)
if (len > 0) bos.append(ba, 0, len)
if (len >= 0) readOnce
}

Expand Down

0 comments on commit a4abe0a

Please sign in to comment.