]
-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
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
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,
--- 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.
_
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
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;
--- 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
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
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
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
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
| [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
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
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
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
--- 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.
_
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
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
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
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
20 matches
Mail list logo