aspose file tools*
The moose likes Beginning Java and the fly likes path / classpath for JUnit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "path / classpath for JUnit" Watch "path / classpath for JUnit" New topic
Author

path / classpath for JUnit

Wolfgang Obi
Ranch Hand

Joined: Dec 05, 2005
Posts: 134
Hi i'm trying to configure my Textpad to be able to make use of the JUnit framework...
after configuring i tried compiling this class with JUnit:



this is what comes out....

javac: no source files
Usage: javac <options> <source files>
where possible options include:


can anyone help please?

-W.O.
Garrett Rowe
Ranch Hand

Joined: Jan 17, 2006
Posts: 1296
Are you compiling from the command line or from some shortcut within Textpad?
[ May 01, 2006: Message edited by: Garrett Rowe ]

Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Wolfgang Obi
Ranch Hand

Joined: Dec 05, 2005
Posts: 134
compiling from the "Tools" menu within Textpad.

however, i have finally managed to get the programme to compile...
now the problem lies with running it....

here's the output i keep on getting:

C:\Quellen\gru\MyTestClass.java:3: cannot find symbol
symbol: class TestCase
public class MyTestClass extends TestCase
^
C:\Quellen\gru\MyTestClass.java:6: cannot find symbol
symbol : class Test
location: class MyTestClass
public static Test suite() {
^

*PS: the markers actually point to "TestCase" and "Test" (and not public as is seen in the above output)....so obviously my .jar file isnt beeing found right?

OR


javac: invalid flag: ArrayListTst01
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info


I've been on ths for ridiculously long,....i havent even gotten down to understanding how to use the tool properly,....very frustrating indeed! :-/
[ May 01, 2006: Message edited by: Wolfgang Obi ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: path / classpath for JUnit