RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Session Mwamufiya
] -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 5:57 PM To: Struts Users Mailing List Subject: Re: running the test in the HelloWorld tutorial On 6/9/07, Session Mwamufiya <[EMAIL PROTECTED]> wrote: > I moved my build.bat file to the root leve

Re: running the test in the HelloWorld tutorial

2007-06-09 Thread Wendy Smoak
On 6/9/07, Session Mwamufiya <[EMAIL PROTECTED]> wrote: I moved my build.bat file to the root level, and am only using one file to build the code, the test, and run the test. This is the content of build.bat: @echo off set CLASSPATH=WEB-INF\lib\xwork-2.0.1.jar;WEB-INF\lib\junit-4.3.1.jar;WEB-I

Re: running the test in the HelloWorld tutorial

2007-06-09 Thread Frank W. Zammetti
y wrong in what I'm doing? Session A. Mwamufiya Carnegie Mellon University MBA | Tepper School of Business MSE (software eng.) | School of Computer Science T: (412) 508-5455 | [EMAIL PROTECTED] -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09,

[OT] RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Dave Newton
--- Session Mwamufiya <[EMAIL PROTECTED]> wrote: > The output I get is: > java.lang.NoClassDefFoundError: > org/apache/commons/logging/LogFactory That's because you don't have all the dependent classes on your classpath, like I said in an earlier email. d. _

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Session Mwamufiya
Carnegie Mellon University MBA | Tepper School of Business MSE (software eng.) | School of Computer Science T: (412) 508-5455 | [EMAIL PROTECTED] -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 4:29 PM To: Struts Users Mailing List Subjec

Re: running the test in the HelloWorld tutorial

2007-06-09 Thread Wendy Smoak
On 6/9/07, Session Mwamufiya <[EMAIL PROTECTED]> wrote: I'm running the test from "WEB-INF/scr/Test" where both "HelloWorldTest.java" and "HelloWorldTest.class" are located. If you changed the package for the action, you need to do the same for the test. Do they both have "package helloworld;

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Dave Newton
--- Session Mwamufiya <[EMAIL PROTECTED]> wrote: > - WEB-INF/scr/Test: my test java files, including > HelloWorldTest.java; as > well as the compiled class files for test java files > - WEB-INF/classes: contains struts.xml > - WEB-INF/classes/helloworld: the compiled class > files for the regular j

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Session Mwamufiya
puter Science T: (412) 508-5455 | [EMAIL PROTECTED] -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 4:11 PM To: Struts Users Mailing List Subject: RE: running the test in the HelloWorld tutorial Okay, what is your directory structure? Are both .j

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Dave Newton
ng > > with the test? > > > > Here's the output from the command line: > > JUnit version 4.3.1 > > Could not find class: helloworld.HelloWorldTest > > > > Time: 0 > > > > OK (0 tests) > > > > Any ideas? > > > > Thanks a mi

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Session Mwamufiya
g.) | School of Computer Science T: (412) 508-5455 | [EMAIL PROTECTED] -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 3:50 PM To: Struts Users Mailing List Subject: RE: running the test in the HelloWorld tutorial What is your CLASSPATH? --- Se

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Dave Newton
are eng.) | School of Computer Science > T: (412) 508-5455 | [EMAIL PROTECTED] > > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 09, 2007 2:54 PM > To: Struts Users Mailing List > Subject: Re: running the test in the He

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Session Mwamufiya
| [EMAIL PROTECTED] -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 2:54 PM To: Struts Users Mailing List Subject: Re: running the test in the HelloWorld tutorial On 6/9/07, Session Mwamufiya <[EMAIL PROTECTED]> wrote: > I currently bui

Re: running the test in the HelloWorld tutorial

2007-06-09 Thread Wendy Smoak
On 6/9/07, Session Mwamufiya <[EMAIL PROTECTED]> wrote: I currently build my java files with a .bat files that simply calls on javac and places the class files where I want them. That's the info I was looking for. :) Are you already able to compile the test? (That will tell me you've alread

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Session Mwamufiya
lto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 2:19 PM To: Struts Users Mailing List Subject: RE: running the test in the HelloWorld tutorial --- Deepak Kumar <[EMAIL PROTECTED]> wrote: > Please chekck > http://www.roseindia.net/struts/struts2/struts-2-hello-world.shtml Hmm, I did

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Session Mwamufiya
A | Tepper School of Business MSE (software eng.) | School of Computer Science T: (412) 508-5455 | [EMAIL PROTECTED] -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 2:19 PM To: Struts Users Mailing List Subject: Re: running the test in the HelloWo

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Dave Newton
--- Deepak Kumar <[EMAIL PROTECTED]> wrote: > Please chekck > http://www.roseindia.net/struts/struts2/struts-2-hello-world.shtml Hmm, I didn't see anything there regarding the tests, which I think is what the OP was asking about? d. _

Re: running the test in the HelloWorld tutorial

2007-06-09 Thread Wendy Smoak
On 6/9/07, Session A Mwamufiya <[EMAIL PROTECTED]> wrote: That's exactly the one Wendy! I wasn't using an IDE to code the java pages for the HelloWorld tutorial, but my IDE of choice, if one is needed for the test, is Eclipse 3.2. An IDE is not required. The tutorial assumes you have some

RE: running the test in the HelloWorld tutorial

2007-06-09 Thread Deepak Kumar
Please chekck http://www.roseindia.net/struts/struts2/struts-2-hello-world.shtml Thanks -Original Message- From: Session A Mwamufiya [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 11:37 PM To: Struts Users Mailing List Subject: Re: running the test in the HelloWorld tutorial

Re: running the test in the HelloWorld tutorial

2007-06-09 Thread Session A Mwamufiya
That's exactly the one Wendy! I wasn't using an IDE to code the java pages for the HelloWorld tutorial, but my IDE of choice, if one is needed for the test, is Eclipse 3.2. Thanks a bunch Session > On 6/9/07, Session Mwamufiya <[EMAIL PROTECTED]> wrote: > >> I've been able to set up struts 2

Re: running the test in the HelloWorld tutorial

2007-06-09 Thread Wendy Smoak
On 6/9/07, Session Mwamufiya <[EMAIL PROTECTED]> wrote: I've been able to set up struts 2 after a long review of everything needed, and am now looking to run the test that was given in the HelloWorld tutorial to test the HelloWorld action. I understand what the code does, but what do I need to