[0.9.7] Trouble with publishing

32 views
Skip to first unread message

Vasil Remeniuk

unread,
May 18, 2011, 5:12:39 PM5/18/11
to simple-build-tool
Hi,

   Ive just tried to publish under 0.9.7, and got the following error (the same setup worked fine under 0.9.6):

> publish
[info] Wrote /home/remeniuv/.sbt/plugins/target/scala-2.8.1.final/sbt-netbeans-plugin_2.8.1-0.9.7.pom
[info] :: delivering :: org.netbeans#sbt-netbeans-plugin_2.8.1;0.9.7 :: 0.9.7 :: release :: Thu May 19 00:05:34 EEST 2011
[info] delivering ivy file to /home/remeniuv/.sbt/plugins/target/scala-2.8.1.final/ivy-0.9.7.xml
[info] Packaging /home/remeniuv/.sbt/plugins/target/scala-2.8.1.final/sbt-netbeans-plugin_2.8.1-0.9.7.jar ...
[info] Done packaging.
[error] Incomplete tasks (run 'last <task>' for the full log):
[error]   {file:/home/remeniuv/.sbt/plugins/}default/*:publish: java.io.FileNotFoundException: /home/remeniuv/Dropbox/remeniuk.github.com/maven/org/netbeans/sbt-netbeans-plugin_2.8.1/0.9.7/sbt-netbeans-plugin_2.8.1-0.9.7.pom (No such file or directory)
[error] Total time: 1 s, completed May 19, 2011 12:05:34 AM

Publishing is configured as follows:

publishMavenStyle := true
publishTo := Some(Resolver.file("Local", new File("/home/remeniuv/Dropbox/remeniuk.github.com/maven"))(Patterns(true, Resolver.mavenStyleBasePattern)))


Regards,
Vasil

--
-----

Twitter: twitter.com/remeniuk
Blog: vasilrem.com
Github: github.com/remeniuk
Scala Enthusiasts Belarus: twitter.com/scalaby


Mark Harrah

unread,
May 18, 2011, 7:13:44 PM5/18/11
to simple-b...@googlegroups.com

Can you post the output of 'last publish' ?

This is unrelated, but it is probably better not to call the repository "Local". I'm pretty sure Ivy is case sensitive, but the ~/.ivy2/local repository is called 'local' and this might be confusing.

-Mark

Vasil Remeniuk

unread,
May 19, 2011, 5:46:08 AM5/19/11
to simple-b...@googlegroups.com
This is really weird, but the problem was that the local folder I've been publishing to is under Dropbox (ivy fails to copy artifacts there for some reason). When I changed the location, it has started to work fine.
Sorry for false alarm :)

--Vasil


--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.

Reply all
Reply to author
Forward
0 new messages