#328 Ant 1.8.0 not supported by XINS 2.2

2.2 (final)
closed-fixed
5
2010-04-23
2010-04-22
Anonymous
No

Ant 1.8.0 is out and is considered the new stable version.

However, it fails with generated build.xml files, being unable to resolve path references.

Ant 1.7.1 already warned for this, with messages like this:

Warning: Reference saxon.classpath has not been set at runtime, but was found during
build file parsing, attempting to resolve. Future versions of Ant may support
referencing ids defined in non-executed targets.

Discussion

  • Anthony Goubard

    Anthony Goubard - 2010-04-23
    • assigned_to: nobody --> agoubard
     
  • Anthony Goubard

    Anthony Goubard - 2010-04-23
    • milestone: --> 2.2 (final)
    • status: open --> closed-fixed
     
  • Anthony Goubard

    Anthony Goubard - 2010-04-23

    Fixed will be in XINS 2.3-beta2.

     
  • Ernst de Haan

    Ernst de Haan - 2010-04-24

    This bug is not completely fixed, I believe. Steps to reproduce:
    - use XINS 2.3-beta2-dev (from CVS)
    - go to the XINS base directory
    - delete the build subdirectory
    - execute "ant java"

    Result:
    :
    -build-framework:
    [copy] Copying 1 file to /Users/ernst/xins-cvs/build/src/java-common/org/xins/common
    [javac] /Users/ernst/xins-cvs/build.xml:230: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to /Users/ernst/xins-cvs/build/classes/java-common

    BUILD FAILED
    /Users/ernst/xins-cvs/build.xml:140: The following error occurred while executing this line:
    /Users/ernst/xins-cvs/build.xml:230: Reference path.common not found.

     
  • Ernst de Haan

    Ernst de Haan - 2010-04-24

    And here is another case. Steps to reproduce:
    - Go the XINS base directory
    - Use Ant 1.7.1 to build XINS (ant java)
    - Switch to Ant 1.8.0
    - Go to the subdirectory src/tests/
    - Execute "xins run-allinone"

    Expected result:
    - the "allinone" API is run

    Actual result:
    -war:
    [mkdir] Created dir: /Users/ernst/xins-cvs/src/tests/build/webapps/allinone
    [xmlvalidate] 1 file(s) have been successfully validated.
    [xslt] Processing /Users/ernst/xins-cvs/src/tests/apis/allinone/spec/api.xml to /Users/ernst/xins-cvs/src/tests/build/webapps/allinone/web.xml
    [xslt] Loading stylesheet /Users/ernst/xins-cvs/src/xslt/webapp/api_to_webxml.xslt
    [unjar] Expanding: /Users/ernst/xins-cvs/build/xins-common.jar into /Users/ernst/xins-cvs/src/tests/build/webapps/allinone
    [war] Building war: /Users/ernst/xins-cvs/src/tests/build/webapps/allinone/allinone.war
    [echo] MD5: 342197ec5df48cc2ecaa44e305c627bd
    [echo] Build time: 2010.04.24 16:20:03.721

    BUILD FAILED
    /Users/ernst/xins-cvs/src/tests/build/build.xml:151: The following error occurred while executing this line:
    /Users/ernst/xins-cvs/src/ant/build-apis.xml:454: Reference xins.classpath not found.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks