As I was working with JarDist, I got caught up a couple times by not having a pod installed/build that it was looking for. The error message wasn't too clear, but this one liner helps out.
diff -r 5e59fcb09a84 src/build/fan/tasks/JarDist.fan
--- a/src/build/fan/tasks/JarDist.fan Tue Jun 08 16:52:43 2010 -0400
+++ b/src/build/fan/tasks/JarDist.fan Tue Jun 08 22:15:04 2010 -0700
@@ -78,6 +78,7 @@
// open as zip and
podFile := script.devHomeDir + `lib/fan/${podName}.pod`
+ if (!podFile.exists) throw Err("pod dependency doesn't exist: $podFile")
podZip := Zip.open(podFile)
meta := podZip.contents[`/meta.props`].readProps
podZip.close
liamstask Wed 9 Jun 2010
As I was working with JarDist, I got caught up a couple times by not having a pod installed/build that it was looking for. The error message wasn't too clear, but this one liner helps out.
brian Wed 9 Jun 2010
got it - thanks