Re: [configuration] auto build fails
I think the conf directory that we use to store our test files causes the problems with the unit tests. I modified the build.xml to copy this directory to the target dir and to include its content in the class path for the tests. Now an ant clean dist should work, but at least for the source distribution I am not sure whether the generated archievs will really contain all necessary files. The cleanest solution is probably to move the content of the conf directory somewhere below the src tree (e.g. test-resources or something like that). But this will have a major impact on many of our unit tests and I doubt if this step would solve all our problems with the auto generated build.xml script. Oliver Craig McClanahan wrote: The build is succeeding, but the unit tests (which are executed by the dist target of the generated build.xml file) are failing, which causes the entire build to fail. Log file of running ant clean dist is attached. Craig On Sun, 30 Jan 2005 17:30:33 +0100, Oliver Heger [EMAIL PROTECTED] wrote: I tried to regenerate the build.xml file using the latest version of the maven ant plugin, but it still doesn't seem to work (the zips for the binary distribution are still empty, the source distros look a bit cleaner, at least they do not contain that strange absolute path any more). Craig, can you send me some logs on what is happening? On my local machine the build runs without errors. I also had a look at the build files of other components. I could not recognize a common pattern. Are most of them created by hand? Tx Oliver [snip] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [configuration] auto build fails
I tried to regenerate the build.xml file using the latest version of the maven ant plugin, but it still doesn't seem to work (the zips for the binary distribution are still empty, the source distros look a bit cleaner, at least they do not contain that strange absolute path any more). Craig, can you send me some logs on what is happening? On my local machine the build runs without errors. I also had a look at the build files of other components. I could not recognize a common pattern. Are most of them created by hand? Tx Oliver Craig McClanahan wrote: The nightly builds rely on the availability of an Ant build.xml file on which ant clean dist can be completed successfully. The build script for [configuration] blows up with compile errors (looks like it cannot find the servlet API classes). Craig On Sat, 22 Jan 2005 21:07:45 -0600, Vic [EMAIL PROTECTED] wrote: In downloads, the nightly build for configuration is 45 bytes. .V -- RiA-SoA w/JDNC http://www.SandraSF.com forums - help develop a community My blog http://www.sandrasf.com/adminBlog - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [configuration] auto build fails
The build is succeeding, but the unit tests (which are executed by the dist target of the generated build.xml file) are failing, which causes the entire build to fail. Log file of running ant clean dist is attached. Craig On Sun, 30 Jan 2005 17:30:33 +0100, Oliver Heger [EMAIL PROTECTED] wrote: I tried to regenerate the build.xml file using the latest version of the maven ant plugin, but it still doesn't seem to work (the zips for the binary distribution are still empty, the source distros look a bit cleaner, at least they do not contain that strange absolute path any more). Craig, can you send me some logs on what is happening? On my local machine the build runs without errors. I also had a look at the build files of other components. I could not recognize a common pattern. Are most of them created by hand? Tx Oliver Craig McClanahan wrote: The nightly builds rely on the availability of an Ant build.xml file on which ant clean dist can be completed successfully. The build script for [configuration] blows up with compile errors (looks like it cannot find the servlet API classes). Craig On Sat, 22 Jan 2005 21:07:45 -0600, Vic [EMAIL PROTECTED] wrote: In downloads, the nightly build for configuration is 45 bytes. .V -- RiA-SoA w/JDNC http://www.SandraSF.com forums - help develop a community My blog http://www.sandrasf.com/adminBlog - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Buildfile: build.xml clean: [delete] Deleting directory /home/craigmcc/Apache/jakarta/commons/proper/current/configuration/target init: [mkdir] Created dir: /home/craigmcc/Apache/jakarta/commons/proper/current/configuration/target/lib get-deps: [get] Getting: http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-3.0.jar [get] Getting: http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar [get] Getting: http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4.jar [get] Getting: http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.4.jar [get] Getting: http://www.ibiblio.org/maven/commons-digester/jars/commons-digester-1.5.jar [get] Getting: http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-core-1.7.0.jar [get] Getting: http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-bean-collections-1.7.0.jar [get] Getting: http://www.ibiblio.org/maven/xerces/jars/xerces-2.2.1.jar [get] Getting: http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-2.0.2.jar [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] Getting: http://www.ibiblio.org/maven/spice/jars/spice-jndikit-1.1.jar [get] Getting: http://www.ibiblio.org/maven/commons-dbcp/jars/commons-dbcp-1.1.jar [get] Getting: http://www.ibiblio.org/maven/commons-pool/jars/commons-pool-1.1.jar [get] Getting: http://www.ibiblio.org/maven/hsqldb/jars/hsqldb-1.7.2.2.jar [get] Getting: http://www.ibiblio.org/maven/dbunit/jars/dbunit-2.1.jar [get] Getting: http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar [get] Getting: http://www.ibiblio.org/maven/junit-addons/jars/junit-addons-1.4.jar [get] Getting: http://www.ibiblio.org/maven/mockobjects/jars/mockobjects-core-0.09.jar [get] Getting: http://www.ibiblio.org/maven/mockobjects/jars/mockobjects-jdk1.4-j2ee1.3-0.09.jar [get] Getting: http://www.ibiblio.org/maven/resources/jars/resources-1.0.jar [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Can't get http://www.ibiblio.org/maven/resources/jars/resources-1.0.jar to /home/craigmcc/Apache/jakarta/commons/proper/current/configuration/target/lib/resources-1.0.jar [get] Getting: http://www.ibiblio.org/maven/maven-plugins/plugins/maven-tasks-plugin-1.1.0.jar [get] Getting: http://www.ibiblio.org/maven/maven-plugins/plugins/maven-findbugs-plugin-0.8.4.jar compile: [mkdir] Created dir: /home/craigmcc/Apache/jakarta/commons/proper/current/configuration/target/classes [javac] Compiling 42 source files to /home/craigmcc/Apache/jakarta/commons/proper/current/configuration/target/classes [copy] Copying 2 files to /home/craigmcc/Apache/jakarta/commons/proper/current/configuration/target/classes junit-present: compile-tests: [mkdir] Created dir:
Re: [configuration] auto build fails
On Sat, Jan 22, 2005 at 08:17:33PM -0800, Craig McClanahan wrote: Well, there would be ... if someone wanted to take over the admin for the nightly builds themselves (preferably on an Apache box, instead of my desktop), and that someone wanted to go through and set up the scripts for the two kinds of projects, and then go resolve the inevitable failure cases. It seems like you should try to coordinate with the Gump folks. They have a dedicated box for nightly builds (brutus.apache.org). They should be able to grant you (or any other committer) an account on the box if you ask nicely. BTW, I thought Jakarta Commons was being built with gump? -- justin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[configuration] auto build fails
In downloads, the nightly build for configuration is 45 bytes. .V -- RiA-SoA w/JDNC http://www.SandraSF.com forums - help develop a community My blog http://www.sandrasf.com/adminBlog - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [configuration] auto build fails
The nightly builds rely on the availability of an Ant build.xml file on which ant clean dist can be completed successfully. The build script for [configuration] blows up with compile errors (looks like it cannot find the servlet API classes). Craig On Sat, 22 Jan 2005 21:07:45 -0600, Vic [EMAIL PROTECTED] wrote: In downloads, the nightly build for configuration is 45 bytes. .V -- RiA-SoA w/JDNC http://www.SandraSF.com forums - help develop a community My blog http://www.sandrasf.com/adminBlog - 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]
Re: [configuration] auto build fails
Hi Craig, I know this has been discussed before, but I couldn't find the specific discussion in the mail archives and don't really remember a resolution. Is there a way to get nightly builds to use Maven if that is the build system the project is using? anything that I can do to help? Cheers, Brett Craig McClanahan wrote: The nightly builds rely on the availability of an Ant build.xml file on which ant clean dist can be completed successfully. The build script for [configuration] blows up with compile errors (looks like it cannot find the servlet API classes). Craig On Sat, 22 Jan 2005 21:07:45 -0600, Vic [EMAIL PROTECTED] wrote: In downloads, the nightly build for configuration is 45 bytes. .V -- RiA-SoA w/JDNC http://www.SandraSF.com forums - help develop a community My blog http://www.sandrasf.com/adminBlog - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [configuration] auto build fails
On Sun, 23 Jan 2005 15:01:26 +1100, Brett Porter [EMAIL PROTECTED] wrote: Hi Craig, I know this has been discussed before, but I couldn't find the specific discussion in the mail archives and don't really remember a resolution. Is there a way to get nightly builds to use Maven if that is the build system the project is using? anything that I can do to help? Well, there would be ... if someone wanted to take over the admin for the nightly builds themselves (preferably on an Apache box, instead of my desktop), and that someone wanted to go through and set up the scripts for the two kinds of projects, and then go resolve the inevitable failure cases. My experience with running various Maven builds by hand is that they have been at least as fragile as the Ant builds, and I just don't have time to deal with both kinds. In the mean time, a workaround is to use the Ant plugin to generate a build.xml file, and then check that in. This would give the current nightly build script something that should work. Cheers, Brett Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]