Results 1 to 5 of 5

Thread: Bundloe - Supress warning for version

  1. #1
    Join Date
    Nov 2008
    Location
    London,UK
    Posts
    299

    Default Bundloe - Supress warning for version

    When i use bundlor as part of my build.xml logic there are lots of warnings saying imported and exported packages do no have version numbers.

    How can i supress this warnings ?

    I went through reference guide , but did not see such option.


    [I did see failOnwarning option but its intended for different purpose]

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

    Default

    You add a Import-Template that add a version to packages with warnings.
    You can't disable warnings otherwise.

    http://static.springsource.org/s2-bu...l/ch05s02.html
    Thanks
    Dmitry

  3. #3
    Join Date
    Nov 2008
    Location
    London,UK
    Posts
    299

    Default

    I do not want to add any version to imports .This is because i want the latest version to be wired based on what is in the classpath(repository/usr)

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

    Default

    Not sure if that will work for you, but try adding

    Code:
    Import-Template: *;version="0"
    Have not tested that, but it "should" resolve to the highest version and get rid of the warnings.
    Thanks
    Dmitry

  5. #5
    Join Date
    Nov 2008
    Location
    London,UK
    Posts
    299

    Default

    Got it working with commenting the warnings sysouts in this class

    com.springsource.bundlor.ant.Bundlor

Posting Permissions

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