Re: Junit tests failing through ant, but succesful when run from IDE

2008-10-07 Thread Ram.s

My junit element in the build file is as follows:


















I've named my junit tests as *Fit.java, and that is my Requirement. 
--

lkamal wrote:
> 
> How do you call the test with your build file? Does your target with the
> test start execution?
> 
> 
> ---
> http://lkamal.blogspot.com
> 
> 
> On Tue, Oct 7, 2008 at 3:53 PM, Ram.s <[EMAIL PROTECTED]> wrote:
> 
>>
>> Hi all,
>>
>> I'm running junit tests from my IntelliJ IDEA, and the test has no
>> problems
>> and is successful.
>> But when i wrote a junit target in my build file to run this test, its
>> saying the test has failed.
>>
>> I dont think the target is executing the test atall .
>>
>> Its urgent,
>> Please, can anyone come up with some ideas..?
>>
>> Thank You in advance,
>> Ram.s
>> --
>> View this message in context:
>> http://www.nabble.com/Junit-tests-failing-through-ant%2C-but-succesful-when-run-from-IDE-tp19855358p19855358.html
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Junit-tests-failing-through-ant%2C-but-succesful-when-run-from-IDE-tp19855358p19855975.html
Sent from the Ant - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Junit tests failing through ant, but succesful when run from IDE

2008-10-07 Thread Kamal Chandana Mettananda
How do you call the test with your build file? Does your target with the
test start execution?


---
http://lkamal.blogspot.com


On Tue, Oct 7, 2008 at 3:53 PM, Ram.s <[EMAIL PROTECTED]> wrote:

>
> Hi all,
>
> I'm running junit tests from my IntelliJ IDEA, and the test has no problems
> and is successful.
> But when i wrote a junit target in my build file to run this test, its
> saying the test has failed.
>
> I dont think the target is executing the test atall .
>
> Its urgent,
> Please, can anyone come up with some ideas..?
>
> Thank You in advance,
> Ram.s
> --
> View this message in context:
> http://www.nabble.com/Junit-tests-failing-through-ant%2C-but-succesful-when-run-from-IDE-tp19855358p19855358.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Junit tests failing through ant, but succesful when run from IDE

2008-10-07 Thread Ram.s

Hi all,

I'm running junit tests from my IntelliJ IDEA, and the test has no problems
and is successful.
But when i wrote a junit target in my build file to run this test, its
saying the test has failed. 

I dont think the target is executing the test atall . 

Its urgent,
Please, can anyone come up with some ideas..?

Thank You in advance,
Ram.s
-- 
View this message in context: 
http://www.nabble.com/Junit-tests-failing-through-ant%2C-but-succesful-when-run-from-IDE-tp19855358p19855358.html
Sent from the Ant - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



is broken with Jython in 1.7.1

2008-10-07 Thread ext-simon.steiner
Hi,

I am getting this with error with 1.7.1 and not with 1.7.0. Calling just
self.xxx doesn't cause problems. There was a similar issue, I've
included below.

SyntaxError: ('invalid syntax', ('', 2, 13, "errorsTotal =
project.getPr
operty('build.errors.total')"))



errorsTotal = project.getProperty('build.errors.total')
self.setValue(True)


Thanks

List:   ant-dev
Subject: is broken with Jython in the recent trunk
builds
From:   "Alexey N. Solofnenko" 
Date:   2007-07-30 23:08:30
Message-ID: 46AE6F6E.3000700 () mdl ! com
[Download message RAW]

Recent trunk ANT fails in my builds because  does 
something with the script that Jython cannot digest (new lines?).  
 with the same code works fine. This is a test script: