Re: Integration of antunit in junit
OK, let's go for conditional compilation. I have dig deeper, and it might be possible to compile enterily the sources in a 1.4 format. You will just need to have a compiler able to read 1.5 classes (I guess junit 4 classes are in a 1.5 class format). But I think the antunit adapter might be plain old 1.4 classes. Also, probably one unit test will require 1.5 annotation. If that's the case, I will make it conditional also. Gilles Scokart 2009/1/28 Stefan Bodewig : > On 2009-01-27, Gilles Scokart wrote: > >> I finished a first step. I have refactored AntUnit task in order to >> extract the logic of running the antunit tests from the logic related >> to the interaction with the container project. Feedback are welcome. > > I like it. > >> I will now clean and check-in my junit runners. But this will have >> some impact. The first one is light. For a junit3 adapter, I will >> have to add Junit dependency. I plan to put it in a specific >> package, and use junit only from this package. I guess this one is >> OK. > > Yes, just make it compile conditionally. > > >> The second one is bigger. For junit4 adapter, I will have move to >> java 1.5. Is there an objection to move the entire antunit library to >> java 1.5? Or would you preffer to only compile a junit4 package with >> java 1.5 ? > > I'd prefer to keep AntUnit at the 1.4 level as long as the only reason > is to provide a JUnit4 adapter - there are several JDK 1.4 only cases > (like running inside Ant) that we should support. > > IMHO, put it into a separate package and make it compile > conditionally. > > Stefan > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Integration of antunit in junit
On 2009-01-27, Gilles Scokart wrote: > I finished a first step. I have refactored AntUnit task in order to > extract the logic of running the antunit tests from the logic related > to the interaction with the container project. Feedback are welcome. I like it. > I will now clean and check-in my junit runners. But this will have > some impact. The first one is light. For a junit3 adapter, I will > have to add Junit dependency. I plan to put it in a specific > package, and use junit only from this package. I guess this one is > OK. Yes, just make it compile conditionally. > The second one is bigger. For junit4 adapter, I will have move to > java 1.5. Is there an objection to move the entire antunit library to > java 1.5? Or would you preffer to only compile a junit4 package with > java 1.5 ? I'd prefer to keep AntUnit at the 1.4 level as long as the only reason is to provide a JUnit4 adapter - there are several JDK 1.4 only cases (like running inside Ant) that we should support. IMHO, put it into a separate package and make it compile conditionally. Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: buildlist/subant in parallel
We don't use Ivy, but we do have our own set of extensions that has some similar concepts in terms of multiple projects with dependencies between them. We use multithreaded build dispatching based on a dependency graph & let me tell you: it's not an easy thing to get right. I've had to make several changes to core Ant classes to get this stuff working properly. Of particular concern is logging: your logger must be able to deal with the fact that you have projects running in parallel or your logs will be an incomprehensible jumble. Not trying to discourage anyone from giving this a go, but it's certainly not for the faint hearted. Jeffrey E. (Jeff) Care ca...@us.ibm.com IBM WebSphere Application Server WAS Release Engineering Alex Iliev wrote on 01/27/2009 04:51:44 PM: > [image removed] > > buildlist/subant in parallel > > Alex Iliev > > to: > > dev > > 01/27/2009 04:53 PM > > Please respond to "Ant Developers List" > > I was thinking that the combination of ivy:buildlist and subant is a > perfect candidate for parallelization: the dependency graph tells us > exactly which Ivy modules can be built in parallel. I'd be interested > in implementing some such functionality. Any thoughts from the list on > whether something like this exists or is in progress? > > Cheers > > alex > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org >
Re: buildlist/subant in parallel
Hi Alex, I am not aware of anything in progress right now, but I think the idea is worth a shot. +1 from me :-) Cheers, Petar 2009/1/27 Alex Iliev > I was thinking that the combination of ivy:buildlist and subant is a > perfect candidate for parallelization: the dependency graph tells us > exactly which Ivy modules can be built in parallel. I'd be interested > in implementing some such functionality. Any thoughts from the list on > whether something like this exists or is in progress? > > Cheers > > alex > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > -- Regards, Petar! Karlovo, Bulgaria. - - - - - - - - | Author @ Manning Publications. | Senior Solution Architect @ Unic | BGJUG-Bulgarian Java User Group Leader. | Apache Maven Developer. | Apache Jakarta PMC member. | Jakarta Cactus Lead Developer. | Blogger: http://weblogs.java.net/blog/paranoiabla/ - - - - - - - - Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
Re: buildlist/subant in parallel
Hello Alex, It is possible to introduce parallelism with ivy:buildlist and subant. I have not done it in this way explicitly. Instead we are using a customized version of CruiseControl that is able to sort out the projects using their ivy descriptors and then we run the CruiseControl builds in a couple of threads so some of them are built in parallel. It is not bullet proof method, however. Regards Rambius Tangra Mega Rock: http://www.radiotangra.com/ --- On Tue, 1/27/09, Alex Iliev wrote: > From: Alex Iliev > Subject: buildlist/subant in parallel > To: dev@ant.apache.org > Date: Tuesday, January 27, 2009, 11:51 PM > I was thinking that the combination of ivy:buildlist and > subant is a > perfect candidate for parallelization: the dependency graph > tells us > exactly which Ivy modules can be built in parallel. I'd > be interested > in implementing some such functionality. Any thoughts from > the list on > whether something like this exists or is in progress? > > Cheers > > alex > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
buildlist/subant in parallel
I was thinking that the combination of ivy:buildlist and subant is a perfect candidate for parallelization: the dependency graph tells us exactly which Ivy modules can be built in parallel. I'd be interested in implementing some such functionality. Any thoughts from the list on whether something like this exists or is in progress? Cheers alex - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Anybody planning to attend ApacheCon in Amsterdam late March?
I'll for sure be there :-) 2009/1/27 Kevin Jackson > Hi, > > > I'm trying to set my priorities for ApacheCon (looks as if I could be > > there for a few days). In order to make anything useful out of the > > hackathon (apart from having a day for OSS hacking) I'd need anybody > > to partner with - so would anybody be there and if so, is there > > anything you'd like to work on? > > I'm hoping to be there - depends on the priorities of the company. I'd > be happy to work on anything - just working on Ant for a change would > be good! > > > As a sidenote, Junming Zhao (who I've met shortly last year) is giving > > a talk on functional testing with AntUnit Friday morning - sounds > > promising. > > I'd be very interested in this > > Kev > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > -- Regards, Petar! Karlovo, Bulgaria. - - - - - - - - | Author @ Manning Publications. | Senior Solution Architect @ Unic | BGJUG-Bulgarian Java User Group Leader. | Apache Maven Developer. | Apache Jakarta PMC member. | Jakarta Cactus Lead Developer. | Blogger: http://weblogs.java.net/blog/paranoiabla/ - - - - - - - - Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
Re: Integration of antunit in junit
I finished a first step. I have refactored AntUnit task in order to extract the logic of running the antunit tests from the logic related to the interaction with the container project. Feedback are welcome. I will now clean and check-in my junit runners. But this will have some impact. The first one is light. For a junit3 adapter, I will have to add Junit dependency. I plan to put it in a specific package, and use junit only from this package. I guess this one is OK. The second one is bigger. For junit4 adapter, I will have move to java 1.5. Is there an objection to move the entire antunit library to java 1.5? Or would you preffer to only compile a junit4 package with java 1.5 ? I'm +1 to migrate antunit completely to 1.5 (I know, again the same discussion...). Gilles Scokart 2009/1/19 Kevin Jackson : >>> I already some code prepared to support this. The adaptation layer : >> >>> public class CompilePath extends TestCase { >> >>> public static TestSuite suite() { >>> File script = new >>> File("src/test/java/net/sourceforge/deco/ant/test-compilepath.xml"); >>> return new AntUnitSuite(script); >>> } >> >> Looks good. >> >>> Before check-in the code, I would like to have a feed back to know if >>> I'm the only one to find it useful, and if that doesn't contradict >>> with the current antunit philosophy. >> >> You are talking about adding it to AntUnit, right? >> >> +1 from me. > > +1 - looks quite handy - at the moment I'm a shell luddite with > antunit and this would be nice to try in IntelliJ and Eclipse > > Kev > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: AW: Announcing Ivy 2.0.0 release on Ant homepage
I've updated the announcement. Thanks to your instructions :-) (although the Jakarta site part didn't work for me, I had do download velocity) Maarten - Original Message From: "jan.mate...@rzf.fin-nrw.de" To: dev@ant.apache.org Sent: Friday, January 23, 2009 10:30:50 AM Subject: AW: Announcing Ivy 2.0.0 release on Ant homepage 1. update on the local svn copy ;) 2. update the antnews.xml a) not sure about updating the s b) add a new as (new) first in the similar to the other 3. regenerate the site - Use Ant for generation ant -f docs.xml -Dsite.dir=%JAKARTA_SITE% - You need Anakia for that. On See http://jakarta.apache.org/site/jakarta-site2.html 4. check in the antnews.xml and antnews.html 5. wait until the jobs have picked up the modifications and published them ... Jan p.s. I prepared the initial announcement, but you want to add more I think ;) >-Ursprüngliche Nachricht- >Von: Maarten Coene [mailto:maarten_co...@yahoo.com] >Gesendet: Freitag, 23. Januar 2009 00:08 >An: ant-dev >Betreff: Announcing Ivy 2.0.0 release on Ant homepage > >How do I mention the Ivy 2.0.0 release on the ant homepage? >I guess I have to add it to >http://svn.apache.org/repos/asf/ant/core/trunk/xdocs/antnews.xml ? > >But what do I have to do next? > >Maarten > > > > > >- >To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org >For additional commands, e-mail: dev-h...@ant.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: [VOTE] Ivy 2.0.0 Release (2nd attempt)
I know, I come really too late. I wanted to test it at least once, and I didn't found the time to do it earlier. Anyway, for the records, you have my +1. Thanks a lot Maarten to have pushed this release out. Gilles Scokart 2009/1/20 rednix : > > > > Maarten Coene wrote: >> >> I have built a new release candidate for Ivy 2.0.0. >> The only difference with the previous attempt is that the Ivy bundle >> version is now "2.0.0.final". >> >> You can download it from this URL: >> http://people.apache.org/~maartenc/ivy/staging/2.0.0/ >> >> A maven 2 staging repo with this release is available here: >> http://people.apache.org/~maartenc/m2-staging-repo/ >> >> A staging eclipse update site with this release is available here: >> http://people.apache.org/~maartenc/updatesite-staging/ >> >> Do you vote for the release of these binaries? >> >> [ ] Yes >> [ ] No >> >> Regards, >> >> Maarten Coene, Ivy 2.0.0 release manager >> >> >> >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org >> For additional commands, e-mail: dev-h...@ant.apache.org >> >> >> > > +1 !! > -- > View this message in context: > http://www.nabble.com/-VOTE--Ivy-2.0.0-Release-%282nd-attempt%29-tp21362781p21559057.html > Sent from the Ant - Dev mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: IvyDE on Hudson
On 2009-01-27, Nicolas Lalevée wrote: > I have just added a note to make it explicit in IvyDE download page. Many thanks Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: IvyDE on Hudson
On mardi 27 janvier 2009 12:37:35 Stefan Bodewig wrote: > On 2009-01-27, Nicolas Lalevée wrote: > > And I have also make it generate a simple updatesite with the last IvyDE > > build. So for people interested to test the latest trunk, you can > > configure your Eclipse to use that updatesite URL: > > http://hudson.zones.apache.org/hudson/view/Ant/job/IvyDE/lastSuccessfulBu > >ild/artifact/trunk/updatesite > > Cool. > > Please make sure that every place that links to it clearly states that > it this provides a developer only test snapshot that is not be > considered ready for users or even something like an official release. > > The rule of thumb here is that if you use the snapshot you must be > able to come to the dev list and explain the problem - not the user > list. If your knowledge of Ivy and/or Java doesn't get you far > enough, then these snapshots are not for you. Sure. I have just added a note to make it explicit in IvyDE download page. Nicolas - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Anybody planning to attend ApacheCon in Amsterdam late March?
Hi, > I'm trying to set my priorities for ApacheCon (looks as if I could be > there for a few days). In order to make anything useful out of the > hackathon (apart from having a day for OSS hacking) I'd need anybody > to partner with - so would anybody be there and if so, is there > anything you'd like to work on? I'm hoping to be there - depends on the priorities of the company. I'd be happy to work on anything - just working on Ant for a change would be good! > As a sidenote, Junming Zhao (who I've met shortly last year) is giving > a talk on functional testing with AntUnit Friday morning - sounds > promising. I'd be very interested in this Kev - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Anybody planning to attend ApacheCon in Amsterdam late March?
Hi all, I'm trying to set my priorities for ApacheCon (looks as if I could be there for a few days). In order to make anything useful out of the hackathon (apart from having a day for OSS hacking) I'd need anybody to partner with - so would anybody be there and if so, is there anything you'd like to work on? As a sidenote, Junming Zhao (who I've met shortly last year) is giving a talk on functional testing with AntUnit Friday morning - sounds promising. Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: IvyDE on Hudson
On 2009-01-27, Nicolas Lalevée wrote: > And I have also make it generate a simple updatesite with the last IvyDE > build. So for people interested to test the latest trunk, you can configure > your Eclipse to use that updatesite URL: > http://hudson.zones.apache.org/hudson/view/Ant/job/IvyDE/lastSuccessfulBuild/artifact/trunk/updatesite Cool. Please make sure that every place that links to it clearly states that it this provides a developer only test snapshot that is not be considered ready for users or even something like an official release. The rule of thumb here is that if you use the snapshot you must be able to come to the dev list and explain the problem - not the user list. If your knowledge of Ivy and/or Java doesn't get you far enough, then these snapshots are not for you. Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: IvyDE on Hudson
On Tue, Jan 27, 2009 at 11:03 AM, Nicolas Lalevée < nicolas.lale...@hibnet.org> wrote: > Hi all, > > I have setup the build of IvyDE on the ASF's Hudson: > http://hudson.zones.apache.org/hudson/view/Ant/job/IvyDE > So build issues will be reported to ant-notification@ > > And I have also make it generate a simple updatesite with the last IvyDE > build. So for people interested to test the latest trunk, you can configure > your Eclipse to use that updatesite URL: > > http://hudson.zones.apache.org/hudson/view/Ant/job/IvyDE/lastSuccessfulBuild/artifact/trunk/updatesite > Well done! It will ease testing of latest features, really nice! Xavier > > Nicolas > > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > -- Xavier Hanin - 4SH France BordeauxJUG co leader - http://www.bordeauxjug.org/ Blogger - http://xhab.blogspot.com/ Apache Ivy Creator - http://ant.apache.org/ivy/
IvyDE on Hudson
Hi all, I have setup the build of IvyDE on the ASF's Hudson: http://hudson.zones.apache.org/hudson/view/Ant/job/IvyDE So build issues will be reported to ant-notification@ And I have also make it generate a simple updatesite with the last IvyDE build. So for people interested to test the latest trunk, you can configure your Eclipse to use that updatesite URL: http://hudson.zones.apache.org/hudson/view/Ant/job/IvyDE/lastSuccessfulBuild/artifact/trunk/updatesite Nicolas - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org