You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Scott T Weaver (JIRA)" <je...@portals.apache.org> on 2005/08/18 19:56:59 UTC

[jira] Resolved: (JS2-338) In certain cases j2:portal.genapp overwrites the existing project's project.xml

     [ http://issues.apache.org/jira/browse/JS2-338?page=all ]
     
Scott T Weaver resolved JS2-338:
--------------------------------

    Resolution: Fixed

Added check for the existence of a local project.xml in a custom portal project.

> In certain cases j2:portal.genapp overwrites the existing project's project.xml
> -------------------------------------------------------------------------------
>
>          Key: JS2-338
>          URL: http://issues.apache.org/jira/browse/JS2-338
>      Project: Jetspeed 2
>         Type: Bug
>     Versions: 2.0-FINAL, 2.0-M4
>     Reporter: Scott T Weaver
>     Assignee: Scott T Weaver
>      Fix For: 2.0-FINAL, 2.0-M4

>
> This happens any time initMavenPlugin is called after the creation of a custom portal's project.xml or if the the maven plugin's project.xml has a newer timestamp then the custom portal's project.xml.  Even though the overwrite on the copy task in the plugin has overwrite="false" this does not help the case when the plugin's project.xml has a more recent timestamp.  All the overwrite="false" does is force the copy command to respect timestamps, which it does do.  However, this does not prevent the maven plugin's project.xml with a newer timestamp from overwriting the local project's project.xml.
> A check needs to be put in place to prevent the copy based on the prior existence of a local project.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org