[ANNOUNCEMENT] Jakarta Cactus 1.8.1 Released

2009-01-26 Thread Petar Tahchiev
The Jakarta Cactus project is pleased to announce the release of version
1.8.1. This version fixes a number of bugs.
It also provides a maven2 plugin to cactify your WAR and EAR files, as well
as a sample application
on how to test your EJB3 projects.

Please download and enjoy.

Download - 
http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi
Release notes -
http://svn.apache.org/repos/asf/jakarta/cactus/tags/1.8.1/ANNOUNCEMENT.txt
Cactus website - http://jakarta.apache.org/cactus/

About Cactus -

Cactus is a simple test framework for unit testing server-side java code
(Servlets, EJBs, Tag Libs, Filters, ...).

The intent of Cactus is to lower the cost of writing tests for server-side
code. It uses JUnit http://junit.org/ and extends it.

Cactus implements an in-container strategy, meaning that tests are executed
inside the container.

Enjoy,

Jakarta Cactus Team

--
Regards, Petar!
Karlovo, Bulgaria.

EOOXML objections
http://www.grokdoc.net/index.php/EOOXML_objections

Public PGP Key at:
http://keyserver.linux.it/pks/lookup?op=getsearch=0x1A15B53B761500F9
Key Fingerprint: AA16 8004 AADD 9C76 EF5B  4210 1A15 B53B 7615 00F9


Re: [ANNOUNCEMENT] Jakarta Cactus 1.8.1 Released

2009-01-26 Thread Bo van Weert
Hi,

are there any examples available for the includeCactusJars tag?
I put includeCactusJarsfalse/includeCactusJars within the 
configuration part of the cactify execution, but it was still looking 
for the jars..

cheers,
Bo




Petar Tahchiev paranoiabla.li...@gmail.com 
26/01/2009 11:04
Por favor, responda a
Cactus Users List cactus-user@jakarta.apache.org


Para
announceme...@jakarta.apache.org, cactus-...@jakarta.apache.org, 
cactus-user@jakarta.apache.org, priv...@jakarta.apache.org
cc

Asunto
[ANNOUNCEMENT] Jakarta Cactus 1.8.1 Released






The Jakarta Cactus project is pleased to announce the release of version
1.8.1. This version fixes a number of bugs.
It also provides a maven2 plugin to cactify your WAR and EAR files, as 
well
as a sample application
on how to test your EJB3 projects.

Please download and enjoy.

Download - 
http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi
Release notes -

http://svn.apache.org/repos/asf/jakarta/cactus/tags/1.8.1/ANNOUNCEMENT.txt

Cactus website - http://jakarta.apache.org/cactus/

About Cactus -

Cactus is a simple test framework for unit testing server-side java code
(Servlets, EJBs, Tag Libs, Filters, ...).

The intent of Cactus is to lower the cost of writing tests for server-side
code. It uses JUnit http://junit.org/ and extends it.

Cactus implements an in-container strategy, meaning that tests are 
executed
inside the container.

Enjoy,

Jakarta Cactus Team

--
Regards, Petar!
Karlovo, Bulgaria.

EOOXML objections
http://www.grokdoc.net/index.php/EOOXML_objections

Public PGP Key at:
http://keyserver.linux.it/pks/lookup?op=getsearch=0x1A15B53B761500F9
Key Fingerprint: AA16 8004 AADD 9C76 EF5B  4210 1A15 B53B 7615 00F9



Re: [ANNOUNCEMENT] Jakarta Cactus 1.8.1 Released

2009-01-26 Thread Petar Tahchiev
Hi Bo,

the includeCactusJars works only with the Ant task,
If you want to see the same behaviour in the maven2 mojos
please open an issue in the JIRA and the Cactus team
will decide if the issue is relative

Cheers.

2009/1/26 Bo van Weert b.v.we...@valbosoft.com

 Hi,

 are there any examples available for the includeCactusJars tag?
 I put includeCactusJarsfalse/includeCactusJars within the
 configuration part of the cactify execution, but it was still looking
 for the jars..

 cheers,
 Bo




 Petar Tahchiev paranoiabla.li...@gmail.com
 26/01/2009 11:04
 Por favor, responda a
 Cactus Users List cactus-user@jakarta.apache.org


 Para
 announceme...@jakarta.apache.org, cactus-...@jakarta.apache.org,
 cactus-user@jakarta.apache.org, priv...@jakarta.apache.org
 cc

 Asunto
 [ANNOUNCEMENT] Jakarta Cactus 1.8.1 Released






 The Jakarta Cactus project is pleased to announce the release of version
 1.8.1. This version fixes a number of bugs.
 It also provides a maven2 plugin to cactify your WAR and EAR files, as
 well
 as a sample application
 on how to test your EJB3 projects.

 Please download and enjoy.

 Download - 
 http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi
 Release notes -
 
 http://svn.apache.org/repos/asf/jakarta/cactus/tags/1.8.1/ANNOUNCEMENT.txt
 
 Cactus website - http://jakarta.apache.org/cactus/

 About Cactus -

 Cactus is a simple test framework for unit testing server-side java code
 (Servlets, EJBs, Tag Libs, Filters, ...).

 The intent of Cactus is to lower the cost of writing tests for server-side
 code. It uses JUnit http://junit.org/ and extends it.

 Cactus implements an in-container strategy, meaning that tests are
 executed
 inside the container.

 Enjoy,

 Jakarta Cactus Team

 --
 Regards, Petar!
 Karlovo, Bulgaria.

 EOOXML objections
 http://www.grokdoc.net/index.php/EOOXML_objections

 Public PGP Key at:
 http://keyserver.linux.it/pks/lookup?op=getsearch=0x1A15B53B761500F9
 Key Fingerprint: AA16 8004 AADD 9C76 EF5B  4210 1A15 B53B 7615 00F9




-- 
Regards, Petar!
Karlovo, Bulgaria.
- - - - - - - -
| Author @ Manning Publications.
| Senior Solution Architect @ Unic
| BGJUG-Bulgarian Java User Group Leader.
| Apache Maven Developer.
| Apache Jakarta PMC member.
| Jakarta Cactus Lead Developer.
| Blogger: http://weblogs.java.net/blog/paranoiabla/
- - - - - - - -
Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611


RE: Viewing Test Results

2009-01-26 Thread Nicole Luneburg
Hi,

Thanks for the welcome and the response!

Ok so before I modified my assert, I took it out to see what happens.
My class looking like:

package myapp.ejb.service;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;

import org.apache.cactus.ServletTestCase;
import org.apache.cactus.WebRequest;
import org.apache.cactus.client.authentication.FormAuthentication;
import org.apache.log4j.Logger;

public class UserTest extends ServletTestCase {

private static final Logger log = 
Logger.getLogger(UserTest.class);

public UserTest(final String name) {
super(name);
}

public void begin(WebRequest theRequest) {
System.out.println(inside begin());

  
theRequest.setRedirectorName(ServletRedirectorSecure);
theRequest.setAuthentication(new 
FormAuthentication(test, test));
}

public void setUp() throws Exception {
log.info(inside setUp() );
}

protected void tearDown() throws Exception {
log.info(inside tearDown() );
}

public void testGetUserString() {
log.info(inside testGetUserString());
}
}

So points are:

1) This test fails.
2) This test is successful if I take out the WebRequest operations in the 
begin(...) method. Why?
3) I'm not sure if I mentioned in my last email ... the xml files are not 
generating at all even though I followed the example app so I cannot see any 
output there :(:

Nicole


The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this email 
is free of viruses or other defects. If you have received this communication in 
error, you may not copy or distribute any part of it or otherwise disclose its 
contents to anyone. Please advise the sender of your incorrect receipt of this 
correspondence.

-
To unsubscribe, e-mail: cactus-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: cactus-user-h...@jakarta.apache.org