Re: [DISCUSS] Ivy 2.0.0-rc1 announcement

2008-09-24 Thread Stefan Bodewig
On Tue, 23 Sep 2008, Xavier Hanin <[EMAIL PROTECTED]> wrote:

> first 2.0.0 final release candidate.

"first ... final" sounds awkward.  It is the "first release candidate
for the 2.0.0 final release" or something similar.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [CONF] Apache Ivy (Apache Ant subproject) : new (page created)

2008-09-24 Thread Stefan Bodewig
On Wed, 24 Sep 2008, <[EMAIL PROTECTED]> wrote:

> Page Created : IVY : new
> 
> new has been created by thiru (Sep 24, 2008).
> 
> Content:
> 
> hi

I lack permissions to remove the page, could anybody else please do it
(and/or grant my account [EMAIL PROTECTED] karma to do so in the
future)?

Thanks

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



IVY, IVYDE still incubator projects in JIRA

2008-09-24 Thread Scheper, Erik-Berndt
Hi,
 
I just noticed that IVY and IVYDE are still registered as incubator projects in 
Jira. 
See http://issues.apache.org/jira/secure/BrowseProjects.jspa.
 
Shouldn't this be changed?
 
Regards,
Erik-Berndt

Disclaimer:
This message contains information that may be privileged or confidential and is 
the property of Sogeti Nederland B.V. or its Group members. It is intended only 
for the person to whom it is addressed. If you are not the intended recipient, 
you are not authorized to read, print, retain, copy, disseminate, distribute, 
or use this message or any part thereof. If you receive this message in error, 
please notify the sender immediately and delete all copies of this message.


Re: [DISCUSS] Ivy 2.0.0-rc1 announcement

2008-09-24 Thread Xavier Hanin
On Wed, Sep 24, 2008 at 9:44 AM, Stefan Bodewig <[EMAIL PROTECTED]> wrote:

> On Tue, 23 Sep 2008, Xavier Hanin <[EMAIL PROTECTED]> wrote:
>
> > first 2.0.0 final release candidate.
>
> "first ... final" sounds awkward.  It is the "first release candidate
> for the 2.0.0 final release" or something similar.

Indeed, this is much better.

Xavier


>
>
> Stefan
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Xavier Hanin - Independent Java Consultant
BordeauxJUG co leader - http://www.bordeauxjug.org/
Blogger - http://xhab.blogspot.com/
Apache Ivy Creator - http://ant.apache.org/ivy/


Ivy SFTP resolver - java.net.MalformedURLException

2008-09-24 Thread Wszeb

Hi! 

I have such a disaster with Ivy SFTP resolver and "tag-20080924.16:47-dev.+"
revision constraint:

no cached resolved revision for
com.company#IvyPortletsCore;tag-20080924.16:47-dev.+
[ivy:resolve] no cached resolved revision for
com.company#IvyPortletsCore;tag-20080924.16:47-dev.+
[ivy:resolve]   tried
http://10.132.5.11/ivy-repos/little-john/com.company/IvyPortletsCore/tag-20080924.16:47-dev.+/ivy-tag-20080924.16:47-dev.+.xml
[ivy:resolve] CLIENT ERROR: Not Found
url=http://10.132.5.11/ivy-repos/little-john/com.company/IvyPortletsCore/tag-20080924.16:47-dev.+/ivy-tag-20080924.16:47-dev.+.xml
[ivy:resolve]   tried
http://10.132.5.11/ivy-repos/little-john/com.company/IvyPortletsCore/[revision]/ivy-[revision].xml
[ivy:resolve] problem while listing resources in
http://10.132.5.11/ivy-repos/little-john/com.company/IvyPortletsCore/ with
little-john:
[ivy:resolve]   java.net.MalformedURLException unknown protocol:
tag-20080924.15

Is it a bug or is ":" illegal in this context?

Wszebor.
-- 
View this message in context: 
http://www.nabble.com/Ivy-SFTP-resolver---java.net.MalformedURLException-tp19651441p19651441.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Ivy SFTP resolver - java.net.MalformedURLException

2008-09-24 Thread Wszeb

PS. I'm using Ivy 2.0.0-beta2. Sorry - I didn't test it with 2.0.0.rc1 yet.
-- 
View this message in context: 
http://www.nabble.com/Ivy-SFTP-resolver---java.net.MalformedURLException-tp19651441p19651532.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Removing logging from ivy

2008-09-24 Thread Ilya Sterin
I'm using ivy embedded in a library.  Because the library encapsulates
everything, we wanted to remove all logging...

Doing this...

Ivy ivy = Ivy.newInstance();
MessageLogger logger = new DefaultMessageLogger(0);
ivy.getLoggerEngine().setDefaultLogger(logger);

Removes the logging, but the transfer listeners are currently not
removable from what I can see.  Because the default transfer handler
is pushed into the transfer handlers as an anonymous inner class,
there is no way to remove it, as all remove methods requires an
instance of the transfer listener to remove it.

public void removeAllTransferListeners() {
for (TransferListener tl : listeners.getListeners(TransferListener.class)) {
removeTransferListener(tl);
}
}

I then just use...

ivy.getEventManager().removeAllTransferListeners();

which removes the transfer download progress notifications.

To be able to remove all listeners if needed.  This is a nice
solution, but I'm not sure if there is a better way to configure this.

Can this or a similar solution be added to ivy?

I'd also like to discuss refining an ivy API for external use.  I can
imagine systems using ivy to resolve deps outside of ant as we're
doing.

Thanks.

Ilya

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Ivy SFTP resolver - java.net.MalformedURLException

2008-09-24 Thread Maarten Coene
I'm a bit confused here, you talk about the SFTP resolver, but your log shows 
only http URLs?
Could you try it again with Ivy RC1, it contains some improvements for such 
kind of urls with "strange" characters.

oh and please post such kind of questions to the ivy-user mailinglist in the 
future...

Maarten




- Original Message 
From: Wszeb <[EMAIL PROTECTED]>
To: dev@ant.apache.org
Sent: Wednesday, September 24, 2008 5:28:49 PM
Subject: Ivy SFTP resolver - java.net.MalformedURLException


Hi! 

I have such a disaster with Ivy SFTP resolver and "tag-20080924.16:47-dev.+"
revision constraint:

no cached resolved revision for
com.company#IvyPortletsCore;tag-20080924.16:47-dev.+
[ivy:resolve] no cached resolved revision for
com.company#IvyPortletsCore;tag-20080924.16:47-dev.+
[ivy:resolve] tried
http://10.132.5.11/ivy-repos/little-john/com.company/IvyPortletsCore/tag-20080924.16:47-dev.+/ivy-tag-20080924.16:47-dev.+.xml
[ivy:resolve] CLIENT ERROR: Not Found
url=http://10.132.5.11/ivy-repos/little-john/com.company/IvyPortletsCore/tag-20080924.16:47-dev.+/ivy-tag-20080924.16:47-dev.+.xml
[ivy:resolve] tried
http://10.132.5.11/ivy-repos/little-john/com.company/IvyPortletsCore/[revision]/ivy-[revision].xml
[ivy:resolve] problem while listing resources in
http://10.132.5.11/ivy-repos/little-john/com.company/IvyPortletsCore/ with
little-john:
[ivy:resolve]  java.net.MalformedURLException unknown protocol:
tag-20080924.15

Is it a bug or is ":" illegal in this context?

Wszebor.
-- 
View this message in context: 
http://www.nabble.com/Ivy-SFTP-resolver---java.net.MalformedURLException-tp19651441p19651441.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problems with Ant on TeamCity

2008-09-24 Thread Jan.Materne
There are problems mit the tests on the CI server
http://teamcity.jetbrains.com/viewLog.html?buildId=14126&buildTypeId=bt1
29&tab=buildLog

[junit] org.apache.tools.ant.ExecutorTest (<1s)
   [org.apache.tools.ant.ExecutorTest] testIgnoreDependenciesExecutor
(<1s)
   [testIgnoreDependenciesExecutor] org.apache.tools.ant.BuildException:
Unable to obtain a Target Executor instance.
   [testIgnoreDependenciesExecutor] Unable to obtain a Target Executor
instance.
at org.apache.tools.ant.Project.getExecutor(Project.java:1163)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.ExecutorTest.testIgnoreDependenciesExecutor(Executo
rTest.java:90)


   [org.apache.tools.ant.ExecutorTest] testIgnoreDependenciesFailure
(<1s)
   [testIgnoreDependenciesFailure] org.apache.tools.ant.BuildException:
Unable to obtain a Target Executor instance.
   [testIgnoreDependenciesFailure] Unable to obtain a Target Executor
instance.
at org.apache.tools.ant.Project.getExecutor(Project.java:1163)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.ExecutorTest.testIgnoreDependenciesFailure(Executor
Test.java:116)


   [org.apache.tools.ant.ExecutorTest] testKeepGoingIgnoreDependencies
(<1s)
   [testKeepGoingIgnoreDependencies]
junit.framework.AssertionFailedError
   [testKeepGoingIgnoreDependencies] 
 at
org.apache.tools.ant.ExecutorTest.testKeepGoingIgnoreDependencies(Execut
orTest.java:147)


[junit] Test org.apache.tools.ant.ExecutorTest FAILED
[junit] org.apache.tools.ant.taskdefs.AntTest (1s)
[org.apache.tools.ant.taskdefs.AntTest] testAntCoreLib (<1s)
[testAntCoreLib] junit.framework.AssertionFailedError: expecting log to
contain "ant.jar" log was "${ant.core.lib}"
[testAntCoreLib] junit.framework.AssertionFailedError: expecting log to
contain "ant.jar" log was "${ant.core.lib}"
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at
org.apache.tools.ant.BuildFileTest.assertLogContaining(BuildFileTest.jav
a:101)
at
org.apache.tools.ant.BuildFileTest.expectLogContaining(BuildFileTest.jav
a:123)
at
org.apache.tools.ant.taskdefs.AntTest.testAntCoreLib(AntTest.java:316)

...


These tests passed on my machine
Testsuite: org.apache.tools.ant.ExecutorTest
Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0,266 sec

Testsuite: org.apache.tools.ant.taskdefs.AntTest
Tests run: 32, Failures: 0, Errors: 0, Time elapsed: 1,015 sec


Some ideas?


Jan