You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Stephen Duncan <st...@gmail.com> on 2008/02/02 18:49:33 UTC

State of Transitive Dependencies

I'm playing with buildr to evaluate it by trying to convert a Maven build
over to buildr.  I saw from the mailing list archives that a transitive
function had been provided in trunk.  It seems to work ok in some cases, but
in others I get a segault.  Specifially, trying to use transitive with
group('axiom-api', 'axiom-impl', :under => 'org.apache.ws.commons.axiom',
:version => '1.2.5', :type => 'jar')

Is transitive supposed (or going to) work on projects as well?

Also, how do you (or can you) get project dependencies to end up in the POM
when doing buildr install?

-- 
Stephen Duncan Jr
www.stephenduncanjr.com

Re: State of Transitive Dependencies

Posted by dhpeterson <dh...@gmail.com>.

Ignore my last - I found your JIRA ticket sorry.



jrduncans wrote:
> 
> You're right, it works with 1.2.10.  Under trunk 1.3.0, it segfaults for
> me.
> 
> -Stephen
> 
> On Feb 4, 2008 5:29 PM, dhpeterson <dh...@gmail.com> wrote:
> 
>>
>>
>>
>> Can you post a sample Rakefile that triggers the issue. I just tried the
>> following rakefile under 1.2.10 and it seemed to work.
>>
>> ===
>>
>> # Testcase
>>
>> gem "buildr"
>> require "buildr"
>>
>> CURRENT_VERSION = "0.1"
>> PROJECT_GROUP = "axistest"
>>
>> AXIOM = group('axiom-api', 'axiom-impl', :under =>
>> 'org.apache.ws.commons.axiom',
>>              :version => '1.2.5', :type => 'jar')
>>
>>
>> repositories.remote << "http://ibiblio.org/maven2"
>> #repositories.remote << "http://repo1.maven.org/maven2"
>>
>>
>> desc "Axiom test"
>> define "axiom" do
>>  project.version = CURRENT_VERSION
>>  project.group = PROJECT_GROUP
>>
>>  compile.with transitive(AXIOM)
>>  package :zip
>>
>> end
>>
> 
> 
> 
> -- 
> Stephen Duncan Jr
> www.stephenduncanjr.com
> 
> 

-- 
View this message in context: http://www.nabble.com/State-of-Transitive-Dependencies-tp15245309p15281427.html
Sent from the Buildr - User mailing list archive at Nabble.com.


Re: State of Transitive Dependencies

Posted by Stephen Duncan <st...@gmail.com>.
jrduncans@jrduncans-laptop:~/workspace/axiomtest$ buildr test --trace
(in /home/jrduncans/workspace/axiomtest, development)
** Invoke buildr:initialize (first_time)
** Execute buildr:initialize
** Invoke axiom (first_time)
** Execute axiom
** Invoke /home/jrduncans/.m2/repository/org/apache/ant/ant/1.7.0/ant-
1.7.0.jar (first_time, not_needed)
** Invoke
/home/jrduncans/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-
launcher-1.7.0.jar (first_time, not_needed)
** Invoke /home/jrduncans/.m2/repository/xerces/xercesImpl/2.6.2/xercesImpl-
2.6.2.jar (first_time, not_needed)
** Invoke /home/jrduncans/.m2/repository/org/apache/ant/ant-trax/1.7.0/ant-
trax-1.7.0.jar (first_time, not_needed)
** Invoke /home/jrduncans/.m2/repository/org/apache/ant/ant-junit/1.7.0/ant-
junit-1.7.0.jar (first_time, not_needed)
** Invoke /usr/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/java (first_time,
not_needed)
** Invoke /usr/lib/jvm/java-6-sun-1.6.0.00/lib/tools.jar (first_time,
not_needed)
** Invoke
/home/jrduncans/.m2/repository/org/apache/ws/commons/axiom/axiom-api/1.2.5/axiom-
api-1.2.5.pom (first_time, not_needed)
Loading m2 pom file from
/home/jrduncans/.m2/repository/org/apache/ws/commons/axiom/axiom-api/1.2.5/axiom-
api-1.2.5.pom
** Invoke
/home/jrduncans/.m2/repository/org/apache/ws/commons/axiom/axiom-parent/1.2.5/axiom-
parent-1.2.5.pom (first_time, not_needed)
Loading m2 pom file from
/home/jrduncans/.m2/repository/org/apache/ws/commons/axiom/axiom-parent/1.2.5/axiom-
parent-1.2.5.pom
Segmentation fault (core dumped)
jrduncans@jrduncans-laptop:~/workspace/axiomtest$

jrduncans@jrduncans-laptop:~/workspace/axiomtest$ ruby --version
ruby 1.8.5 (2006-08-25) [i486-linux]

jrduncans@jrduncans-laptop:~/workspace/axiomtest$ uname -a
Linux jrduncans-laptop 2.6.20-16-generic #2 SMP Tue Dec 18 05:45:12 UTC 2007
i686 GNU/Linux

-Stephen

On Feb 4, 2008 7:52 PM, dhpeterson <dh...@gmail.com> wrote:

>
>
> I can't reproduce this. Can you run with --trace and post output.
>
> Dave
>
>
>
> jrduncans wrote:
> >
> > You're right, it works with 1.2.10.  Under trunk 1.3.0, it segfaults for
> > me.
> >
> > -Stephen
> >
> > On Feb 4, 2008 5:29 PM, dhpeterson <dh...@gmail.com> wrote:
> >
> >>
> >>
> >>
> >> Can you post a sample Rakefile that triggers the issue. I just tried
> the
> >> following rakefile under 1.2.10 and it seemed to work.
> >>
> >> ===
> >>
> >> # Testcase
> >>
> >> gem "buildr"
> >> require "buildr"
> >>
> >> CURRENT_VERSION = "0.1"
> >> PROJECT_GROUP = "axistest"
> >>
> >> AXIOM = group('axiom-api', 'axiom-impl', :under =>
> >> 'org.apache.ws.commons.axiom',
> >>              :version => '1.2.5', :type => 'jar')
> >>
> >>
> >> repositories.remote << "http://ibiblio.org/maven2"
> >> #repositories.remote << "http://repo1.maven.org/maven2"
> >>
> >>
> >> desc "Axiom test"
> >> define "axiom" do
> >>  project.version = CURRENT_VERSION
> >>  project.group = PROJECT_GROUP
> >>
> >>  compile.with transitive(AXIOM)
> >>  package :zip
> >>
> >> end
> >>
> >
> >
> >
> > --
> > Stephen Duncan Jr
> > www.stephenduncanjr.com
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/State-of-Transitive-Dependencies-tp15245309p15281380.html
> Sent from the Buildr - User mailing list archive at Nabble.com.
>
>


-- 
Stephen Duncan Jr
www.stephenduncanjr.com

Re: State of Transitive Dependencies

Posted by dhpeterson <dh...@gmail.com>.

I can't reproduce this. Can you run with --trace and post output.

Dave



jrduncans wrote:
> 
> You're right, it works with 1.2.10.  Under trunk 1.3.0, it segfaults for
> me.
> 
> -Stephen
> 
> On Feb 4, 2008 5:29 PM, dhpeterson <dh...@gmail.com> wrote:
> 
>>
>>
>>
>> Can you post a sample Rakefile that triggers the issue. I just tried the
>> following rakefile under 1.2.10 and it seemed to work.
>>
>> ===
>>
>> # Testcase
>>
>> gem "buildr"
>> require "buildr"
>>
>> CURRENT_VERSION = "0.1"
>> PROJECT_GROUP = "axistest"
>>
>> AXIOM = group('axiom-api', 'axiom-impl', :under =>
>> 'org.apache.ws.commons.axiom',
>>              :version => '1.2.5', :type => 'jar')
>>
>>
>> repositories.remote << "http://ibiblio.org/maven2"
>> #repositories.remote << "http://repo1.maven.org/maven2"
>>
>>
>> desc "Axiom test"
>> define "axiom" do
>>  project.version = CURRENT_VERSION
>>  project.group = PROJECT_GROUP
>>
>>  compile.with transitive(AXIOM)
>>  package :zip
>>
>> end
>>
> 
> 
> 
> -- 
> Stephen Duncan Jr
> www.stephenduncanjr.com
> 
> 

-- 
View this message in context: http://www.nabble.com/State-of-Transitive-Dependencies-tp15245309p15281380.html
Sent from the Buildr - User mailing list archive at Nabble.com.


Re: State of Transitive Dependencies

Posted by Stephen Duncan <st...@gmail.com>.
You're right, it works with 1.2.10.  Under trunk 1.3.0, it segfaults for me.

-Stephen

On Feb 4, 2008 5:29 PM, dhpeterson <dh...@gmail.com> wrote:

>
>
>
> Can you post a sample Rakefile that triggers the issue. I just tried the
> following rakefile under 1.2.10 and it seemed to work.
>
> ===
>
> # Testcase
>
> gem "buildr"
> require "buildr"
>
> CURRENT_VERSION = "0.1"
> PROJECT_GROUP = "axistest"
>
> AXIOM = group('axiom-api', 'axiom-impl', :under =>
> 'org.apache.ws.commons.axiom',
>              :version => '1.2.5', :type => 'jar')
>
>
> repositories.remote << "http://ibiblio.org/maven2"
> #repositories.remote << "http://repo1.maven.org/maven2"
>
>
> desc "Axiom test"
> define "axiom" do
>  project.version = CURRENT_VERSION
>  project.group = PROJECT_GROUP
>
>  compile.with transitive(AXIOM)
>  package :zip
>
> end
>



-- 
Stephen Duncan Jr
www.stephenduncanjr.com

Re: State of Transitive Dependencies

Posted by dhpeterson <dh...@gmail.com>.


Can you post a sample Rakefile that triggers the issue. I just tried the
following rakefile under 1.2.10 and it seemed to work.

===

# Testcase 

gem "buildr"
require "buildr"

CURRENT_VERSION = "0.1"
PROJECT_GROUP = "axistest"

AXIOM = group('axiom-api', 'axiom-impl', :under =>
'org.apache.ws.commons.axiom',
              :version => '1.2.5', :type => 'jar')  


repositories.remote << "http://ibiblio.org/maven2"
#repositories.remote << "http://repo1.maven.org/maven2"


desc "Axiom test"
define "axiom" do
  project.version = CURRENT_VERSION
  project.group = PROJECT_GROUP 

  compile.with transitive(AXIOM)
  package :zip

end


===

peterson@vostok:~/temp/axiomtest$ buildr test
(in /home/peterson/temp/axiomtest)
Downloading org.apache.ws.commons.axiom:axiom-api:pom:1.2.5
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ws/commons/axiom/axiom-api/1.2.5/axiom-api-1.2.5.pom
100%
|......................................................................................|  
2.7KB/  2.7KB Time: 00:00:00
Downloading org.apache.ws.commons.axiom:axiom-parent:pom:1.2.5
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ws/commons/axiom/axiom-parent/1.2.5/axiom-parent-1.2.5.pom
100%
|......................................................................................| 
19.9KB/ 19.9KB Time: 00:00:01
Downloading javax.mail:mail:pom:1.4
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/mail/mail/1.4/mail-1.4.pom
100%
|......................................................................................|   
993B/   993B Time: 00:00:00
Downloading commons-logging:commons-logging:pom:1.0.4
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
100%
|......................................................................................|  
5.1KB/  5.1KB Time: 00:00:00
Downloading jaxen:jaxen:pom:1.1-beta-9
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.pom
100%
|......................................................................................|  
7.6KB/  7.6KB Time: 00:00:00
Downloading dom4j:dom4j:pom:1.6.1
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom
100%
|......................................................................................|  
6.6KB/  6.6KB Time: 00:00:00
Downloading xml-apis:xml-apis:pom:1.0.b2
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom
100%
|......................................................................................|  
2.2KB/  2.2KB Time: 00:00:00
Downloading jdom:jdom:pom:1.0
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/jdom/jdom/1.0/jdom-1.0.pom
100%
|......................................................................................|  
1.1KB/  1.1KB Time: 00:00:00
Downloading xerces:xmlParserAPIs:pom:2.6.2
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.pom
100%
|......................................................................................|   
153B/   153B Time: 00:00:00
Downloading xom:xom:pom:1.0b3
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xom/xom/1.0b3/xom-1.0b3.pom
100%
|......................................................................................|  
1.1KB/  1.1KB Time: 00:00:00
Downloading xerces:xmlParserAPIs:pom:2.6.1
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xerces/xmlParserAPIs/2.6.1/xmlParserAPIs-2.6.1.pom
100%
|......................................................................................|   
153B/   153B Time: 00:00:00
Downloading xerces:xercesImpl:pom:2.2.1
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xerces/xercesImpl/2.2.1/xercesImpl-2.2.1.pom
100%
|......................................................................................|   
150B/   150B Time: 00:00:00
Downloading com.ibm.icu:icu4j:pom:2.6.1
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.pom
100%
|......................................................................................|   
150B/   150B Time: 00:00:00
Downloading xalan:xalan:pom:2.6.0
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xalan/xalan/2.6.0/xalan-2.6.0.pom
100%
|......................................................................................|   
491B/   491B Time: 00:00:00
Downloading xml-apis:xml-apis:pom:2.0.2
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom
100%
|......................................................................................|   
346B/   346B Time: 00:00:00
Downloading org.ccil.cowan.tagsoup:tagsoup:pom:0.9.7
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/ccil/cowan/tagsoup/tagsoup/0.9.7/tagsoup-0.9.7.pom
100%
|......................................................................................|   
681B/   681B Time: 00:00:00
Downloading xml-apis:xml-apis:pom:1.3.03
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.pom
100%
|......................................................................................|   
738B/   738B Time: 00:00:00
Downloading org.apache:apache:pom:1
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/apache/1/apache-1.pom
100%
|......................................................................................|  
3.3KB/  3.3KB Time: 00:00:00
Downloading stax:stax-api:pom:1.0.1
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/stax/stax-api/1.0.1/stax-api-1.0.1.pom
100%
|......................................................................................|  
1.5KB/  1.5KB Time: 00:00:00
Downloading org.apache.ws.commons.axiom:axiom-impl:pom:1.2.5
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ws/commons/axiom/axiom-impl/1.2.5/axiom-impl-1.2.5.pom
100%
|......................................................................................|  
2.3KB/  2.3KB Time: 00:00:00
Testing axis
Downloading org.apache.ws.commons.axiom:axiom-api:jar:1.2.5
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ws/commons/axiom/axiom-api/1.2.5/axiom-api-1.2.5.jar
100%
|......................................................................................|
137.6KB/137.6KB Time: 00:00:06
Downloading javax.mail:mail:jar:1.4
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/mail/mail/1.4/mail-1.4.jar
100%
|......................................................................................|
379.8KB/379.8KB Time: 00:00:12
Downloading commons-logging:commons-logging:jar:1.0.4
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
100%
|......................................................................................| 
37.1KB/ 37.1KB Time: 00:00:01
Downloading jaxen:jaxen:jar:1.1-beta-9
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar
100%
|......................................................................................|
226.6KB/226.6KB Time: 00:00:05
Downloading dom4j:dom4j:jar:1.6.1
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
100%
|......................................................................................|
306.5KB/306.5KB Time: 00:00:05
Downloading xml-apis:xml-apis:jar:1.0.b2
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
100%
|......................................................................................|
106.8KB/106.8KB Time: 00:00:03
Downloading jdom:jdom:jar:1.0
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/jdom/jdom/1.0/jdom-1.0.jar
100%
|......................................................................................|
149.7KB/149.7KB Time: 00:00:05
Downloading xerces:xmlParserAPIs:jar:2.6.2
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
100%
|......................................................................................|
121.8KB/121.8KB Time: 00:00:04
Downloading xom:xom:jar:1.0b3
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xom/xom/1.0b3/xom-1.0b3.jar
100%
|......................................................................................|
101.7KB/101.7KB Time: 00:00:03
Downloading com.ibm.icu:icu4j:jar:2.6.1
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
100%
|......................................................................................|  
2.3MB/  2.3MB Time: 00:00:44
Downloading xalan:xalan:jar:2.6.0
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/xalan/xalan/2.6.0/xalan-2.6.0.jar
100%
|......................................................................................|  
3.0MB/  3.0MB Time: 00:00:46
Downloading org.ccil.cowan.tagsoup:tagsoup:jar:0.9.7
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/ccil/cowan/tagsoup/tagsoup/0.9.7/tagsoup-0.9.7.jar
100%
|......................................................................................| 
37.1KB/ 37.1KB Time: 00:00:01
Downloading stax:stax-api:jar:1.0.1
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/stax/stax-api/1.0.1/stax-api-1.0.1.jar
100%
|......................................................................................| 
25.9KB/ 25.9KB Time: 00:00:00
Downloading org.apache.ws.commons.axiom:axiom-impl:jar:1.2.5
Downloading
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ws/commons/axiom/axiom-impl/1.2.5/axiom-impl-1.2.5.jar
100%
|......................................................................................|
114.0KB/114.0KB Time: 00:00:03
peterson@vostok:~/temp/axiomtest$ vim Rakefile 
peterson@vostok:~/temp/axiomtest$ buildr test
(in /home/peterson/temp/axiomtest)
Testing axis





jrduncans wrote:
> 
> I'm playing with buildr to evaluate it by trying to convert a Maven build
> over to buildr.  I saw from the mailing list archives that a transitive
> function had been provided in trunk.  It seems to work ok in some cases,
> but
> in others I get a segault.  Specifially, trying to use transitive with
> group('axiom-api', 'axiom-impl', :under => 'org.apache.ws.commons.axiom',
> :version => '1.2.5', :type => 'jar')
> 
> Is transitive supposed (or going to) work on projects as well?
> 
> Also, how do you (or can you) get project dependencies to end up in the
> POM
> when doing buildr install?
> 
> -- 
> Stephen Duncan Jr
> www.stephenduncanjr.com
> 
> 

-- 
View this message in context: http://www.nabble.com/State-of-Transitive-Dependencies-tp15245309p15278856.html
Sent from the Buildr - User mailing list archive at Nabble.com.


Re: State of Transitive Dependencies

Posted by Stephen Duncan <st...@gmail.com>.
On Feb 4, 2008 7:12 PM, Assaf Arkin <ar...@intalio.com> wrote:
>
>
> The compile dependencies should be available as test dependencies, if
> you're
> not seeing them, we have a bug.
>
> Assaf
>

It's working fine in trunk.  In 1.2.10, I had to add several dependencies to
get further in the build (though it still failed due to a class with Test in
the name that had no tests in it).  The sample build file is attached to
this issue: https://issues.apache.org/jira/browse/ABDERA-99

For the 'abdera:client' project, I had to add AXIOM, JAXEN, COMMONS.logging,
COMMONS.codec to test.with.  Otherwise they fail at runtime of the tests
with NoClassDefFoundError.  These dependencies are specified as dependencies
of some of the other projects that abdera:client has as compile
dependencies.  So it seems that each project's compile.dependencies is
automatically added to the classpath while running the tests.  Is that
right?  I see that as a kind of transitivity.  It seems to work, but I'm not
clear on exactly the algorithm intended.

-Stephen

-- 
Stephen Duncan Jr
www.stephenduncanjr.com

Re: State of Transitive Dependencies

Posted by Assaf Arkin <ar...@intalio.com>.
On 2/4/08, Stephen Duncan <st...@gmail.com> wrote:
>
>
> From warnings that I got, I gather that's supposed to be
> project('foo').compile.dependencies now, right?


Yes, in 1.3 it's dependencies instead of classpath.


I know my test build doesn't work between 1.3.0 and 1.2.10, and it looks
> like it's because in 1.2.10 I need to explicitly set more things
> test.withdependencies.  Are project compile dependencies being
> automatically added to
> the test classpath? These are things I felt I had to struggle through
> figuring out when testing that it would be good to see explicit in the
> docs.


The compile dependencies should be available as test dependencies, if you're
not seeing them, we have a bug.

Assaf

> > Also, how do you (or can you) get project dependencies to end up in the
> > > POM
> > > when doing buildr install?
> >
> >
> > We can't right now, again something we'll have to resolve by adding
> proper
> > dependency management.
> >
> > Assaf
>
>
> Ok, good to know.  Thanks for the answers and help.
>
> -Stephen
>



-- 
CTO, Intalio
http://www.intalio.com

Re: State of Transitive Dependencies

Posted by Stephen Duncan <st...@gmail.com>.
On Feb 4, 2008 3:34 PM, Assaf Arkin <ar...@intalio.com> wrote:

> On 2/2/08, Stephen Duncan <st...@gmail.com> wrote:
>
>
>
> It's not tested, so I can't guarantee it will work in most cases, segfault
> is probably recursion eating up the stack.  We'll have to deal with this
> properly in the next major release (past 1.3).
>

Ok.  See my other e-mail for a current regression from 1.2.10 to trunk.


>
> > Is transitive supposed (or going to) work on projects as well?
>
>
> Nope, but  project('foo').compile.classpath will.


>From warnings that I got, I gather that's supposed to be
project('foo').compile.dependencies now, right?

I know my test build doesn't work between 1.3.0 and 1.2.10, and it looks
like it's because in 1.2.10 I need to explicitly set more things
test.withdependencies.  Are project compile dependencies being
automatically added to
the test classpath? These are things I felt I had to struggle through
figuring out when testing that it would be good to see explicit in the
docs.


> > Also, how do you (or can you) get project dependencies to end up in the
> > POM
> > when doing buildr install?
>
>
> We can't right now, again something we'll have to resolve by adding proper
> dependency management.
>
> Assaf


Ok, good to know.  Thanks for the answers and help.

-Stephen

Re: State of Transitive Dependencies

Posted by Assaf Arkin <ar...@intalio.com>.
On 2/2/08, Stephen Duncan <st...@gmail.com> wrote:
>
> I'm playing with buildr to evaluate it by trying to convert a Maven build
> over to buildr.  I saw from the mailing list archives that a transitive
> function had been provided in trunk.  It seems to work ok in some cases,
> but
> in others I get a segault.  Specifially, trying to use transitive with
> group('axiom-api', 'axiom-impl', :under => 'org.apache.ws.commons.axiom',
> :version => '1.2.5', :type => 'jar')


It's not tested, so I can't guarantee it will work in most cases, segfault
is probably recursion eating up the stack.  We'll have to deal with this
properly in the next major release (past 1.3).


> Is transitive supposed (or going to) work on projects as well?


Nope, but  project('foo').compile.classpath will.


> Also, how do you (or can you) get project dependencies to end up in the
> POM
> when doing buildr install?


We can't right now, again something we'll have to resolve by adding proper
dependency management.

Assaf

--
> Stephen Duncan Jr
> www.stephenduncanjr.com
>



-- 
CTO, Intalio
http://www.intalio.com