Re: Building continuum
Well good news. I got the latest sources and ran a build this morning, and it built successfully. On 1/3/07, Jesse McConnell <[EMAIL PROTECTED]> wrote: well, for whats it worth I am pretty sure that if a developer ever gets a reproducible way to get these failures it will be fixed...but without any way to reproduce it then its tough to diagnose. on that vein though, if someone with that kinda problem where to say, hop on irc and make them selves available to do some somewhat guided bug isolation then we might get somewhere, rather like how your problem was fixed wendy, in that particular instance we had found a bug/unintended feature in maven trunk :) jesse On 1/2/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 1/2/07, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: > > It builds fine for me. On a lighter note, I find it most amusing that > > -Dmaven.test.skip=true is mentioned as a way to move forward on a list > > about a continuous integration project. > > > > Cheers, > > Christian. > > > > P.S. Don't take that last as a serious criticism or anything, it just > > made me chuckle, that's all. -cg > > LOL... yes, it's been noted before (and I edited out a similar comment > before I posted that. ;) ) > > -- > Wendy > -- jesse mcconnell [EMAIL PROTECTED]
RE: Building continuum
I was planning to start debugging it myself. Clearly the assertion doesn't provided enough debug info. I'll be on irc, if you can help me. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: Jesse McConnell [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 03, 2007 12:37 PM To: continuum-dev@maven.apache.org Subject: Re: Building continuum well, for whats it worth I am pretty sure that if a developer ever gets a reproducible way to get these failures it will be fixed...but without any way to reproduce it then its tough to diagnose. on that vein though, if someone with that kinda problem where to say, hop on irc and make them selves available to do some somewhat guided bug isolation then we might get somewhere, rather like how your problem was fixed wendy, in that particular instance we had found a bug/unintended feature in maven trunk :) jesse On 1/2/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 1/2/07, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: > > It builds fine for me. On a lighter note, I find it most amusing > > that -Dmaven.test.skip=true is mentioned as a way to move forward on > > a list about a continuous integration project. > > > > Cheers, > > Christian. > > > > P.S. Don't take that last as a serious criticism or anything, it > > just made me chuckle, that's all. -cg > > LOL... yes, it's been noted before (and I edited out a similar comment > before I posted that. ;) ) > > -- > Wendy > -- jesse mcconnell [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.3/614 - Release Date: 1/2/2007 2:58 PM -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.3/614 - Release Date: 1/2/2007 2:58 PM
Re: Building continuum
well, for whats it worth I am pretty sure that if a developer ever gets a reproducible way to get these failures it will be fixed...but without any way to reproduce it then its tough to diagnose. on that vein though, if someone with that kinda problem where to say, hop on irc and make them selves available to do some somewhat guided bug isolation then we might get somewhere, rather like how your problem was fixed wendy, in that particular instance we had found a bug/unintended feature in maven trunk :) jesse On 1/2/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 1/2/07, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: > It builds fine for me. On a lighter note, I find it most amusing that > -Dmaven.test.skip=true is mentioned as a way to move forward on a list > about a continuous integration project. > > Cheers, > Christian. > > P.S. Don't take that last as a serious criticism or anything, it just > made me chuckle, that's all. -cg LOL... yes, it's been noted before (and I edited out a similar comment before I posted that. ;) ) -- Wendy -- jesse mcconnell [EMAIL PROTECTED]
Re: Building continuum
On 1/2/07, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: It builds fine for me. On a lighter note, I find it most amusing that -Dmaven.test.skip=true is mentioned as a way to move forward on a list about a continuous integration project. Cheers, Christian. P.S. Don't take that last as a serious criticism or anything, it just made me chuckle, that's all. -cg LOL... yes, it's been noted before (and I edited out a similar comment before I posted that. ;) ) -- Wendy
Re: Building continuum
It builds fine for me. On a lighter note, I find it most amusing that -Dmaven.test.skip=true is mentioned as a way to move forward on a list about a continuous integration project. Cheers, Christian. P.S. Don't take that last as a serious criticism or anything, it just made me chuckle, that's all. -cg Wendy Smoak wrote: On 1/2/07, Thierry Lach <[EMAIL PROTECTED]> wrote: Nope - same failure with 1.5.0 Please comment on the issue so we know it's still a problem for someone. If you just need to get it to build, you can skip the tests with: -Dmaven.test.skip=true -- *christian** gruber + process coach and architect* *Israfil Consulting Services Corporation* *email** [EMAIL PROTECTED] + bus 905.640.1119 + mob 416.998.6023*
Re: Building continuum
CONTINUUM-970 has been created for this... you can apply the patch there in your local copy if you want. Hope that helps. ^_^ Martin van den Bemt wrote: Hi everyone, Building continuum is kind of a pain and is not working out for me. The problem may be due to the apache snapshot repo being down, but even without a snapshot repo I should be able to build (even if it is trunk). First of all : the maven-release-plugin has been changed, where the "shared" part has been moved to the shared/maven-release-manager. Since the continuum-release module has a dependency on the SNAPSHOT version, it will not build when you acutally build the SNAPSHOT yourself. I can supply a patch for the changes needed for that, if someone is interested. Running mvn clean install from the root of continuum trunk, doesn't really do a great job either and it is quite confusing on what is used and not used anymore. Any clarification welcomed.. Mvgr, Martin
Re: building continuum
I know about the 'skip' option, but I would prefer the test to work. How can I expect continuum to work if the tests fail? I'm running Fedora Core 5 linux on amd64 with java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode) and Maven 2.0.4. I was building revision 465267. Let me know if I can help with further debug info. greetz Philippe On Wed, 2006-10-18 at 12:59 -0400, Joakim Erdfelt wrote: > The automated unit testing of continuum-release is very hit and miss. > Hard to track down. > > For some people it works every time. > For others it works randomly. > Even a few people report that the tests work only after executing them > multiple times. > > What I'd like to know is what the differences in environment are between > all of these developers? > What OS? > What JDK? > What version of Maven? > etc ... > > - Joakim > > ben short wrote: > > Hi Philippe, > > > > I wanted to do the same to see if there where any cool new features > > andran into the same problem. > > > > if you do mvn -Dmaven.test.failure.ignore=true package you can grab > > the war and deploy it tomcat ( or an app server of your choice ) > > you'll then need to setup 2 jndi jdbc resources which you can see the > > names for in the log file. > > > > I was hoping to see the release stuff like the maestro project server > > has. I guess this is a feature that has been added by the guys at > > mergere. > > > > Anyway just set the flag and you will get a bit further. > > > > Ben > > > > On 10/18/06, Philippe Faes <[EMAIL PROTECTED]> wrote: > >> Dear all, > >> > >> I'd like to get my hands diry on continuum, but I cannot build the > >> continuum trunk http://svn.apache.org/repos/asf/maven/continuum/trunk by > >> running > >> mvn clean install > >> Is this a temprary issue or am I doing something wrong? > >> > >> Also, can I compile (and run the tests) while I have a production > >> continuum-1.0.3 running on the default ports? > >> > >> thanks > >> Philippe > >> > >> > >> --- > >> > >> Test set: > >> org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest > >> --- > >> > >> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.773 > >> sec <<< FAILURE! > >> testReleaseSimpleProject(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest) > >> > >> Time elapsed: 1.724 sec <<< FAILURE! > >> junit.framework.AssertionFailedError: Test dev version > >> at junit.framework.Assert.fail(Assert.java:47) > >> at junit.framework.Assert.assertTrue(Assert.java:20) > >> at > >> org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleaseSimpleProject(ReleaseTaskExecutorTest.java:96) > >> > >> > >> testReleaseSimpleProjectWithNextVersion(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest) > >> > >> Time elapsed: 0.992 sec <<< FAILURE! > >> junit.framework.AssertionFailedError: Test dev version > >> at junit.framework.Assert.fail(Assert.java:47) > >> at junit.framework.Assert.assertTrue(Assert.java:20) > >> at > >> org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleaseSimpleProjectWithNextVersion(ReleaseTaskExecutorTest.java:132) > >> > >> > >> -- > >> ir. Philippe Faes > >> Ghent University - Department ELIS > >> Sint-Pietersnieuwstraat 41 -- B-9000 Gent > >> Tel:+32 9 264 95 25 - Fax:+32 9 264 35 94 > >> http://www.elis.UGent.be/~pfaes > >> ON5DEU -- LPIC1 -- gpg-key:173720B6 > >> > >> > > > -- Philippe Faes <[EMAIL PROTECTED]>
Re: building continuum
Thanks! This should probably be dropped into the site built docs. Christian. P.S. How often are we re-generating the docs at http://maven.apache.org/continuum ? ben short wrote: > Christian, > > I used the admin webapp for tomcat 5.5 to create the following two > jndi resources. > > jdbc/continuum > jdbc/users > > This resulted in the following context veing created in the server.xml > > path="/continuum-webapp-1.1-SNAPSHOT"> > name="jdbc/continuum" >type="javax.sql.DataSource" >password="continuum" >driverClassName="org.postgresql.Driver" >maxIdle="2" >maxWait="5000" >username="continuum" >url="jdbc:postgresql://127.0.0.1/continuum" >maxActive="4"/> > name="jdbc/users" >type="javax.sql.DataSource" >password="continuum" >driverClassName="org.postgresql.Driver" >maxIdle="2" >maxWait="5000" >username="continuum" >url="jdbc:postgresql://127.0.0.1/users" >maxActive="4"/> > /opt/tomcat/conf/context.xml > /opt/tomcat/conf/context.xml > > > > Joakim, > > Im using > > Windows XP Pro > Java 1.5.0_06-b05 > Maven 2.0.4 > > On 10/18/06, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: >> I found this when building from cygwin on windows. It worked better >> when I put the non-cygwin subversion client in my path ahead of the >> cygwin one. I'm not entirely sure why, but didn't question it as I was >> in a hurry. >> >> Christian. >> >> Philippe Faes wrote: >> > Dear all, >> > >> > I'd like to get my hands diry on continuum, but I cannot build the >> > continuum trunk >> http://svn.apache.org/repos/asf/maven/continuum/trunk by >> > running >> > mvn clean install >> > Is this a temprary issue or am I doing something wrong? >> > >> > Also, can I compile (and run the tests) while I have a production >> > continuum-1.0.3 running on the default ports? >> > >> > thanks >> > Philippe >> > >> > >> > >> --- >> >> > Test set: >> > org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest >> > >> --- >> >> > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.773 >> > sec <<< FAILURE! >> > >> testReleaseSimpleProject(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest) >> >> Time elapsed: 1.724 sec <<< FAILURE! >> > junit.framework.AssertionFailedError: Test dev version >> > at junit.framework.Assert.fail(Assert.java:47) >> > at junit.framework.Assert.assertTrue(Assert.java:20) >> > at >> > >> org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleaseSimpleProject(ReleaseTaskExecutorTest.java:96) >> >> > >> > >> testReleaseSimpleProjectWithNextVersion(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest) >> >> Time elapsed: 0.992 sec <<< FAILURE! >> > junit.framework.AssertionFailedError: Test dev version >> > at junit.framework.Assert.fail(Assert.java:47) >> > at junit.framework.Assert.assertTrue(Assert.java:20) >> > at >> > >> org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleaseSimpleProjectWithNextVersion(ReleaseTaskExecutorTest.java:132) >> >> > >> > >> >> >> -- >> >> *christian** gruber + process coach and architect* >> >> *Israfil Consulting Services Corporation* >> >> *email** [EMAIL PROTECTED] + bus 905.640.1119 + mob 416.998.6023* >> >> >> > -- *christian** gruber + process coach and architect* *Israfil Consulting Services Corporation* *email** [EMAIL PROTECTED] + bus 905.640.1119 + mob 416.998.6023*
Re: building continuum
Christian, I used the admin webapp for tomcat 5.5 to create the following two jndi resources. jdbc/continuum jdbc/users This resulted in the following context veing created in the server.xml /opt/tomcat/conf/context.xml /opt/tomcat/conf/context.xml Joakim, Im using Windows XP Pro Java 1.5.0_06-b05 Maven 2.0.4 On 10/18/06, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: I found this when building from cygwin on windows. It worked better when I put the non-cygwin subversion client in my path ahead of the cygwin one. I'm not entirely sure why, but didn't question it as I was in a hurry. Christian. Philippe Faes wrote: > Dear all, > > I'd like to get my hands diry on continuum, but I cannot build the > continuum trunk http://svn.apache.org/repos/asf/maven/continuum/trunk by > running > mvn clean install > Is this a temprary issue or am I doing something wrong? > > Also, can I compile (and run the tests) while I have a production > continuum-1.0.3 running on the default ports? > > thanks > Philippe > > > --- > Test set: > org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest > --- > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.773 > sec <<< FAILURE! > testReleaseSimpleProject(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest) Time elapsed: 1.724 sec <<< FAILURE! > junit.framework.AssertionFailedError: Test dev version > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at > org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleaseSimpleProject(ReleaseTaskExecutorTest.java:96) > > testReleaseSimpleProjectWithNextVersion(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest) Time elapsed: 0.992 sec <<< FAILURE! > junit.framework.AssertionFailedError: Test dev version > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at > org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleaseSimpleProjectWithNextVersion(ReleaseTaskExecutorTest.java:132) > > -- *christian** gruber + process coach and architect* *Israfil Consulting Services Corporation* *email** [EMAIL PROTECTED] + bus 905.640.1119 + mob 416.998.6023*