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 <[EMAIL PROTECTED]> 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.




Reply via email to