Re: [VOTE] Ivy 2.0.0-rc1 Release

2008-09-17 Thread Xavier Hanin
On Tue, Sep 16, 2008 at 10:38 PM, Xavier Hanin <[EMAIL PROTECTED]>wrote:

> It seems IVY-905 is a blocking issue in this first attempt for rc1, so I'll
> have to make a new attempt for rc1 with Maarten's fix. We'll try to find a
> fix for the cygwin related issues too in the same time before making this
> new attempt. I should cast a new vote tomorrow, so wait for it before
> reviewing.
>
Ok, I think maarten and I analysis yesterday evening was made too quickly.
the fix for IVY-905 Maarten checked in is only a fix for the Configurator
class, which has no impact on how Ivy behave. Indeed, the fix impact the
FileResolver used by default in Configurator, but the only place where
Configurator is used in Ivy is in XmlSettingsParser, where the file resolver
is immediately set to another FileResolver implementation, which works
properly (except maybe on cygwin when you use unix like paths, but it seems
Java is not aware of the cygwin environment).

Thus I don't think this require a new attempt for 2.0.0-rc1, we can go on
with the binaries I've uploaded yesterday and on which I already cast a
vote.

That being said, this discussion has added noise to the vote thread, so if
somebody think we'd better start a new vote (loosing one day for the final
decision), let me know as soon as possible.

Xavier


>
> Xavier
>
> On Tue, Sep 16, 2008 at 9:56 AM, Xavier Hanin <[EMAIL PROTECTED]>wrote:
>
>> I have built a release candidate for Ivy 2.0.0-rc1
>>
>> You can download it from this URL:
>> http://people.apache.org/~xavier/ivy/staging/2.0.0-rc1/
>>
>> A maven 2 staging repo with this release is available here:
>> http://people.apache.org/~xavier/m2-staging-repo/
>> A staging eclipse update site with this release is available here:
>> http://people.apache.org/~xavier/updatesite-staging/
>> The bundle version is 2.0.0.cr1.
>>
>> Do you vote for the release of these binaries?
>>
>> [ ] Yes
>> [ ] No
>>
>> Regards,
>>
>> Xavier, Ivy 2.0.0-rc1 release manager
>>
>
>
>
> --
> 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/
>



-- 
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/


Fix for IVY-905

2008-09-17 Thread Maarten Coene
Xavier,

you've merged that fix into the 2.0.x branch. Does this mean it will be 
included in the 2.0.0 final release?

Maarten




- Original Message 
From: Xavier Hanin <[EMAIL PROTECTED]>
To: Ant Developers List 
Sent: Wednesday, September 17, 2008 9:03:06 AM
Subject: Re: [VOTE] Ivy 2.0.0-rc1 Release

On Tue, Sep 16, 2008 at 10:38 PM, Xavier Hanin <[EMAIL PROTECTED]>wrote:

> It seems IVY-905 is a blocking issue in this first attempt for rc1, so I'll
> have to make a new attempt for rc1 with Maarten's fix. We'll try to find a
> fix for the cygwin related issues too in the same time before making this
> new attempt. I should cast a new vote tomorrow, so wait for it before
> reviewing.
>
Ok, I think maarten and I analysis yesterday evening was made too quickly.
the fix for IVY-905 Maarten checked in is only a fix for the Configurator
class, which has no impact on how Ivy behave. Indeed, the fix impact the
FileResolver used by default in Configurator, but the only place where
Configurator is used in Ivy is in XmlSettingsParser, where the file resolver
is immediately set to another FileResolver implementation, which works
properly (except maybe on cygwin when you use unix like paths, but it seems
Java is not aware of the cygwin environment).

Thus I don't think this require a new attempt for 2.0.0-rc1, we can go on
with the binaries I've uploaded yesterday and on which I already cast a
vote.

That being said, this discussion has added noise to the vote thread, so if
somebody think we'd better start a new vote (loosing one day for the final
decision), let me know as soon as possible.

Xavier


>
> Xavier
>
> On Tue, Sep 16, 2008 at 9:56 AM, Xavier Hanin <[EMAIL PROTECTED]>wrote:
>
>> I have built a release candidate for Ivy 2.0.0-rc1
>>
>> You can download it from this URL:
>> http://people.apache.org/~xavier/ivy/staging/2.0.0-rc1/
>>
>> A maven 2 staging repo with this release is available here:
>> http://people.apache.org/~xavier/m2-staging-repo/
>> A staging eclipse update site with this release is available here:
>> http://people.apache.org/~xavier/updatesite-staging/
>> The bundle version is 2.0.0.cr1.
>>
>> Do you vote for the release of these binaries?
>>
>> [ ] Yes
>> [ ] No
>>
>> Regards,
>>
>> Xavier, Ivy 2.0.0-rc1 release manager
>>
>
>
>
> --
> 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/
>



-- 
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/



  

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



Re: How to automize Ant

2008-09-17 Thread Jan K

How should i configure activemq.bat file in Apache ant.I am using Ubuntu.

Thorsten Scherler-3 wrote:
> 
> On Mon, 2008-09-01 at 03:17 -0700, Jan K wrote:
>> Hi,
>> Thanks for your quick response.I dont know any of these stuffs.Can you
>> please elaborate me in more so that it will be of a great help.Can you
>> please put in points as what should i do and how it can be done.Looking
>> forward for your reply.
> 
> If you do not have any clue about svn/cvs hooks then to set up
> everything by hand is quite a lot. How to write a svn hook that is best
> covered in the svn manual. http://svnbook.red-bean.com/
> 
> However I strongly recommend one of the Continuous Integration tools
> that are already out there.
> 
> Like said have a look at http://continuum.apache.org/,
> http://cruisecontrol.sourceforge.net/ and https://hudson.dev.java.net/.
> 
> Play around with them and choose the one that best fits your needs.
> 
> salu2
> 
>> 
>> 
>> 
>> Thorsten Scherler-3 wrote:
>> > 
>> > On Mon, 2008-09-01 at 02:40 -0700, Jan K wrote:
>> >> Hi,
>> >> 
>> >> I am new to apache ant.I just know for what purpose we use ant.Now i
>> need
>> >> to 
>> >> automize my project with ant.My requirement is Whenever i checkin my
>> >> code,the build and deploy  should be done automatically.
>> > 
>> > Well there are a couple of our of the box tools for that
>> > http://en.wikipedia.org/wiki/Continuous_Integration
>> > 
>> > Here on apache there are http://continuum.apache.org/ and
>> > http://gump.apache.org/ but the list is long as you may see from the
>> > websites above.
>> > 
>> > Basically what you need to do (the poor men approach) is create a
>> > post-commit hook in your svn server that triggers the build. 
>> > 
>> > The rest is done by your build script.
>> > 
>> > HTH
>> > 
>> > salu2
>> > 
>> >> Also a notification
>> >> should be send to QA team.Also the build and deploy should be carried
>> out
>> >> automatically in my onsite server also.This should be done for all the
>> >> java
>> >> projects running in our company.How can i do this,Please help
>> >> me.Please.Thanks in advance.
>> > -- 
>> > Thorsten Scherler
>> thorsten.at.apache.org
>> > Open Source Java  consulting, training and
>> solutions
>> > 
>> > 
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> > 
>> > 
>> > 
>> 
> -- 
> Thorsten Scherler thorsten.at.apache.org
> Open Source Java  consulting, training and solutions
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-automize-Ant-tp19251721p19526638.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: Fix for IVY-905

2008-09-17 Thread Xavier Hanin
On Wed, Sep 17, 2008 at 9:13 AM, Maarten Coene <[EMAIL PROTECTED]>wrote:

> Xavier,
>
> you've merged that fix into the 2.0.x branch. Does this mean it will be
> included in the 2.0.0 final release?

It means it will be included in next 2.0.x release... So if we need a new rc
before releasing 2.0.0 final, yes, it will be included. If we don't need
one, we'll promote rc1 to final, and thus will start the 2.0.0 final release
branch from the 2.0.0-rc1 branch, on which I've not merged the fix.

Here are the rules I think we can setup on where commits can go:
- if the commit is an improvement or new feature, not deeply impacting
current architecture, commit on trunk.
- if the commit is a bug fix with no potential side effect (like IVY-905),
commit on trunk and merge on 2.0.x
- if the commit is a bug fix with potential side effect, commit on trunk,
discuss the potential side effects, and merge on 2.0.x if we agree it's
worth it

With this strategy 2.0.x branch should go straight on a stabilization road
only, while trunk let us still evolve on trunk toward what will probably be
2.1.

If somebody wants to make changes with deep impact on Ivy architecture, I
think we'd need to discuss it first, and see if creating a 3.0.x branch
would be worth it. But I think we should better focus on 2.x for now.


Does this plan sound ok for you?

Xavier



>
>
> Maarten
>
>
>
>
> - Original Message 
> From: Xavier Hanin <[EMAIL PROTECTED]>
> To: Ant Developers List 
> Sent: Wednesday, September 17, 2008 9:03:06 AM
> Subject: Re: [VOTE] Ivy 2.0.0-rc1 Release
>
> On Tue, Sep 16, 2008 at 10:38 PM, Xavier Hanin <[EMAIL PROTECTED]
> >wrote:
>
> > It seems IVY-905 is a blocking issue in this first attempt for rc1, so
> I'll
> > have to make a new attempt for rc1 with Maarten's fix. We'll try to find
> a
> > fix for the cygwin related issues too in the same time before making this
> > new attempt. I should cast a new vote tomorrow, so wait for it before
> > reviewing.
> >
> Ok, I think maarten and I analysis yesterday evening was made too quickly.
> the fix for IVY-905 Maarten checked in is only a fix for the Configurator
> class, which has no impact on how Ivy behave. Indeed, the fix impact the
> FileResolver used by default in Configurator, but the only place where
> Configurator is used in Ivy is in XmlSettingsParser, where the file
> resolver
> is immediately set to another FileResolver implementation, which works
> properly (except maybe on cygwin when you use unix like paths, but it seems
> Java is not aware of the cygwin environment).
>
> Thus I don't think this require a new attempt for 2.0.0-rc1, we can go on
> with the binaries I've uploaded yesterday and on which I already cast a
> vote.
>
> That being said, this discussion has added noise to the vote thread, so if
> somebody think we'd better start a new vote (loosing one day for the final
> decision), let me know as soon as possible.
>
> Xavier
>
>
> >
> > Xavier
> >
> > On Tue, Sep 16, 2008 at 9:56 AM, Xavier Hanin <[EMAIL PROTECTED]
> >wrote:
> >
> >> I have built a release candidate for Ivy 2.0.0-rc1
> >>
> >> You can download it from this URL:
> >> http://people.apache.org/~xavier/ivy/staging/2.0.0-rc1/
> >>
> >> A maven 2 staging repo with this release is available here:
> >> http://people.apache.org/~xavier/m2-staging-repo/
> >> A staging eclipse update site with this release is available here:
> >> http://people.apache.org/~xavier/updatesite-staging/
> >> The bundle version is 2.0.0.cr1.
> >>
> >> Do you vote for the release of these binaries?
> >>
> >> [ ] Yes
> >> [ ] No
> >>
> >> Regards,
> >>
> >> Xavier, Ivy 2.0.0-rc1 release manager
> >>
> >
> >
> >
> > --
> > 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/
> >
>
>
>
> --
> 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/
>
>
>
>
>
> -
> 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/


CI server

2008-09-17 Thread Jan.Materne
Xavier will contact Teamcity if they would add Ivy to the list of
observed+built projects.
Should we ask for adding Ant too (after Xaviers response)?

Originally I thought adding some antlibs would also be good, but there
is too less activity.

WDYT?


Jan 

> >>> Gradle is hosted at JetBrain's teamcity server:
http://teamcity.jetbrains.com
> >>>
> >>>  I really like Teamcity and the hosting is very reliable. They
only host
> >>> selected projects. Considering the popularity of Ivy and that they
use Ivy
> >>> under the hood in Teamcity (at least I think so), I suppose that
should be
> >>> no problem. Why not hosting the CI build of Ivy there?
>
> Indeed, it works properly for groovy, and the service seems to be
pretty
> good. Do you know who I can contact to get our build setup on their
> server?
>
Yes, I don't like administration, that's why I'd rather go with a
commercially hosted solution like teamcity. I'll send an e-mail to see
how
it goes.

Xavier


> I like the resources listings like
> * Build results overview
>
http://teamcity.jetbrains.com/viewLog.html?tab=artifacts&buildTypeId=bt1
09&buildId=13881
> * JUnit results overview
>
http://teamcity.jetbrains.com/repository/download/bt109/13881:id/junit/i
ndex.html
>
> Jan

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



RE: Ivy 2.0.0-rc1 Release

2008-09-17 Thread Scheper, Erik-Berndt
I have an issue with the proposed release. 
See https://issues.apache.org/jira/browse/IVY-907 for more details.
 
Regards,
Erik-Berndt



Van: Xavier Hanin [mailto:[EMAIL PROTECTED]
Verzonden: di 16-9-2008 9:55
Aan: Ant Developers List
Onderwerp: Ivy 2.0.0-rc1 Release



I have built a release candidate for Ivy 2.0.0-rc1

You can download it from this URL:
http://people.apache.org/~xavier/ivy/staging/2.0.0-rc1/

A maven 2 staging repo with this release is available here:
http://people.apache.org/~xavier/m2-staging-repo/
A staging eclipse update site with this release is available here:
http://people.apache.org/~xavier/updatesite-staging/
The bundle version is 2.0.0.cr1.

Do you vote for the release of these binaries?

[ ] Yes
[ ] No

Regards,

Xavier, Ivy 2.0.0-rc1 release manager



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.

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

RE: Ivy 2.0.0-rc1 Release

2008-09-17 Thread Scheper, Erik-Berndt
After some investigation, I believe that this bug was introduced on September 
2, with the fix for IVY-387. 
I have added some additional comments to the JIRA issue.
 
Erik-Berndt



Van: Scheper, Erik-Berndt [mailto:[EMAIL PROTECTED]
Verzonden: wo 17-9-2008 11:19
Aan: Ant Developers List
Onderwerp: RE: Ivy 2.0.0-rc1 Release



I have an issue with the proposed release.
See https://issues.apache.org/jira/browse/IVY-907 for more details.

Regards,
Erik-Berndt



Van: Xavier Hanin [mailto:[EMAIL PROTECTED]
Verzonden: di 16-9-2008 9:55
Aan: Ant Developers List
Onderwerp: Ivy 2.0.0-rc1 Release



I have built a release candidate for Ivy 2.0.0-rc1

You can download it from this URL:
http://people.apache.org/~xavier/ivy/staging/2.0.0-rc1/

A maven 2 staging repo with this release is available here:
http://people.apache.org/~xavier/m2-staging-repo/
A staging eclipse update site with this release is available here:
http://people.apache.org/~xavier/updatesite-staging/
The bundle version is 2.0.0.cr1.

Do you vote for the release of these binaries?

[ ] Yes
[ ] No

Regards,

Xavier, Ivy 2.0.0-rc1 release manager



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.




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.

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

Re: CI server

2008-09-17 Thread Xavier Hanin
On Wed, Sep 17, 2008 at 10:46 AM, <[EMAIL PROTECTED]> wrote:

> Xavier will contact Teamcity if they would add Ivy to the list of
> observed+built projects.

Ivy is now built on their server:
http://teamcity.jetbrains.com/viewType.html?buildTypeId=bt125

They've been very responsive, and setup the build themselves. They only ask
to mention that the build is provided by jetbrains, if possible. I've asked
to add Ant too, they are ok, we just have to ask.

Xavier


> Should we ask for adding Ant too (after Xaviers response)?
>
> Originally I thought adding some antlibs would also be good, but there
> is too less activity.
>
> WDYT?
>
>
> Jan
>
> > >>> Gradle is hosted at JetBrain's teamcity server:
> http://teamcity.jetbrains.com
> > >>>
> > >>>  I really like Teamcity and the hosting is very reliable. They
> only host
> > >>> selected projects. Considering the popularity of Ivy and that they
> use Ivy
> > >>> under the hood in Teamcity (at least I think so), I suppose that
> should be
> > >>> no problem. Why not hosting the CI build of Ivy there?
> >
> > Indeed, it works properly for groovy, and the service seems to be
> pretty
> > good. Do you know who I can contact to get our build setup on their
> > server?
> >
> Yes, I don't like administration, that's why I'd rather go with a
> commercially hosted solution like teamcity. I'll send an e-mail to see
> how
> it goes.
>
> Xavier
>
>
> > I like the resources listings like
> > * Build results overview
> >
> http://teamcity.jetbrains.com/viewLog.html?tab=artifacts&buildTypeId=bt1
> 09&buildId=13881
> > * JUnit results overview
> >
> http://teamcity.jetbrains.com/repository/download/bt109/13881:id/junit/i
> ndex.html
> >
> > Jan
>
> -
> 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/


parallel junit tests

2008-09-17 Thread Guilherme Silveira
Hello there guys,

Ive read two threads on parallelizing junit tests on this list and a
lot of info on the web itself.

Ill point out our current problems with  tag and
parallel-junit project and then tell about the patch we have created
for ant 1.7.1 which allows parallelized running of perTest tests.

The parallel tag surely works fine, but I have to decide which tests
will run in each thread, therefore if some thread stops in, lets say 3
minutes, the other threads might run up to 10 minutes. If the first
thread did not stop at all, it could have run the tests designed for
the second thread. Therefore parallel surely works, but doesnt work as
a thread pool (of course, its not its intention at all)... so its not
the best solution for running JUnit tests in parallel.

So lets think about parallel-junit project.
The issue occurs with integration tests which use Selenium as its main
tool. As we do not want to open a browser window for each test method,
the Selenium reference is saved as a static reference in our BaseTest
class. (Not so cute but this is the only solution  - @BeforeClass
initilizing it, @AfterClass destroying it - appart from ThreadLocal
issues).
If I run all tests in the same VM and use Parallel JUnit TestSuite, it
will give me ackward problems due to mutual access to the Selenium
static variable... so I had to run it in differente VM's but who
decides which tests run in which VM? Ant... not Parallell JUnit...

Therefore our solution was to simply replace one method (and a few
minor methods - which can be refactored, of course) to allow JUnitTask
to accept the number of threads to run in parallel and use workers to
delegate the testing to.
The whole solution took less than 50 lines I believe and work with
perTest mode just fine.

It works fine, running all tests in parallel. Who can benefit from it?
Those who run their tests in multi-core machines can simply change
their build.xml file by adding an attribute and thats it.

What do you think? Oppinions? Suggestions? Problems? Is this a desired
feature for JUnitTask? Should I send in the patch to the list?

Regards

Guilherme Silveira

-- 
Guilherme Silveira
--
[EMAIL PROTECTED]
Caelum - Ensino e Soluções em Java
www.caelum.com.br

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



Re: How to automize Ant

2008-09-17 Thread Jan K

I have Apache Activemq.bat file for a mobile application.I need to configure
this file in Apache Ant build.xml file.I am using linux box.can u help me.

Jan K wrote:
> 
> Hi,
> 
> I am new to apache ant.I just know for what purpose we use ant.Now i need
> to  automize my project with ant.My requirement is Whenever i checkin my
> code,the build and deploy  should be done automatically.Also a
> notification should be send to QA team.Also the build and deploy should be
> carried out automatically in my onsite server also.This should be done for
> all the java projects running in our company.How can i do this,Please help
> me.Please.Thanks in advance.
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-automize-Ant-tp19251721p19546615.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]



How to configure batch file in build.xml

2008-09-17 Thread Jan K

I am new to ant.I need to configure batch file in Ant.I have Apache ActiveMq
installed for my mobile application.I need to include the activemq.bat file
in build.xml.Can you help me how to do this.I tried with exec command.
 
 
   
  




   
  

Let me know what is wrong?
-- 
View this message in context: 
http://www.nabble.com/How-to-configure-batch-file-in-build.xml-tp19547045p19547045.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]