[ http://jira.codehaus.org/browse/MASSEMBLY-158?page=all ]
John Casey closed MASSEMBLY-158. -------------------------------- Assignee: John Casey Resolution: Fixed Fix Version/s: 2.2 applied the patch, with modifications. I centralized the temp-dir creation and deletion to the AssemblyFileUtils class. Then, I moved the code to verify the existence of that temp dir to the DefaultAssemblyArchiver class, so it'll travel with the rest of the assembly main logic if we ever factor that API out of the assembly plugin. > tempRoot directory not created, exceptions thrown when filtering files > ---------------------------------------------------------------------- > > Key: MASSEMBLY-158 > URL: http://jira.codehaus.org/browse/MASSEMBLY-158 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: Linux/maven 2.0.4 > Reporter: Daniel Kulp > Assigned To: John Casey > Fix For: 2.2 > > Attachments: assembly_temproot.patch > > > The tempRoot directory isn't actually created before it attempts to write > files into it. Thus, creation of the files fails with FileNotFound > exceptions. > The patch forces the directory to be created at the start of execute() and > clears it up at the end. It also updates the > org/apache/maven/plugin/assembly/format/FileFormatter.java to make sure the > directory is created first. -- 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