Results 1 to 6 of 6

Thread: Nightly build

  1. #1
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default Nightly build

    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:

    Code:
    <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:

    Code:
    <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,
    Last edited by Costin Leau; Jul 19th, 2006 at 07:09 AM.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  2. #2
    Join Date
    Mar 2006
    Location
    Germany, Karlsruhe
    Posts
    157

    Default

    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

  3. #3
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    Ok, there should also be a zip as part of the nightly release. Look here: http://static.springframework.org/ma...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.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  4. #4
    Join Date
    Mar 2006
    Location
    Germany, Karlsruhe
    Posts
    157

    Default

    That's quite good, thank you very much,

    Ingo

  5. #5

    Default Unable to build from source pulled from SVN.

    I'm having trouble building the SWS project with Ant using the source that I pulled down from https://svn.sourceforge.net/svnroot/...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:

    Code:
    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

  6. #6
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    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.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •