| [GRADLE-950] java plugin test task passes core system properties to forked vm Created: 01/Jun/10 Updated: 04/Jan/13 Resolved: 04/Jun/10 | |
| Status: | Resolved | 
| Project: | Gradle | 
| Affects Version/s: | 0.9 | 
| Fix Version/s: | None | 
| Type: | New Feature | ||
| Reporter: | Szczepan Faber | Assignee: | Hans Dockter | 
| Resolution: | Fixed | Votes: | 0 | 
| Description | 
| Given following configuration of test task: task mytests (type: Test) { Forked vm that executes tests does not contain following system properties: 
 Other tools: ant, IDEA, eclipse are passing those properties to forked vms. It would be nice if Gradle java plugin did it as well  | 
| Comments | 
| Comment by Szczepan Faber [ 01/Jun/10 ] | 
| More info: when I tried to set java.class.path in gradle via systemProperties('java.class.path' : 'myclasspath') it is overridden later in the game by: somepath\gradle-core-worker-0.9-preview-1.jar | 
| Comment by Adam Murdoch [ 02/Jun/10 ] | 
| Could you try this using 0.9-preview-2? | 
| Comment by Szczepan Faber [ 02/Jun/10 ] | 
| Yes, I tried and sys properies are passed correctly. Thanks! |