On Mar 8, 2010, at 12:59 PM, Russell Collins wrote:

> I know this information is out there somewhere as I have seen it on lists but 
> I cannot find it.  How would I go about updating the alias for the JPA 
> provider.  Example, I am wanting to upgrade from OpenJPA 1.2.1 to OpenJPA 
> 1.2.2.  What steps do I need to take to accomplish this or where should I 
> look.  Thanks.

Your current jar resides in 
repository/org/apache/openjpa/openjpa/1.2.1/openjpa-1.2.1.jar

Create the openjpa 1.2.2 equivalents 
(repository/org/apache/openjpa/openjpa/1.2.2/openjpa-1.2.2.jar). There are 
admin console/command line tools to install for you. But they are equivalent to 
mkdir/cp. If I'm dropping in a new jar, that's all I normally do.

Aliases are defined in var/config/artifact_aliases.properties add the following 
line:

org.apache.openjpa/openjpa/1.2.1/jar=org.apache.openjpa/openjpa/1.2.2/jar

Start your server.

--kevan

Reply via email to