On Sat, Jan 2, 2010 at 3:13 AM, Liam Clarke-Hutchinson <[email protected]>wrote:
> Hi all, > > Thought I'd finally give Buildr a shot for some of my fun coding > projects, and I've hit an issue I can't get around with one particular > non-Maven dependency. I have an example project, but I'm not sure > about uploading files to the mailing list, but I can do so if needed. > > In the interim, my buildfile is here: > https://gist.github.com/f4c0b95bff7a5b2d3544 > > The sole Scala object in my project is here: > https://gist.github.com/09a97a62d389a7c2f3b3 > > A builder --trace dump of the failure is here: > https://gist.github.com/a01e2574d8baeac285cc > > At line 124, there's a scalac parse error on the import of com.csvreader._ > > I double-checked the docs and the source, and even decompiled a class > from the jar Buildr downloads, and the package is definitely > com.csvreader, so the error is most likely mine. Thing I can't > understand is that I defined sqlitejdbc the same way, and that works > fine. (If I remove the com.csvreader import, the project builds > successfully). > > Any help gratefully appreciated, > > Regards, > > Liam Clarke > Hi Liam, The jar you're downloading for csvreader isn't a jar file, it's a distribution zip. boisv...@smudge:~/.m2/repository$ unzip -l com/csvreader/javacsv/2.0/javacsv-2.0.jar Archive: com/csvreader/javacsv/2.0/javacsv-2.0.jar Length Date Time Name --------- ---------- ----- ---- 26 2006-12-12 13:41 javadoc.bat 696 2006-12-12 11:51 build.xml 713 2006-12-12 11:52 javadoc.xml 0 2006-12-12 16:32 doc/ 823 2006-12-12 13:41 doc/allclasses-frame.html 783 2006-12-12 13:41 doc/allclasses-noframe.html 0 2006-12-12 13:49 doc/com/ 0 2006-12-12 13:49 doc/com/csvreader/ 0 2006-12-12 13:49 doc/com/csvreader/class-use/ 7567 2006-05-04 01:38 doc/com/csvreader/class-use/CsvReader.CatastrophicException.html 7182 2006-12-12 13:41 doc/com/csvreader/class-use/CsvReader.html 5485 2006-12-12 13:41 doc/com/csvreader/class-use/CsvWriter.html 13140 2006-05-04 01:38 doc/com/csvreader/CsvReader.CatastrophicException.html 62756 2006-12-12 13:41 doc/com/csvreader/CsvReader.html 39777 2006-12-12 13:41 doc/com/csvreader/CsvWriter.html 986 2006-12-12 13:41 doc/com/csvreader/package-frame.html 6026 2006-12-12 13:41 doc/com/csvreader/package-summary.html 5569 2006-12-12 13:41 doc/com/csvreader/package-tree.html 5894 2006-12-12 13:41 doc/com/csvreader/package-use.html 7513 2006-12-12 13:41 doc/constant-values.html 5025 2006-12-12 13:41 doc/deprecated-list.html 9447 2006-12-12 13:41 doc/help-doc.html 31504 2006-12-12 13:41 doc/index-all.html 0 2006-12-12 13:49 doc/index-files/ 13093 2006-05-04 01:38 doc/index-files/index-1.html 6342 2006-05-04 01:38 doc/index-files/index-2.html 5737 2006-05-04 01:38 doc/index-files/index-3.html 11843 2006-05-04 01:38 doc/index-files/index-4.html 5649 2006-05-04 01:38 doc/index-files/index-5.html 5993 2006-05-04 01:38 doc/index-files/index-6.html 5917 2006-05-04 01:38 doc/index-files/index-7.html 10497 2006-05-04 01:38 doc/index-files/index-8.html 6499 2006-05-04 01:38 doc/index-files/index-9.html 1226 2006-12-12 13:41 doc/index.html 54105 2006-12-12 16:32 doc/javadocs.zip 5517 2006-12-12 13:41 doc/overview-tree.html 15 2006-12-12 13:41 doc/package-list 866 2006-05-04 17:04 doc/packages.html 0 2006-12-12 13:49 doc/resources/ 57 2006-05-04 01:38 doc/resources/inherit.gif 5635 2006-05-04 01:38 doc/serialized-form.html 1231 2006-12-12 13:41 doc/stylesheet.css 0 2006-12-12 13:50 src/ 73444 2006-12-12 13:47 src/AllTests.java 0 2006-12-12 13:51 src/com/ 0 2006-12-12 13:51 src/com/csvreader/ 49441 2006-12-20 13:56 src/com/csvreader/CsvReader.java 16314 2006-11-01 22:35 src/com/csvreader/CsvWriter.java 13417 2006-12-20 13:59 javacsv.jar 24 2006-12-12 11:54 build.bat --------- ------- 503774 50 files To make it work, you could reference the jar artifact in the Maven2 repositories directly, JAVACSV = "net.sourceforge.javacsv:javacsv:jar:2.0" (no need for a separate download task) alex
