View Full Version : Nightly build
Arjen Poutsma
Jul 19th, 2006, 07:05 AM
Hi,
I've setup a nightly build for Spring Web Services. Every night at 02:00 (CET), a new snapshot build will be made, which will be copied to http://static.springframework.org/maven2-snapshots/.
If you use maven2 yourself, it is really easy to setup, just add the following repository:
<repository>
<id>springframework.org</id>
<name>Springframework Maven SNAPSHOT Repository</name>
<url>http://static.springframework.org/maven2-snapshots/</url>
</repository>
then you can depend on the snapshots with something like:
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-core</artifactId>
<version>1.0-m2-SNAPSHOT</version>
</dependency>
for the spring-ws-core jar. You can also depend on the other jars, of course.
Cheers,
res1st
Jul 21st, 2006, 02:12 AM
I use ANT now, because the pre-2.0 Spring releases weren't available for maven2 a long time. I posted a forum question some time ago, but now it's too late. All is working with ANT now. :(
(see http://forum.springframework.org/showthread.php?t=24373)
Maybe it would be useful if your nightly build provides a ZIP with all contents, like the milestone releases.
Cheers,
Ingo
Arjen Poutsma
Jul 23rd, 2006, 01:51 PM
Ok, there should also be a zip as part of the nightly release. Look here: http://static.springframework.org/maven2-snapshots/org/springframework/ws/spring-ws-release/1.0-m2-SNAPSHOT/
This zip only contains the jars. It doesn't contain the samples, the docs, nor the sources, to keep the download size as small as possible.
res1st
Jul 24th, 2006, 01:58 AM
That's quite good, thank you very much,
Ingo
mskendrick
Jul 25th, 2006, 03:02 PM
I'm having trouble building the SWS project with Ant using the source that I pulled down from https://svn.sourceforge.net/svnroot/springframework/spring-projects/trunk.
I pulled down the "common-build" and "spring-ws" directories using TortoiseSVN and ran "ant dist" in the "build-spring-ws" folder. I got the following message:
C:\projects\spring-projects\spring-ws\build-spring-ws>ant
Buildfile: build.xml
init.pre:
:: Ivy 1.3.1 - 20060330160721 :: http://ivy.jayasoft.org/ ::
:: configuring :: file = C:\projects\spring-projects\common-build\ivyconf.xml
[echo] user.dir = "C:\projects\spring-projects\spring-ws\build-spring-ws"
[echo] ant.file = "C:\projects\spring-projects\spring-ws\build-spring-ws\build.xml"
[echo] ant.java.version = "1.5"
[echo] release.version = "1.0-m2-snapshot"
init.post:
init:
dist:
[echo] projects=modules
[subant] No sub-builds to iterate on
build-release-repo:
[echo] projects=modules
[subant] No sub-builds to iterate on
javadoc:
[javadoc] Generating Javadoc
BUILD FAILED
C:\projects\spring-projects\spring-ws\build-spring-ws\build.xml:182: C:\projects\spring-projects\spring-ws\spring-xml\lib not found.
Total time: 1 second
C:\projects\spring-projects\spring-ws\build-spring-ws>
Can someone tell me what I am doing wrong?
Shannon Kendrick
Arjen Poutsma
Jul 25th, 2006, 03:22 PM
We switched from using Ant + common build to Maven2. The ant-build system is no longer being maintained (I just forgot to delete the build-spring-ws directory).
Using maven2, you can do a 'mvn install' in the spring-ws directory. That should build everything. Or you can use the nightly builds (http://www.springframework.org/spring-ws/snapshots).
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.