From: Rajarshi G. <rx...@ps...> - 2006-04-28 15:32:17
|
Hi, I know that the SF.net site provides a large CDK distribution corresponding to a single jar for the latest release. Has anybody thought of providing nightly builds? Of course this depends on the fact that the SVN tree is always compilable. ------------------------------------------------------------------- Rajarshi Guha <rx...@ps...> <http://jijo.cjb.net> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE ------------------------------------------------------------------- In matrimony, to hesitate is sometimes to be saved. -- Butler |
From: Egon W. <e.w...@sc...> - 2006-04-30 08:15:11
|
On Friday 28 April 2006 17:32, Rajarshi Guha wrote: > Hi, I know that the SF.net site provides a large CDK distribution > corresponding to a single jar for the latest release. > > Has anybody thought of providing nightly builds? Of course this depends > on the fact that the SVN tree is always compilable. Yes, I have thought about this. I even had plans to setup a compile server somewhere locally that would make compile reports nightly, with reports on failing tests, PMD reports, JavaDoc quality, etc... This would be very valuable... but have had not time for this yet. Please do explore how to set it up, if you have time... Egon -- e.w...@sc... Cologne University Bioinformatics Center (CUBIC) Blog: http://chem-bla-ics.blogspot.com/ GPG: 1024D/D6336BA6 |
From: Rajarshi G. <rx...@ps...> - 2006-04-30 15:17:15
|
On Sun, 2006-04-30 at 10:14 +0200, Egon Willighagen wrote: > On Friday 28 April 2006 17:32, Rajarshi Guha wrote: > > Hi, I know that the SF.net site provides a large CDK distribution > > corresponding to a single jar for the latest release. > > > > Has anybody thought of providing nightly builds? Of course this depends > > on the fact that the SVN tree is always compilable. > > Yes, I have thought about this. I even had plans to setup a compile server > somewhere locally that would make compile reports nightly, with reports on > failing tests, PMD reports, JavaDoc quality, etc... This would be very > valuable... but have had not time for this yet. > > Please do explore how to set it up, if you have time... Well I already have a first draft script set up - a little debugging and it should work. Currently I host it on my server, but I'll be leaving PSU in 2 months so it should probably go somewhere else at some point. The idea is: svn update ant clean dist-all ant -f javadoc.xml if build_sucess: copy the big CDK jar into a web-acessible dir copy javadocs to the same dir else: put up an error page run pmd run doccheck copy results I've skipped out the test results, since my server has been getting flaky lately, so extra loads might crash it ------------------------------------------------------------------- Rajarshi Guha <rx...@ps...> <http://jijo.cjb.net> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE ------------------------------------------------------------------- I put up my thumb... and it blotted out the planet Earth. -- Neil Armstrong |
From: Egon W. <ewi...@un...> - 2006-04-30 15:58:11
|
On Sunday 30 April 2006 11:17, Rajarshi Guha wrote: > On Sun, 2006-04-30 at 10:14 +0200, Egon Willighagen wrote: > > Please do explore how to set it up, if you have time... > > Well I already have a first draft script set up - a little debugging and > it should work. Currently I host it on my server, but I'll be leaving > PSU in 2 months so it should probably go somewhere else at some point. I guess we can move it elsewhere in due time... > The idea is: > > svn update > ant clean dist-all > ant -f javadoc.xml > if build_sucess: > copy the big CDK jar into a web-acessible dir > copy javadocs to the same dir > else: > put up an error page > > run pmd > run doccheck > > copy results Sounds very good. > I've skipped out the test results, since my server has been getting > flaky lately, so extra loads might crash it You can do: ant -DrunSlowTests=false test-all Additionally, there is this option: ant -DrunKnownBugs=false test-all See the JavaDoc of org.openscience.cdk.test.CDKTestCase. Egon -- http://chem-bla-ics.blogspot.com/ |
From: Rajarshi G. <rx...@ps...> - 2006-04-30 18:36:52
|
On Sun, 2006-04-30 at 17:57 -0400, Egon Willighagen wrote: > On Sunday 30 April 2006 11:17, Rajarshi Guha wrote: The script is up and running. You can see todays results at http://blue.chem.psu.edu/~rajarshi/code/java/nightly/ I'll set up the cron job. You can download the script from the above web page. It should be runnable from anywhere, thought its restricted to unix since it uses tar. if you want to run it there are 3 variables that should be changed nightly_repo - the path to the CDK SVN repo, within which doing ant clean should work nightly_dir - where to run the script (log files are dumped here) nightly_web - the path to the web-accessible dir > > I've skipped out the test results, since my server has been getting > > flaky lately, so extra loads might crash it > > You can do: > > ant -DrunSlowTests=false test-all > > Additionally, there is this option: > > ant -DrunKnownBugs=false test-all I'll add the Junit results over the next few days. BTW, when I run ant -f pmd.xml pmd I get the following error: BUILD FAILED /home/rajarshi/src/java/cdk/trunk/cdk/pmd.xml:104: Includesfile /home/rajarshi/src/java/cdk/trunk/cdk/src/libio.javafiles not found. Do you know why this is happening? ------------------------------------------------------------------- Rajarshi Guha <rx...@ps...> <http://jijo.cjb.net> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE ------------------------------------------------------------------- I saw Elvis. He sat between me and Bigfoot on the UFO. |
From: Egon W. <ewi...@un...> - 2006-04-30 19:00:22
|
On Sunday 30 April 2006 14:37, Rajarshi Guha wrote: > On Sun, 2006-04-30 at 17:57 -0400, Egon Willighagen wrote: > > On Sunday 30 April 2006 11:17, Rajarshi Guha wrote: > > The script is up and running. You can see todays results at > > http://blue.chem.psu.edu/~rajarshi/code/java/nightly/ I get a permission denied. <snip> > BTW, when I run > > ant -f pmd.xml pmd > > I get the following error: > > BUILD FAILED > /home/rajarshi/src/java/cdk/trunk/cdk/pmd.xml:104: > Includesfile /home/rajarshi/src/java/cdk/trunk/cdk/src/libio.javafiles > not found. > > Do you know why this is happening? I don't think we currently have a libio module... I have not run these tests since I started refactoring the modules... will fix it momentarily. Egon -- http://chem-bla-ics.blogspot.com/ |
From: Rajarshi G. <rx...@ps...> - 2006-04-30 19:09:38
|
On Sun, 2006-04-30 at 14:37 -0400, Rajarshi Guha wrote: > BTW, when I run > > ant -f pmd.xml pmd > > I get the following error: > > BUILD FAILED > /home/rajarshi/src/java/cdk/trunk/cdk/pmd.xml:104: > Includesfile /home/rajarshi/src/java/cdk/trunk/cdk/src/libio.javafiles > not found. I've patched pmd.xml to take into account the libio-*.javafiles rather than libion.javafiles. Is this correct? ------------------------------------------------------------------- Rajarshi Guha <rx...@ps...> <http://jijo.cjb.net> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE ------------------------------------------------------------------- A committee is a group that keeps the minutes and loses hours. -- Milton Berle |
From: Egon W. <ewi...@un...> - 2006-04-30 19:21:34
|
On Sunday 30 April 2006 15:09, Rajarshi Guha wrote: > On Sun, 2006-04-30 at 14:37 -0400, Rajarshi Guha wrote: > > BTW, when I run > > > > ant -f pmd.xml pmd > > > > I get the following error: > > > > BUILD FAILED > > /home/rajarshi/src/java/cdk/trunk/cdk/pmd.xml:104: > > Includesfile /home/rajarshi/src/java/cdk/trunk/cdk/src/libio.javafiles > > not found. > > I've patched pmd.xml to take into account the libio-*.javafiles rather > than libion.javafiles. Is this correct? Yes, but I am in the process of refactoring the code a bit, so I'll commit changes in a moment or so... Egon -- http://chem-bla-ics.blogspot.com/ |
From: Rajarshi G. <rx...@ps...> - 2006-05-01 01:07:06
|
On Sun, 2006-04-30 at 14:37 -0400, Rajarshi Guha wrote: > BTW, when I run > > ant -f pmd.xml pmd > > I get the following error: > > BUILD FAILED > /home/rajarshi/src/java/cdk/trunk/cdk/pmd.xml:104: > Includesfile /home/rajarshi/src/java/cdk/trunk/cdk/src/libio.javafiles > not found. I noted your refactoring. One point: I'd like the nightly build script to be able to get at HTML output for PMD. Currently, output is set to XML. I'm changing the output type to HTML, at least for tonight so that the nightly script can run. Is there anything wrong with keeping it as HTML? Thanks, ------------------------------------------------------------------- Rajarshi Guha <rx...@ps...> <http://jijo.cjb.net> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE ------------------------------------------------------------------- Q: What's yellow, linear, normed and complete? A: A Bananach space. |
From: Egon W. <e.w...@sc...> - 2006-05-01 06:19:10
|
On Monday 01 May 2006 03:07, Rajarshi Guha wrote: > On Sun, 2006-04-30 at 14:37 -0400, Rajarshi Guha wrote: > I noted your refactoring. One point: I'd like the nightly build script > to be able to get at HTML output for PMD. Currently, output is set to > XML. > > I'm changing the output type to HTML, at least for tonight so that the > nightly script can run. > > Is there anything wrong with keeping it as HTML? Well, XML output allows us more flexability... e.g. I have a XSLT sheet to convert it to fragments for the Plone based CDK website, though automatically uploading it, proved too tricky for me. Using XSLT we can do more fun things, like making *one* HTML page for each module with all errors/failure on it... Egon -- e.w...@sc... Cologne University Bioinformatics Center (CUBIC) Blog: http://chem-bla-ics.blogspot.com/ GPG: 1024D/D6336BA6 |
From: Rajarshi G. <rx...@ps...> - 2006-05-01 12:38:22
|
On Mon, 2006-05-01 at 08:18 +0200, Egon Willighagen wrote: > On Monday 01 May 2006 03:07, Rajarshi Guha wrote: > > On Sun, 2006-04-30 at 14:37 -0400, Rajarshi Guha wrote: > > I noted your refactoring. One point: I'd like the nightly build script > > to be able to get at HTML output for PMD. Currently, output is set to > > XML. > > > > I'm changing the output type to HTML, at least for tonight so that the > > nightly script can run. > > > > Is there anything wrong with keeping it as HTML? > > Well, XML output allows us more flexability... e.g. I have a XSLT sheet to > convert it to fragments for the Plone based CDK website, though automatically > uploading it, proved too tricky for me. > > Using XSLT we can do more fun things, like making *one* HTML page for each > module with all errors/failure on it... Yesd, I had done some searching for something like this. I cam across wz-pmd-output.xslt from the PMD distribution but when I tried to run it I got a NullPointer exception I'll look at this again ------------------------------------------------------------------- Rajarshi Guha <rx...@ps...> <http://jijo.cjb.net> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE ------------------------------------------------------------------- Q: Why did the mathematician name his dog "Cauchy"? A: Because he left a residue at every pole. |