[ http://jira.codehaus.org/browse/JBEHAVE-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mauro Talevi resolved JBEHAVE-277. ---------------------------------- Resolution: Fixed > Reports are outputted to $ANT_HOME/lib instead of target dir > ------------------------------------------------------------- > > Key: JBEHAVE-277 > URL: http://jira.codehaus.org/browse/JBEHAVE-277 > Project: JBehave > Issue Type: Bug > Components: Ant extension > Affects Versions: 2.5, 2.5.1 > Reporter: Mauro Talevi > Assignee: Mauro Talevi > Priority: Critical > Fix For: 2.5.2 > > > As reported by Ben Sullivan, when running scenarios via Ant CLI, the reports > are being outputted to $ANT_HOME/lib instead of target dir. > Problem stems from the fact that the FilePrintStreamFactory uses the > scenarioClass.getProtectionDomain().getCodeSource().getLocation().getFile(); > to identify the output dir. The classloading of Ant by default must be > setting the code source location to $ANT_HOME/lib. > Need to find a way to configure Ant classloading or allow explicit setting of > the output directory (currently only the entire output file of the print > stream is configurable, which makes it pretty useless for running with > multiple scenarios). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email