[ https://issues.apache.org/jira/browse/JS2-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983380#comment-14983380 ]
David Sean Taylor commented on JS2-1343: ---------------------------------------- Ernst, Is this a duplicate of https://issues.apache.org/jira/browse/JS2-1334 ? > jetspeed-unpack-maven-plugin unpack does not overwrite files > ------------------------------------------------------------ > > Key: JS2-1343 > URL: https://issues.apache.org/jira/browse/JS2-1343 > Project: Jetspeed 2 > Issue Type: Bug > Components: Assembly/Configuration > Affects Versions: 2.2.2, 2.3.0 > Reporter: Ernst Blaas > > The unpack-maven-plugin doesn't overwrite files where the existim timstame is > equal to the zip entry file timstamp > see org/apache/jetspeed/maven/utils/UnpackResources.java > if ( destFile.lastModified() >= fileEntry.getTime() || > !unpackResources[i].isOverwrite() ) > { > if (verbose) > { > log.info(fileEntry.getName()+" > skipped: already exists at "+destFile.getAbsolutePath()); > } > else > { > log.debug(fileEntry.getName()+" > skipped: already exists at "+destFile.getAbsolutePath()); > } > continue; > } > unpackResources[i].isOverwrite() is ignored even if set to true, since the > first part from OR evaluates to true, and we skip the entry -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org