You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Bobby Quinne <el...@gmail.com> on 2008/05/22 20:01:04 UTC
ivy issues
Hi,
I am experiencing a few issues that I have been unable to resolve.
1: On the ivy:resolve, entries for the various dependencies are retrieved,
the ivy-[revision].xml and pom/. Some of the jars are downloaded in the
processes, but not for all the dependencies. I checked on the ibiblio site
and the compiled jars are there. Any reason why there are not being
downloaded?
2: For my compile dependencies I have spring, spring-test, ejb3-persistence,
junit and log4j. Now these jars are in my cache, but only commons-collection
and junit are being retrieved with ivy:retrieve. I have confirmed spring is
there, and the ejb3-persistence jars...I'm stumped why they are not being
pulled across from the cache.
Any help appreciated.
--
View this message in context: http://www.nabble.com/ivy-issues-tp17410046p17410046.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: ivy issues
Posted by Bobby Quinne <el...@gmail.com>.
Managed to sort it out.
I was not taking into account the dependencies conf setting. For instance in
org.hibernate hibernate its conf attribute in the artifact tag was master.
So adding test->master to the dependency mapping in my ivy xml figured out
it must be retrieve.
Bobby Quinne wrote:
>
>
> ruel loehr wrote:
>>
>> It's probably related to configurations.
>>
>>
>> ---------------------------------------------------------------------
>> | | modules || artifacts
>> |
>> | conf | number| search|dwnlded|evicted||
>> number|dwnlded|
>>
>> ---------------------------------------------------------------------
>> | default | 0 | 0 | 0 | 0 || 0 | 0
>> |
>> | compile | 6 | 0 | 0 | 0 || 2 | 0
>> |
>> | test | 13 | 0 | 0 | 1 || 8 | 0
>> |
>> | gendb | 0 | 0 | 0 | 0 || 0 | 0
>> |
>>
>> ---------------------------------------------------------------------
>>
>> You are only retrieving things marked with the "compile" configuration.
>> I would expect you to get the remaining four....... What does the
>> output look like in debug mode? It might provide more clues.
>>
>
> debug was attached.
>
>
> ruel loehr wrote:
>>
>> What do your dependency declarations look like? Compile->* ?
>>
>
> I have tried not having compile extend off of default, but same deal.
>
>
> ruel loehr wrote:
>>
>> -----Original Message-----
>> From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
>> Sent: Thursday, May 22, 2008 2:38 PM
>> To: user@ant.apache.org
>> Subject: RE: ivy issues
>>
>>
>>
>> ruel loehr wrote:
>>>
>>> What is the output?
>>>
>> http://www.nabble.com/file/p17411879/ant.txt ant.txt
>>
>>
>> ruel loehr wrote:
>>>
>>> What is the output when running in debug mode?
>>>
>>> e.g. ant -debug yourtarget
>>>
>>
>> http://www.nabble.com/file/p17411879/ant-debug.txt ant-debug.txt
>> -----Original Message-----
>> From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
>> Sent: Thursday, May 22, 2008 1:01 PM
>> To: user@ant.apache.org
>> Subject: ivy issues
>>
>>
>> Hi,
>>
>> I am experiencing a few issues that I have been unable to resolve.
>>
>> 1: On the ivy:resolve, entries for the various dependencies are
>> retrieved,
>> the ivy-[revision].xml and pom/. Some of the jars are downloaded in the
>> processes, but not for all the dependencies. I checked on the ibiblio
>> site
>> and the compiled jars are there. Any reason why there are not being
>> downloaded?
>>
>> 2: For my compile dependencies I have spring, spring-test,
>> ejb3-persistence,
>> junit and log4j. Now these jars are in my cache, but only
>> commons-collection
>> and junit are being retrieved with ivy:retrieve. I have confirmed spring
>> is
>> there, and the ejb3-persistence jars...I'm stumped why they are not being
>> pulled across from the cache.
>>
>> Any help appreciated.
>> --
>> View this message in context:
>> http://www.nabble.com/ivy-issues-tp17410046p17410046.html
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ivy-issues-tp17410046p17411879.html
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/ivy-issues-tp17410046p17473530.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: ivy issues
Posted by Bobby Quinne <el...@gmail.com>.
ruel loehr wrote:
>
> It's probably related to configurations.
>
>
> ---------------------------------------------------------------------
> | | modules || artifacts
> |
> | conf | number| search|dwnlded|evicted||
> number|dwnlded|
>
> ---------------------------------------------------------------------
> | default | 0 | 0 | 0 | 0 || 0 | 0
> |
> | compile | 6 | 0 | 0 | 0 || 2 | 0
> |
> | test | 13 | 0 | 0 | 1 || 8 | 0
> |
> | gendb | 0 | 0 | 0 | 0 || 0 | 0
> |
>
> ---------------------------------------------------------------------
>
> You are only retrieving things marked with the "compile" configuration.
> I would expect you to get the remaining four....... What does the
> output look like in debug mode? It might provide more clues.
>
debug was attached.
ruel loehr wrote:
>
> What do your dependency declarations look like? Compile->* ?
>
I have tried not having compile extend off of default, but same deal.
ruel loehr wrote:
>
> -----Original Message-----
> From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
> Sent: Thursday, May 22, 2008 2:38 PM
> To: user@ant.apache.org
> Subject: RE: ivy issues
>
>
>
> ruel loehr wrote:
>>
>> What is the output?
>>
> http://www.nabble.com/file/p17411879/ant.txt ant.txt
>
>
> ruel loehr wrote:
>>
>> What is the output when running in debug mode?
>>
>> e.g. ant -debug yourtarget
>>
>
> http://www.nabble.com/file/p17411879/ant-debug.txt ant-debug.txt
> -----Original Message-----
> From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
> Sent: Thursday, May 22, 2008 1:01 PM
> To: user@ant.apache.org
> Subject: ivy issues
>
>
> Hi,
>
> I am experiencing a few issues that I have been unable to resolve.
>
> 1: On the ivy:resolve, entries for the various dependencies are retrieved,
> the ivy-[revision].xml and pom/. Some of the jars are downloaded in the
> processes, but not for all the dependencies. I checked on the ibiblio site
> and the compiled jars are there. Any reason why there are not being
> downloaded?
>
> 2: For my compile dependencies I have spring, spring-test,
> ejb3-persistence,
> junit and log4j. Now these jars are in my cache, but only
> commons-collection
> and junit are being retrieved with ivy:retrieve. I have confirmed spring
> is
> there, and the ejb3-persistence jars...I'm stumped why they are not being
> pulled across from the cache.
>
> Any help appreciated.
> --
> View this message in context:
> http://www.nabble.com/ivy-issues-tp17410046p17410046.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
> --
> View this message in context:
> http://www.nabble.com/ivy-issues-tp17410046p17411879.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/ivy-issues-tp17410046p17412161.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
AW: Sending Mail Problem
Posted by "Knuplesch, Juergen" <Ju...@icongmbh.de>.
Do you have mail.jar in the ANT-classpath?
See Library dependencies in
http://ant.apache.org/manual/
--
Jürgen
-----Ursprüngliche Nachricht-----
Von: Guy Catz [mailto:Guy.catz@waves.com]
Gesendet: Montag, 26. Mai 2008 09:48
An: Ant Users List
Betreff: Sending Mail Problem
Hey guy, I'm trying to send mail via ANT using this code -
<target name="SendMail" depends="init" description="send nightly-build result via mail" >
<mail mailhost="mail.xxxxx.com" mailport="25"
subject="bbb - nightly build result">
<from address="email@domain.com"/>
<replyto address="email@domain.com"/>
<to address="email2@domain.com"/>
<message>text</message>
</mail>
</target>
And I'm getting this error. No msg was send.
SendMail:
[mail] Failed to initialise MIME mail:
javax/mail/MessagingException
Please advice.
Thanks,
Guy.
<http://1250099.sigclick.mailinfo.com/sigclick/01030D01/02080A4D/03050E4
D/0310181213.jpg>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Sending Mail Problem
Posted by Guy Catz <Gu...@waves.com>.
Hey guy, I'm trying to send mail via ANT using this code -
<target name="SendMail" depends="init" description="send
nightly-build result via mail" >
<mail mailhost="mail.xxxxx.com" mailport="25"
subject="bbb - nightly build result">
<from address="email@domain.com"/>
<replyto address="email@domain.com"/>
<to address="email2@domain.com"/>
<message>text</message>
</mail>
</target>
And I'm getting this error. No msg was send.
SendMail:
[mail] Failed to initialise MIME mail:
javax/mail/MessagingException
Please advice.
Thanks,
Guy.
<http://1250099.sigclick.mailinfo.com/sigclick/01030D01/02080A4D/03050E4
D/0310181213.jpg>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: ivy issues
Posted by Bobby Quinne <el...@gmail.com>.
have not mentioned the configuration :
Java6_03
ant 1.7.0
ivy 2.0.0 Beta2
ruel loehr wrote:
>
> It's probably related to configurations.
>
>
> ---------------------------------------------------------------------
> | | modules || artifacts
> |
> | conf | number| search|dwnlded|evicted||
> number|dwnlded|
>
> ---------------------------------------------------------------------
> | default | 0 | 0 | 0 | 0 || 0 | 0
> |
> | compile | 6 | 0 | 0 | 0 || 2 | 0
> |
> | test | 13 | 0 | 0 | 1 || 8 | 0
> |
> | gendb | 0 | 0 | 0 | 0 || 0 | 0
> |
>
> ---------------------------------------------------------------------
>
>
> You are only retrieving things marked with the "compile" configuration.
> I would expect you to get the remaining four....... What does the
> output look like in debug mode? It might provide more clues.
>
>
>
> What do your dependency declarations look like? Compile->* ?
>
>
>
> -----Original Message-----
> From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
> Sent: Thursday, May 22, 2008 2:38 PM
> To: user@ant.apache.org
> Subject: RE: ivy issues
>
>
>
> ruel loehr wrote:
>>
>> What is the output?
>>
> http://www.nabble.com/file/p17411879/ant.txt ant.txt
>
>
> ruel loehr wrote:
>>
>> What is the output when running in debug mode?
>>
>> e.g. ant -debug yourtarget
>>
>
> http://www.nabble.com/file/p17411879/ant-debug.txt ant-debug.txt
> -----Original Message-----
> From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
> Sent: Thursday, May 22, 2008 1:01 PM
> To: user@ant.apache.org
> Subject: ivy issues
>
>
> Hi,
>
> I am experiencing a few issues that I have been unable to resolve.
>
> 1: On the ivy:resolve, entries for the various dependencies are retrieved,
> the ivy-[revision].xml and pom/. Some of the jars are downloaded in the
> processes, but not for all the dependencies. I checked on the ibiblio site
> and the compiled jars are there. Any reason why there are not being
> downloaded?
>
> 2: For my compile dependencies I have spring, spring-test,
> ejb3-persistence,
> junit and log4j. Now these jars are in my cache, but only
> commons-collection
> and junit are being retrieved with ivy:retrieve. I have confirmed spring
> is
> there, and the ejb3-persistence jars...I'm stumped why they are not being
> pulled across from the cache.
>
> Any help appreciated.
> --
> View this message in context:
> http://www.nabble.com/ivy-issues-tp17410046p17410046.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
> --
> View this message in context:
> http://www.nabble.com/ivy-issues-tp17410046p17411879.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/ivy-issues-tp17410046p17422567.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: ivy issues
Posted by "Loehr, Ruel" <rl...@pointserve.com>.
It's probably related to configurations.
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 0 | 0 | 0 | 0 || 0 | 0 |
| compile | 6 | 0 | 0 | 0 || 2 | 0 |
| test | 13 | 0 | 0 | 1 || 8 | 0 |
| gendb | 0 | 0 | 0 | 0 || 0 | 0 |
---------------------------------------------------------------------
You are only retrieving things marked with the "compile" configuration. I would expect you to get the remaining four....... What does the output look like in debug mode? It might provide more clues.
What do your dependency declarations look like? Compile->* ?
-----Original Message-----
From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
Sent: Thursday, May 22, 2008 2:38 PM
To: user@ant.apache.org
Subject: RE: ivy issues
ruel loehr wrote:
>
> What is the output?
>
http://www.nabble.com/file/p17411879/ant.txt ant.txt
ruel loehr wrote:
>
> What is the output when running in debug mode?
>
> e.g. ant -debug yourtarget
>
http://www.nabble.com/file/p17411879/ant-debug.txt ant-debug.txt
-----Original Message-----
From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
Sent: Thursday, May 22, 2008 1:01 PM
To: user@ant.apache.org
Subject: ivy issues
Hi,
I am experiencing a few issues that I have been unable to resolve.
1: On the ivy:resolve, entries for the various dependencies are retrieved,
the ivy-[revision].xml and pom/. Some of the jars are downloaded in the
processes, but not for all the dependencies. I checked on the ibiblio site
and the compiled jars are there. Any reason why there are not being
downloaded?
2: For my compile dependencies I have spring, spring-test, ejb3-persistence,
junit and log4j. Now these jars are in my cache, but only commons-collection
and junit are being retrieved with ivy:retrieve. I have confirmed spring is
there, and the ejb3-persistence jars...I'm stumped why they are not being
pulled across from the cache.
Any help appreciated.
--
View this message in context:
http://www.nabble.com/ivy-issues-tp17410046p17410046.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
--
View this message in context: http://www.nabble.com/ivy-issues-tp17410046p17411879.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: ivy issues
Posted by Bobby Quinne <el...@gmail.com>.
ruel loehr wrote:
>
> What is the output?
>
http://www.nabble.com/file/p17411879/ant.txt ant.txt
ruel loehr wrote:
>
> What is the output when running in debug mode?
>
> e.g. ant -debug yourtarget
>
http://www.nabble.com/file/p17411879/ant-debug.txt ant-debug.txt
-----Original Message-----
From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
Sent: Thursday, May 22, 2008 1:01 PM
To: user@ant.apache.org
Subject: ivy issues
Hi,
I am experiencing a few issues that I have been unable to resolve.
1: On the ivy:resolve, entries for the various dependencies are retrieved,
the ivy-[revision].xml and pom/. Some of the jars are downloaded in the
processes, but not for all the dependencies. I checked on the ibiblio site
and the compiled jars are there. Any reason why there are not being
downloaded?
2: For my compile dependencies I have spring, spring-test, ejb3-persistence,
junit and log4j. Now these jars are in my cache, but only commons-collection
and junit are being retrieved with ivy:retrieve. I have confirmed spring is
there, and the ejb3-persistence jars...I'm stumped why they are not being
pulled across from the cache.
Any help appreciated.
--
View this message in context:
http://www.nabble.com/ivy-issues-tp17410046p17410046.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
--
View this message in context: http://www.nabble.com/ivy-issues-tp17410046p17411879.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: ivy issues
Posted by "Loehr, Ruel" <rl...@pointserve.com>.
What is the output?
What is the output when running in debug mode?
e.g. ant -debug yourtarget
-----Original Message-----
From: Bobby Quinne [mailto:elite.code.ninja@gmail.com]
Sent: Thursday, May 22, 2008 1:01 PM
To: user@ant.apache.org
Subject: ivy issues
Hi,
I am experiencing a few issues that I have been unable to resolve.
1: On the ivy:resolve, entries for the various dependencies are retrieved,
the ivy-[revision].xml and pom/. Some of the jars are downloaded in the
processes, but not for all the dependencies. I checked on the ibiblio site
and the compiled jars are there. Any reason why there are not being
downloaded?
2: For my compile dependencies I have spring, spring-test, ejb3-persistence,
junit and log4j. Now these jars are in my cache, but only commons-collection
and junit are being retrieved with ivy:retrieve. I have confirmed spring is
there, and the ejb3-persistence jars...I'm stumped why they are not being
pulled across from the cache.
Any help appreciated.
--
View this message in context: http://www.nabble.com/ivy-issues-tp17410046p17410046.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org