I've changed my dependency for tapx-datefield to allow me to use 1.1:

<dependency>
<groupId>com.howardlewisship</groupId>
<artifactId>tapx-datefield</artifactId>
<version>1.1-SNAPSHOT</version>
</dependency>

Now I get:

java.lang.IllegalArgumentException: Contribution com.howardlewisship.tapx.core.services.CoreModule.contributeRegexAuthorizer(Configuration) (at CoreModule.java:47) is for service 'RegexAuthorizer', which does not exist.

According to the Tapestry 5.2 documentation RegexAuthorizer should be a core tapestry service.

Anyone got any ideas?

Regards,

Greg.


-------- Original Message --------
Subject:        Tapx-Datefield under 5.2 (was Re: Tapestry Hibernate dependency)
Date:   Tue, 25 May 2010 12:31:03 +1000
From:   Greg Pagendam-Turner <g...@liftyourgame.com>
To:     Tapestry users <users@tapestry.apache.org>



Thanks Ben that worked.

No I'm getting a runtime error relating to tapx-datefield

Virtual folder names (for component libraries) may no longer contain slashes as 
of Tapestry 5.2.
You must change the ComponentClassAsssetAliasManager contribution for 
'tapx/1.0.0-SNAPSHOT/datefield'

TAPX is included in my pom.xml via
<dependency>
<groupId>com.formos.tapestry</groupId>
<artifactId>tapx-datefield</artifactId>
<version>1.0.0</version>
</dependency>

The website for Tapx says that it is compatible with Tapestry 5.2.

Regards,

Greg.



On 25/05/2010 11:50 AM, Ben Dotte wrote:
 I had the same issue; I had to add a new Hibernate repository:

 <repository>
              <id>hibernate</id>
              
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
          </repository>

 Using Hibernate Annotations I also had to add this for some reason:

 <dependency>
              <groupId>javax.persistence</groupId>
              <artifactId>persistence-api</artifactId>
              <version>1.0</version>
          </dependency>

 I found something at the time about Hibernate changing around their
 maven repo location, I guess that is why?

 Anyway hope that helps,
 Ben

 On Mon, May 24, 2010 at 7:46 PM, Greg Pagendam-Turner
 <g...@liftyourgame.com>   wrote:

 Hi,

 I'm trying to build my 5.1.0.5 application against 5.2.0-SNAPSHOT.

 When I switch versions tapestry-hibernate seems to want to pull in a version
 of hibernate called 3.5.2-Final

 I've not been able to find a repository for this version of hibernate. Do I
 need to add a further repository to the pom?

 I've tried creating a 5.2.0-SNAPSHOT application using the Quickstart. This
 all works fine until I add:

 <dependency>
 <groupId>org.apache.tapestry</groupId>
 <artifactId>tapestry-hibernate</artifactId>
 <version>${tapestry-release-version}</version>
 </dependency>

 The tapestry release is defined as:
 <tapestry-release-version>5.2.0-SNAPSHOT</tapestry-release-version>

 I'd appreciate any help.

 Regards,

 Greg.


 ---------------------------------------------------------------------
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



 ---------------------------------------------------------------------
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Reply via email to