Results 1 to 6 of 6

Thread: how to build springdm server 2.0 from source code

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    6

    Default how to build springdm server 2.0 from source code

    Anybody build springdm server 2.0?
    I git clone the source code from git repo as list in "http://www.springsource.org/dmserver",go into the "build" dir then execute ant, it always throw "xxxxx/../spring-build/multi-bundle/default.xml" execption.

  2. #2
    Join Date
    Dec 2005
    Location
    Philadelphia, PA, USA
    Posts
    228

    Default

    Do this

    Code:
    git submodule init
    git submodule update
    This will pull down the spring build system.
    Thanks
    Dmitry

  3. #3
    Join Date
    Feb 2009
    Posts
    6

    Unhappy

    thank you,dsklyut.
    after git the submodule spring-build, then I execute ant,it throws the [dm-server\spring-build\multi-bundle\quality.xml:35: fileset doesn't support the "erroronmissingdir" attribute] exception.

  4. #4
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    Make sure you have an up to date version of ant. I use v1.7.1.

    Also, note that I normally combine the commands that Dmitry mentioned, thus:
    Code:
    git submodule update --init
    Last edited by Glyn Normington; Mar 10th, 2010 at 02:30 AM. Reason: typo
    Glyn Normington
    SpringSource

  5. #5
    Join Date
    Apr 2010
    Posts
    17

    Default Which build target to use?

    I am building the osgi-web-container project from source, and the above instructions were very useful as I had the same issue.

    Now, however, I am having a problem as I don't know which ant target to call. There is no default target, "package" doesn't do anything, and "precommit" appears to do too much and fails for lacking an Atlassian license.
    Last edited by blahb; Jun 11th, 2010 at 09:44 PM.

  6. #6
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    ant jar or ant test will produce bundles.
    Glyn Normington
    SpringSource

Posting Permissions

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