Re: Lauching WOunit tests with project dependencies
Re: Lauching WOunit tests with project dependencies
- Subject: Re: Lauching WOunit tests with project dependencies
- From: Alexis Tual <email@hidden>
- Date: Mon, 11 Mar 2013 20:08:13 +0100
Hi Chuck,
thanks for you answer, I've tried it with no success (also I think WOUnit sets it to true).
However back home, I've just noticed this specific project has no dependency on ERFoundation, so I've added it and it *seems* to work. I'll try tomorrow at work to declare official success :)
Alex
2013/3/11 Chuck Hill
<email@hidden>
Hi Alexis,
Are you launching the tests with NSProjectBundleEnabled=true? If not, try that.
Chuck
On 2013-03-11, at 10:20 AM, Alexis Tual wrote:
> Hi all (and Henrique !)
>
> I have a project A depending on project B which is opened in WOLips. My workspace has Generates bundles = true
> A has an eomodeld depending on another one in project B.
> My WOUnit test in project A loads successfully the eomodel but can't resolve a relationship to a project B :
>
> java.lang.IllegalArgumentException: EORelationship(): cannot find entity named FwkGspot_ImplantationGeo for destination of relationship fwkGspot_ImplantationGeo in entity Sco_ImplantationsGeoComposant.
>
> When I print the bundles, project B doesn't appear... If I put projectB/build/projectB.framework in the classpath of the test, it works.
> Is there a better way ?
>
> I can't use bundless builds because it doesn't play well with my other jar dependencies... (Yes I have both dependencies : jars and wolips :))
>
> Thanks for your help
>
>
>
> _______________________________________________
> 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
--
Chuck Hill
Executive Managing Partner, VP Development and Technical Services
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
_______________________________________________
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