ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Matzon <mat...@certus.dk>
Subject Unknown tag
Date Thu, 26 Jun 2008 07:12:07 GMT
cWhile working on the gen-content stuff, I added some description, 
license and repository tags to the ivy-module/info section. Result:

[ivy:settings] :: loading settings :: file = ivysettings.xml

ivy.resolve:
[ivy:resolve] [unknwon tag license in file:/ivy.xml
[ivy:resolve] , unknwon tag repository in file:/ivy.xml
[ivy:resolve] ]

BUILD FAILED
build.xml:24: syntax errors in ivy file: java.text.ParseException: 
[unknwon tag license in file:/ivy.xml
, unknwon tag repository in file:/ivy.xml
]

ignoring the spelling error - why is it giving me this error ?
I can see from the schema (http://ant.apache.org/ivy/schemas/ivy.xsd) 
that they should be allowed? I am using 2.0.0 beta 2.

This is the ivy file I am using:

<ivy-module version="1.0">
    <info organisation="example" module="${ant.project.name}">
      <description homepage="http://example.com">lala</description>
      <license name="BSD"/>
      <repository name="Internal" url="http://example.com/" 
pattern="[organisation]/[module]/[revision]/ivy.xml" ivys="true" 
artifacts="true"/>
    </info>
   
    <configurations>
        <conf name="library" description="library build"/>
        <conf name="complete" description="complete package"/>
    </configurations>
   
    <publications>
        <artifact name="${ant.project.name}" type=""        
conf="library"         ext="jar"/>
        <artifact name="${ant.project.name}" type=""         
conf="library"         ext="pom" />
        <artifact name="${ant.project.name}" type="bin"    
conf="complete"     ext="zip"/>
    </publications>

    <dependencies>
    </dependencies>
</ivy-module>

/matzon

Mime
View raw message