Hi Samuel,

On 03/05/2013, at 12:34, Samuel Pelletier <[email protected]> wrote:

> Hi,
> 
> I would like to add tests to a WO framework with business logic, wounit seems 
> a good tool but I cannot get it.
> 
> I tried to import the sources in Eclipse but I only got a bunch of errors.
> 

I've removed Eclipse configuration files from the source repository. I hope it 
makes easy to import the WOUnit project in alternative environments.

> I tried to download the jar from the gitHub GitHub page with I got a 404 
> error.

Thanks for reporting. It's fixed now.

> 
> I tried the maven command from Michaek on my Mac with Xcode installed and 
> only got this error after a bunch of downloads:
> [ERROR] Failed to execute goal on project wounit: Could not resolve 
> dependencies for project com.wounit:wounit:jar:1.3-SNAPSHOT: The following 
> artifacts could not be resolved: wonder.core:ERFoundation:jar:1.0, 
> wonder.core:ERExtensions:jar:5.4.2, 
> wonder.eoadaptors:JavaMemoryAdaptor:jar:5.4.2, 
> com.webobjects:JavaFoundation:jar:5.4.3, 
> com.webobjects:JavaEOAccess:jar:5.4.3, 
> com.webobjects:JavaEOControl:jar:5.4.3, wonder.core:ERPrototypes:jar:5.4.2: 
> Failure to find wonder.core:ERFoundation:jar:1.0 in 
> http://repo1.maven.org/maven2 was cached in the local repository, resolution 
> will not be reattempted until the update interval of central has elapsed or 
> updates are forced -> [Help 1]
> 

Building WOUnit with Maven requires a small setup in your environment (the same 
required to build regular WO projects with Maven). I've added more information 
on how to build WOUnit with Maven and Ant in the readme file [1].

> I'm out of options here. 
> 
> Is there a way to get the jar, build this library or even better use the 
> source in eclipse like I do with Wonder?
> 

The best way is downloading it from the WOUnit's website. You should only have 
to build manually from source if you want to change or debug the WOUnit code 
itself. 

[1]https://github.com/hprange/wounit

Cheers,

Henrique
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to