ArquillianDescriptor descriptor = configuration.get();
if(descriptor == null)
{
return;
}
EngineDef engine = descriptor.engine();
String systemExport = System.getProperty("arquillian.deploymentExportPath");
String exportPath = (systemExport == null || systemExport.length() == 0) ? engine.getDeploymentExportPath():systemExport;
if(exportPath != null && event.getDeployment().isArchiveDeployment())
{
File exportDir = new File(exportPath);
if (exportDir.isFile())