You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2005/08/26 16:38:02 UTC

[jira] Created: (MNG-793) eclipse:eclipse writes timestamp to .settings file

eclipse:eclipse writes timestamp to .settings file
--------------------------------------------------

         Key: MNG-793
         URL: http://jira.codehaus.org/browse/MNG-793
     Project: Maven 2
        Type: Bug
  Components: maven-plugins  
    Versions: 2.0-beta-1    
 Reporter: Mark Hobson


EclipseWriter uses Properties.store() to write the .settings file - this always writes the current date as a comment in the first line of the file.  This is annoying since every m2 eclipse:eclipse will result in uncommitted changes, i.e. diffs like:

-#Fri Aug 26 15:25:40 BST 2005
+#Fri Aug 26 15:30:17 BST 2005

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-793) eclipse:eclipse writes timestamp to .settings file

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-793?page=all ]

Brett Porter updated MNG-793:
-----------------------------

    Fix Version: 2.0-beta-4

> eclipse:eclipse writes timestamp to .settings file
> --------------------------------------------------
>
>          Key: MNG-793
>          URL: http://jira.codehaus.org/browse/MNG-793
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0-beta-1
>     Reporter: Mark Hobson
>      Fix For: 2.0-beta-4

>
>
> EclipseWriter uses Properties.store() to write the .settings file - this always writes the current date as a comment in the first line of the file.  This is annoying since every m2 eclipse:eclipse will result in uncommitted changes, i.e. diffs like:
> -#Fri Aug 26 15:25:40 BST 2005
> +#Fri Aug 26 15:30:17 BST 2005

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-793) eclipse:eclipse writes timestamp to .settings file

Posted by "Mark Hobson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-793?page=comments#action_47628 ] 

Mark Hobson commented on MNG-793:
---------------------------------

This could be fixed whilst still using Properties.store() by only writing property files if their contents have changed.

> eclipse:eclipse writes timestamp to .settings file
> --------------------------------------------------
>
>          Key: MNG-793
>          URL: http://jira.codehaus.org/browse/MNG-793
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0-beta-1
>     Reporter: Mark Hobson
>      Fix For: 2.0-beta-4

>
>
> EclipseWriter uses Properties.store() to write the .settings file - this always writes the current date as a comment in the first line of the file.  This is annoying since every m2 eclipse:eclipse will result in uncommitted changes, i.e. diffs like:
> -#Fri Aug 26 15:25:40 BST 2005
> +#Fri Aug 26 15:30:17 BST 2005

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-793) eclipse:eclipse writes timestamp to .settings file

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-793?page=all ]

Brett Porter updated MNG-793:
-----------------------------

    Component:     (was: maven-plugins)
               maven-eclipse-plugin

> eclipse:eclipse writes timestamp to .settings file
> --------------------------------------------------
>
>          Key: MNG-793
>          URL: http://jira.codehaus.org/browse/MNG-793
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0-beta-1
>     Reporter: Mark Hobson

>
>
> EclipseWriter uses Properties.store() to write the .settings file - this always writes the current date as a comment in the first line of the file.  This is annoying since every m2 eclipse:eclipse will result in uncommitted changes, i.e. diffs like:
> -#Fri Aug 26 15:25:40 BST 2005
> +#Fri Aug 26 15:30:17 BST 2005

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-793) eclipse:eclipse writes timestamp to .settings file

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-793?page=all ]
     
Brett Porter closed MNG-793:
----------------------------

    Resolution: Fixed

> eclipse:eclipse writes timestamp to .settings file
> --------------------------------------------------
>
>          Key: MNG-793
>          URL: http://jira.codehaus.org/browse/MNG-793
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0-beta-1
>     Reporter: Mark Hobson
>     Assignee: Allan Ramirez
>      Fix For: 2.0
>  Attachments: MNG-793-maven-eclipse-plugin.patch
>
> Original Estimate: 3 hours
>         Remaining: 3 hours
>
> EclipseWriter uses Properties.store() to write the .settings file - this always writes the current date as a comment in the first line of the file.  This is annoying since every m2 eclipse:eclipse will result in uncommitted changes, i.e. diffs like:
> -#Fri Aug 26 15:25:40 BST 2005
> +#Fri Aug 26 15:30:17 BST 2005

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-793) eclipse:eclipse writes timestamp to .settings file

Posted by "allan ramirez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-793?page=all ]

allan ramirez updated MNG-793:
------------------------------

    Remaining Estimate: 3 hours
     Original Estimate: 10800

> eclipse:eclipse writes timestamp to .settings file
> --------------------------------------------------
>
>          Key: MNG-793
>          URL: http://jira.codehaus.org/browse/MNG-793
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0-beta-1
>     Reporter: Mark Hobson
>     Assignee: allan ramirez
>      Fix For: 2.0-beta-4

>
> Original Estimate: 3 hours
>         Remaining: 3 hours
>
> EclipseWriter uses Properties.store() to write the .settings file - this always writes the current date as a comment in the first line of the file.  This is annoying since every m2 eclipse:eclipse will result in uncommitted changes, i.e. diffs like:
> -#Fri Aug 26 15:25:40 BST 2005
> +#Fri Aug 26 15:30:17 BST 2005

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-793) eclipse:eclipse writes timestamp to .settings file

Posted by "allan ramirez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-793?page=all ]

allan ramirez updated MNG-793:
------------------------------

    Attachment: MNG-793-maven-eclipse-plugin.patch

Attached patch checks if the file has changed, restricting it to recreate with different timestamp.

> eclipse:eclipse writes timestamp to .settings file
> --------------------------------------------------
>
>          Key: MNG-793
>          URL: http://jira.codehaus.org/browse/MNG-793
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0-beta-1
>     Reporter: Mark Hobson
>     Assignee: allan ramirez
>      Fix For: 2.0-beta-4
>  Attachments: MNG-793-maven-eclipse-plugin.patch
>
> Original Estimate: 3 hours
>         Remaining: 3 hours
>
> EclipseWriter uses Properties.store() to write the .settings file - this always writes the current date as a comment in the first line of the file.  This is annoying since every m2 eclipse:eclipse will result in uncommitted changes, i.e. diffs like:
> -#Fri Aug 26 15:25:40 BST 2005
> +#Fri Aug 26 15:30:17 BST 2005

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org