AW: java.lang.NoClassDefFoundError: junit/framework/Test

2008-05-13 Thread Jan.Materne
You need JUnit's jar file (junit-.jar) on your classpath. Jan > -Ursprüngliche Nachricht- > Von: HelpMePlz [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 14. Mai 2008 06:52 > An: user@ant.apache.org > Betreff: java.lang.NoClassDefFoundError: junit/framework/Test > > > Hi to All >

AW: Class path error

2008-05-13 Thread Jan.Materne
A startable JAR file (java(w) -jar my.jar; doubleclick on the jar) needs two information: - which class to start - additional classpath entries These information are made in the META-INF/manifest.mf in - Main-Class: package.Driver_1 - Class-Path: path/one.jar path/two.jar Ant's with nested can b

java.lang.NoClassDefFoundError: junit/framework/Test

2008-05-13 Thread HelpMePlz
Hi to All i am new to this forum . i am getting this error java.lang.NoClassDefFoundError: junit/framework/Test for one of my testcase class.my testcase class is import servletunit.struts.MockStrutsTestCase; public class TestAdminLogin extends MockStrutsTestCase{

Re: test mail

2008-05-13 Thread Martin
Revert to to ? M- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, May 13, 2008 10:59 AM Subject: test mail Hi, Please revert. Sorry for inconvenience. Regards, Irfan - To unsubscribe, e

Re: On error Redo some TasK

2008-05-13 Thread David Weintraub
Ant usually fails on a failed task. There are certain tasks where this rule could be overturned "those with a "failson" parameter, but most of the time, if something fails, you really want to stop the build process. However, there is a special task in the AntContrib directory that I've used before

Class path error

2008-05-13 Thread Van Dessel Ivan
To run my project correctly I run "java package.Driver_1" after I run command "source" on a script file that exports two directories of jar files. How do I implement the exporting of library jars into my build file for ant to make a jar file so that I can just run it. I have been adding attrib

Re: list out no. of targets

2008-05-13 Thread David Weintraub
Put a "description" attribute on the targets you want to make visible, and then you can use "ant -projecthelp" to list those targets. That way, "internal" targets aren't listed with the targets you want the developers to see. Otherwise, if you're on Unix, you can use sed: sed -n '/ wrote: > Hi Al

Re: how to capture output from a target as xml

2008-05-13 Thread David Weintraub
What about the task? On Mon, May 12, 2008 at 2:28 AM, Md. Jahidul Hasan <[EMAIL PROTECTED]> wrote: > I have found that task can record the message into a file as text > format, but how can I grab those as xml ? > > > > > > Hi > > > > Is it possible to capture the output from a single target

Re: Replace string in file

2008-05-13 Thread David Weintraub
What type of replacement? You can do a filter on strings like @VERSION@, @DATE@, @FOO@, or whatever you want via filtersets and mappers when you copy. For example, I have some configuration files. They're called *.properties.template, and I replace the @xxx@ strings with values from a deploy.proper

Re: list out no. of targets

2008-05-13 Thread James Fuller
try -projecthelp Options: -help, -h print this message -projecthelp, -p print project help information -version print the version information and exit -diagnostics print information that might be helpful to diagnose or rep

Re: How to load part of a file

2008-05-13 Thread Gilbert Rebhan
Md. Jahidul Hasan schrieb: Hi, I have a text file with few blocks in it. -- Block 1 : Some text Block 2 : Some text Block 3 : Some text -- How I can read the file from Block 2 to end of the file ? see AntManual, filt

list out no. of targets

2008-05-13 Thread Irfan.Sayed
Hi All, How to list out no. of targets in build.xml file using ANT command. Please let me know. Please help. Regards, Irfan

test mail

2008-05-13 Thread Irfan.Sayed
Hi, Please revert. Sorry for inconvenience. Regards, Irfan

How to load part of a file

2008-05-13 Thread Md. Jahidul Hasan
Hi, I have a text file with few blocks in it. -- Block 1 : Some text Block 2 : Some text Block 3 : Some text -- How I can read the file from Block 2 to end of the file ? Br Jahid ---