Hi, First, thanks for the help last week in getting buildr installed with gem 1.3.6 and nice tool! I've now successfully gotten quite of bit working with a mixed java/scala set of projects.
I am now trying to get a non-maven artifact dependency setup against a downloaded zip file and am having some trouble. I've been using the examples at: http://buildr.apache.org/artifacts.html#downloading My problem is that I can't seem to ever get the download to trigger... here's my build file with the unrelated stuff removed: ------------------------------------------ require 'buildr/scala' GROUP = "frontend" COPYRIGHT = "" # Specify Maven 2.0 remote repositories here, like this: repositories.remote << "http://www.ibiblio.org/maven2" my_layout = Layout.new my_layout[:source, :main, :java] = 'src' #trying to setup an artifact extracted from a remote zip here qpid_url = 'http://www.apache.org/dist/qpid/0.5/qpid-java-client-0.5.zip' download_qpid = download(qpid_url => 'target/qpid.zip') unzip_qpid = unzip('target/qpid'=> download_qpid) qpid_client_jar = file('target/qpid/lib/qpid-client-0.5.jar'=>unzip_qpid) QPID_CLIENT = artifact('org.apache.qpid:qpid-client:jar:0.5').from(qpid_client_jar) desc "The scada bus project" define "frontend", :layout=>my_layout do project.version = VERSION_NUMBER project.group = GROUP manifest["Implementation-Vendor"] = COPYRIGHT desc "Front end processor in Scala" define "fep", :layout=>my_layout do compile.with [QPID_CLIENT], projects('javadnp3','fepproto') #I expect this should be triggering a download end end ------------------------------------------ The rake error is: Don't know how to build task '/home/adam/code/scada_bus/frontend/target/qpid/lib/qpid-client-0.5.jar' Apparently it sees the file dependency, but doesn't follow the => unzip => download dependency chain. I'm sure I'm just doing something silly... Thanks, Adam
