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 tried to download the jar from the gitHub GitHub page with I got a 404 error. 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] 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? Samuel Le 2013-04-17 à 09:29, Martin B <[email protected]> a écrit : > Hi Michael, > > If maven is already installed on you machine, you can easily compile the code > from the command line by typing the following in the root directory of the > WOUnit project: > > mvn clean package > > Then you will be able to retrieve the jar from the "target" subfolder and add > it to your Eclipse. I think the only other requirements is that you need > junit to be present in your classpath. > > That's it! > > Martin > > P.S.: Another solution would be to start using Maven to build your project. > It's a very useful tool, although it doesn't seem to be very popular in the > WO community. > > > Date: Mon, 15 Apr 2013 16:01:17 -0700 > > From: [email protected] > > To: [email protected] > > Subject: Re: [ANN] WOUnit 1.2.2 > > > > Hi Henrique: > > > > I cloned the wounit git repository and added it to my Eclipse workspace > > but now I am stuck. I see a bunch of build errors. The JRE is also > > "hardcoded" to Java 1.5. Can I use Java 1.6? Are there any instructions > > on how to convert the project to a non-maven project? Or are there any > > instructions on what I have todo to get wounit to build via maven within > > Eclipse? > > > > Michael > > > > On 4/14/2013 4:02 PM, Henrique Prange wrote: > > > The WOCommunity team is pleased to announce the release of WOUnit 1.2.2. > > > This release includes fixes for bugs reported by the community. > > > > > > The WOUnit framework contains a set of utilities for testing WebObjects > > > applications using JUnit 4.7 or later capabilities. See the WOUnit > > > website for more information: > > > > > > http://hprange.github.com/wounit/ > > > > > > Maven users should specify the version in your project's configuration: > > > > > > <dependency> > > > <groupId>com.wounit</groupId> > > > <artifactId>wounit</artifactId> > > > <version>1.2.2</version> > > > </dependency> > > > > > > Non Maven users have to download the wounit-1.2.2.jar: > > > > > > http://maven.wocommunity.org/service/local/repositories/releases/content/com/wounit/wounit/1.2.2/wounit-1.2.2.jar > > > > > > Release Notes - WOUnit - Version 1.2.2 > > > > > > ** Bug Fixes > > > * An exception in the cleanup code hide the original exception in > > > failing test cases > > > > > > Enjoy, > > > > > > 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/mhast%40desertsky.com > > > > > > This email sent to [email protected] > > > > > > > -- > > Tel: (602) 279-4600 ext: 635 > > Desert Sky Software: www.desertsky.com > > Specializing in the Development and Hosting of > > e-Business Applications. > > _______________________________________________ > > 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/syrinx2002%40msn.com > > > > This email sent to [email protected] > _______________________________________________ > 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/samuel%40samkar.com > > This email sent to [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
