djspiewak/anti-xml

[build] SBT +publish and +publish-local Tasks Must Run Twice

Closed this issue · 1 comments

When I run the +publish or the +publish-local tasks, I must run them twice in order to get it to work. On the first run, the result is always the following:

[info] Generating API documentation for main sources...
[info]  delivering ivy file to /Users/daniel/Development/Scala/anti-xml/target/scala-2.9.0.1/ivy-0.3-SNAPSHOT.xml
[info] Compiling 20 Scala sources to /Users/daniel/Development/Scala/anti-xml/target/scala-2.9.0.1/classes...
[error] source file '/Users/daniel/Development/Scala/anti-xml/target/scala-2.9.0.1/src_managed/main/CompatTraversable.scala' could not be found
[info] No documentation generated with unsucessful compiler run
[error] one error found
[error] source file '/Users/daniel/Development/Scala/anti-xml/target/scala-2.9.0.1/src_managed/main/CompatTraversable.scala' could not be found
[error] one error found
[error] {file:/Users/daniel/Development/Scala/anti-xml/}default-46d821/doc: Scaladoc generation failed
[error] {file:/Users/daniel/Development/Scala/anti-xml/}default-46d821/compile: Compilation failed
[error] Total time: 3 s, completed Jul 24, 2011 8:18:23 AM

Running a second time works just fine.

No longer happens in master. May have had something to do with the 2.8.1 cross-build.