Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 96526 invoked from network); 22 Sep 2009 19:42:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Sep 2009 19:42:46 -0000 Received: (qmail 20817 invoked by uid 500); 22 Sep 2009 19:42:46 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 20764 invoked by uid 500); 22 Sep 2009 19:42:46 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 20746 invoked by uid 99); 22 Sep 2009 19:42:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 19:42:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alex.boisvert@gmail.com designates 209.85.219.220 as permitted sender) Received: from [209.85.219.220] (HELO mail-ew0-f220.google.com) (209.85.219.220) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 19:42:34 +0000 Received: by ewy20 with SMTP id 20so58458ewy.44 for ; Tue, 22 Sep 2009 12:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=AyiyOVteJ8YKRjXKeTHVhkOQ5g1BTYjB3iraYhgUhjw=; b=GEsC3L/U90OiSD+82+Rmd9KpHJc+LCLT4ScLErhufhoo9YhA71JrlDcklB4w4hdTxo //i5yqoboutp398Hv98aymMzL9+DaYL/gf2EA6jFVTAS97x0soHa6Vl/bQ4CmjkKMzCp +gKLBJHVsWPcQEwXdshs9Oqm4l0+vwcDA3ck4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZH/YT7H5RbjV3tKVzCxzIcJM53P7N9+mH79Ff2SkK7d+Erumr7Qxh8msggeJnu7Pnz UHVhSW2pZ5zg2ERKcTYqbk15KRhgc0m7wAIZ2qwMvko2ttrz/3WU76zwEL+/e0GNZu/u /SavyCsFI+jMdJvpOp6TOJ1kHKDJ1OxZdbhkk= MIME-Version: 1.0 Received: by 10.216.13.10 with SMTP id a10mr309535wea.119.1253648533127; Tue, 22 Sep 2009 12:42:13 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Sep 2009 12:42:13 -0700 Message-ID: <4dcd15a90909221242h17aabf9k1613d7a7034af0b1@mail.gmail.com> Subject: Re: Getting buildr to create an IDEA project file fails on a Scala dependency From: Alex Boisvert To: users@buildr.apache.org Content-Type: multipart/alternative; boundary=0016364d21dd7d838704742fcb7d X-Virus-Checked: Checked by ClamAV on apache.org --0016364d21dd7d838704742fcb7d Content-Type: text/plain; charset=ISO-8859-1 Are you sure this is correct? SCALA = group('scala-library', 'scala-compiler', 'axiom-dom', :under=>'org.scala-lang', :version=>'2.7.5') axiom-dom above seems out of place. alex On Tue, Sep 22, 2009 at 1:08 AM, Ijonas Kisselbach < ijonas.kisselbach@gmail.com> wrote: > Hi, > > I've got a Buildr-based project that runs perfectly and happily packages up > my WAR file, that happily deploys to JBoss. When I try and execute > > buildr idea > > it fails on trying to org.scala-lang:axiom-dom:jar:2.7.5 artifact > dependency. I've hunted high and low for this artifact on the usual servers > and repos but I can't even find a reference to it. Even a standard "google" > returns nothing. > > Does anyone else have this problem ? Or know how to rectify it ? buildr > eclipse fails too.... > > I've posted my buildfile at the bottom of this email. > > Thanks, > Ijonas > > > require 'buildr' > require 'buildr/scala' > require 'rubygems' > require 'warbler' > > # define the version of the Vamosa product > VERSION_NUMBER = '3.0.0' > > # define repositories from which artifacts can be downloaded > repositories.remote << 'http://www.ibiblio.org/maven2/' > repositories.remote << 'http://scala-tools.org/repo-releases' > > # define artifacts that are not available from remote repositories > artifact("javax.jms:jms:jar:1.1").from(file("libs/javax.jms.jar")) > > # define the artifacts that the project depends on > SCALA = group('scala-library', 'scala-compiler', 'axiom-dom', > :under=>'org.scala-lang', :version=>'2.7.5') > SCALATEST = [ > 'org.scala-tools.testing:specs:jar:1.5.0','org.scalatest:scalatest:jar:0.9.5'] > XUNIT = ["junit:junit:jar:4.4", "org.dbunit:dbunit:jar:2.2.3", > "org.mockito:mockito-all:jar:1.7" ] > JDBC_DRIVERS = ["mysql:mysql-connector-java:jar:5.1.6"] > HIBERNATE = [ "org.hibernate:hibernate-core:jar:3.3.2.GA", > "org.hibernate:hibernate-annotations:jar:3.4.0.GA", > "org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga", > "org.hibernate:hibernate-search:jar:3.1.0.GA", > "org.hibernate:hibernate-ehcache:jar:3.3.2.GA", > "org.hibernate:jtidy-r8:jar:20060801", > 'c3p0:c3p0:jar:0.9.1.2', > 'commons-collections:commons-collections:jar:3.2.1', > 'commons-lang:commons-lang:jar:2.4', > 'net.sf.ehcache:ehcache:jar:1.6.2', > 'javax.persistence:persistence-api:jar:1.0'] > LUCENE = ["org.apache.lucene:lucene-core:jar:2.4.1", > "org.apache.lucene:lucene-analyzers:jar:2.4.1", > "org.apache.lucene:lucene-snowball:jar:2.4.1" ] > SPRING = [ "org.springframework:spring-beans:jar:2.5.6", > "org.springframework:spring-context:jar:2.5.6", > "org.springframework:spring-context-support:jar:2.5.6", > "org.springframework:spring-core:jar:2.5.6", > "org.springframework:spring-jdbc:jar:2.5.6", > "org.springframework:spring-orm:jar:2.5.6", > "org.springframework:spring-dao:jar:2.0.8", > "org.springframework:spring-web:jar:2.5.6", > "org.springframework:spring-webmvc:jar:2.5.6", > "org.springframework:spring-jms:jar:2.5.6", > "org.springframework:spring-aop:jar:2.5.6", > "aopalliance:aopalliance:jar:1.0",] > COMMONS = [ "commons-httpclient:commons-httpclient:jar:3.1", > "commons-fileupload:commons-fileupload:jar:1.2.1", > "commons-codec:commons-codec:jar:1.4", > "commons-io:commons-io:jar:1.4", > "commons-discovery:commons-discovery:jar:0.4" ] > SCRIPTING = [ > "org.python:jython:jar:2.2-rc3","org.jruby:jruby-complete:jar:1.3.1","org.apache.bsf:bsf-all:jar:3.0-beta3", > "rhino:js:jar:1.7R2"] > LOGGING = [ "log4j:log4j:jar:1.2.15", > "org.slf4j:slf4j-api:jar:1.5.8", "org.slf4j:slf4j-simple:jar:1.5.8", > "commons-logging:commons-logging:jar:1.1.1"] > CONTENT_PARSER= [ "com.google.code.gson:gson:jar:1.1", > "dom4j:dom4j:jar:1.6.1", "org.htmlparser:htmlparser:jar:1.6", > "jaxen:jaxen:jar:1.1.1", "org.apache.poi:poi:jar:3.2-FINAL", > "pdfbox:pdfbox:jar:0.7.3", "com.lowagie:itext:jar:2.0.6", > "com.drewnoakes:metadata-extractor:jar:2.4.0-beta-1" ] > QUARTZ = "org.opensymphony.quartz:quartz:jar:1.6.1" > J2EE_API = [ "javax.jms:jms:jar:1.1", > "javax.servlet:servlet-api:jar:2.4" ] > JFREE_CHART = [ "jfree:jfreechart:jar:1.0.12"] > SOAP = [ "wsdl4j:wsdl4j:jar:1.5.2", > "org.apache.axis:axis:jar:1.4", "org.apache.axis:axis-jaxrpc:jar:1.4"] > JAVASSIST = "javassist:javassist:jar:3.4.GA" > XALAN = "xalan:xalan:jar:2.7.1" > > # now lets do some work > platforms = ["mysql", "oracle", "mssql", "db2"] > platform = "mysql" > desc 'Enterprise Content Governance Platform' > define 'ContentMigrator' do > project.version = VERSION_NUMBER > project.group = 'com.vamosa' > manifest['Copyright'] = 'Vamosa Ltd. (C) 2003-2009' > compile.options.target = '1.5' > compile.with HIBERNATE, SPRING, COMMONS, LOGGING, CONTENT_PARSER, QUARTZ, > J2EE_API, SCRIPTING, SOAP, JFREE_CHART, JAVASSIST, LUCENE, XALAN > test.exclude '*' > test.with XUNIT, SCALATEST > test.using :specs > > # get all the important components from the Rails GUI into the staging > directory > Dir.chdir("rails") do > puts "Changed current directory to: #{Dir.pwd}" > warble_cfg = eval(File.open("config/warble.rb") {|f| f.read}) > Warbler::Task.new(:war, warble_cfg) > Rake::Task['war:app'].invoke > puts "war:app executed" > Rake::Task['war:public'].invoke > puts "war:public executed" > end > puts "Changed current directory to: #{Dir.pwd}" > > # package it up > package(:war, :file => > _("target/#{id}-#{VERSION_NUMBER}-#{platform}.war")).tap do |task| > puts task > task.include 'war/*' > task.include "src/main/resources/#{platform}.session-factory.xml", > :as=>'WEB-INF/session-factory.xml' > task.include 'src/main/resources/jboss.jms-context.xml', > :as=>'WEB-INF/jms-context.xml' > end > end > > > > --0016364d21dd7d838704742fcb7d--