• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maven newbie - problem with building and including the Houdah frameworks in my project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maven newbie - problem with building and including the Houdah frameworks in my project


  • Subject: Re: Maven newbie - problem with building and including the Houdah frameworks in my project
  • From: Henrique Prange <email@hidden>
  • Date: Mon, 27 Jun 2011 10:30:24 -0300

Hi Elizabeth,

You don't need to build it. The latest version of Houdah framework is available in WOCommunity repository [1].

Configure the Maven settings as described in this guide [2], and add the following dependency to the pom.xml:

<dependency>
   <groupId>com.houdah</groupId>
   <artifactId>HoudahEOAccess</artifactId>
   <version>1.1</version>
</dependency>

Maven will download the HoudahEOAccess framework and the required transitive dependencies for you. :)

[1]http://maven.wocommunity.org
[2]http://wiki.objectstyle.org/confluence/display/WOL/Quick+Start

Sent from my iPhone

On 26/06/2011, at 14:16, Elizabeth Lynch <email@hidden> wrote:

> Hi
>
> I have recently taken on support of a WebObjects project which builds and deploy a war file from the command line using maven and jetty (and is in Eclipse for code development).  I installed maven and the existing project code on my usual WO 5.4 development system and everything runs perfectly.
>
> I want to add the Houdah EOAccess framework to use the qualifier additions. I downloaded the source code from http://code.google.com/p/houdah-webobjects-frameworks/ and built EOControl and EOAccess frameworks by running mvn package with the packaging set to 'jar'. I have included an Info.plist  in src/main/resources and set the 'flatten' property for maven-wolifecycle-plugin. (I have tried with packaging set to woframework and also to jar).   I have installed the 3 jar files in my .m2 maven repository,  set my project dependencies and checked that they are definitely included in my .war file snapshot after building.
>
> When I run the resulting app and try to access the houdah qualifier I get the exception:
>
> java.lang.IllegalArgumentException: Qualifier (groups CONTAINS at least 1 match(es) for ((name = 'Test')) (class com.houdah.eocontrol.qualifiers.ExistsInRelationshipQualifier (does not implement EOQualifierSQLGeneration.
>
> I can't work out how to get past this block.  Can anyone advise on a way to build the frameworks and successfully include them in the project so that (a) they will be included in the final .war and (b) will work?
>
> Liz _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Maven newbie - problem with building and including the Houdah frameworks in my project
      • From: Elizabeth Lynch <email@hidden>
References: 
 >Maven newbie - problem with building and including the Houdah frameworks in my project (From: Elizabeth Lynch <email@hidden>)

  • Prev by Date: Re: Fetching to-one-relationship: How to use willRead and willReadRelationship?
  • Next by Date: Xcode Migration tool 4 errors and 12 warnings.
  • Previous by thread: Maven newbie - problem with building and including the Houdah frameworks in my project
  • Next by thread: Re: Maven newbie - problem with building and including the Houdah frameworks in my project
  • Index(es):
    • Date
    • Thread