ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Atteneder" <christoph.attene...@gmail.com>
Subject RuntimeException with buildnumber ant task
Date Fri, 09 May 2008 10:36:32 GMT
Hi,

I´m pretty new to ivy and have set up my own repository and wanted to use
the buildnumber ant task for getting an updated revision number each time
I´m publishing a new version of my library.

<!-- =================================
          target: ivy-new-version
         ================================= -->
<target name="ivy-new-version" description="--> description">
        <ivy:info file="${ivy.file}"/>
        <ivy:buildnumber organisation="${ivy.organisation}"
module="${ivy.module}" revision="${ivy.module.version.target}" revSep="."
defaultBuildNumber="1"/>
 </target>

This target works fine if there is no version inside the repository.

If I´m trying to publish a new version to the repository I get following
build failure:

BUILD FAILED
C:\[PATH]\build.xml:95: java.lang.RuntimeException: problem while parsing
repository module descriptor for myorg#core;1+: java.text.ParseException:
inconsistent module descriptor file found in '[REP-PATH]\ivys\core-1.1.xml':
bad status: 'internal';

I´m using following ant properties which are used int he ivy-new-version
target:

ivy.file=${build.dir}/ivy/ivy.xml

ivy.organisation=myorg
ivy.module=core
ivy.module.version.target=1.0
ivy.module.status=internal

Did I missed a setting or something else?

thx in adavance for any hints!

cheers,

Christoph

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message