Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to configure default .log file name

Jan,
 
Thanks for your prompt response. Currently I am using 0.13 but it will realy help me.
 --
God bless all,
Ramesh
 
From: "Sievers, Jan" <jan.sievers@xxxxxxx>
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Sent: Thursday, 15 March 2012 7:05 PM
Subject: Re: [tycho-user] How to configure default .log file name

as of tycho 0.14.1, you can use surefire redirectTestOutputToFile=true [1]

you should get a separate log file for each test containing System.out/err logs in target/surefire-reports/

As for the OSGi log in <workspace>/.metadata/.log, this can be only one log file per equinox instance and all tests are being run inside the same equinox instance.

Regards,
Jan

[1] http://www.eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/test-mojo.html#redirectTestOutputToFile

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of ramesh gunjal
Sent: Donnerstag, 15. März 2012 14:25
To: Tycho user list
Subject: [tycho-user] How to configure default .log file name

Hi,
For some reason I want to change default test .log filename in tycho. This is because I am running one test at a time and the .log file gets updated for each run. In order to mentain log for each test I want to rename it by testname
For example currently it is located at "\workspace\com.xxx.myapp.test\work\data\.metadata\.log" and I want something like "\workspace\com.xxx.myapp.test\work\data\.metadata\test_name.log"
Is there any way in tycho/maven I can configure .log file name?
--
God bless all,
Ramesh
 
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top