Re: Cayenne with Apache James

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Apr 19 2007 - 09:23:47 EDT

  • Next message: jerome moliere: "Re: Copying objects from one database to another"

    I just committed the fix to 1.2 and 2.0 branches:

    https://issues.apache.org/cayenne/browse/CAY-778

    3.0 is not affected, as it is built with Maven. Current 3.0 manifest
    looks like this:

    Manifest-Version: 1.0
    Archiver-Version: Plexus Archiver
    Created-By: Apache Maven
    Built-By: andrus
    Build-Jdk: 1.5.0_07

    Andrus

    On Apr 18, 2007, at 12:50 PM, Gary Jarrel wrote:

    > True but I pull cayenne from a maven repository, at
    > http://repo1.maven.org/maven2/ so I've just update the jar file in my
    > local repository - rather than rebuilding :)
    >
    > Gary
    >
    > On 4/18/07, Ahmed Mohombe <amohomb..ahoo.com> wrote:
    >> > Ok here is one solution,
    >> >
    >> > In the Jar file delete: /META-INF/MANIFEST.MF
    >> >
    >> > James seems to parse this line in the file:
    >> >
    >> >
    >> > Specification-Version: cayenne
    >> >
    >> > And expects to have a numeric Specification Version
    >> You are right. James won't accept it.
    >> In the build file cayenne-java.xml there seems to be a small typo:
    >> ======
    >> <attribute name="Specification-Version" value="${project.name}"/>
    >> ======
    >> should be:
    >> ======
    >> <attribute name="Specification-Version" value="${project.version}"/>
    >> ======
    >>
    >> A better solution would be to apply the change and rebuild
    >> cayenne :).
    >>
    >> Ahmed.
    >>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Thu Apr 19 2007 - 09:24:38 EDT