You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/02/17 08:09:24 UTC
[jira] Created: (CAMEL-3676) Remove $version$ from the source files
Remove $version$ from the source files
--------------------------------------
Key: CAMEL-3676
URL: https://issues.apache.org/jira/browse/CAMEL-3676
Project: Camel
Issue Type: Task
Reporter: Claus Ibsen
Fix For: 2.7.0
See nabble
http://camel.465427.n5.nabble.com/DISCUSS-Removing-revision-tags-from-source-code-tp3387692p3387692.html
In fact the command should be:
{code}
find . -name '*.java' | xargs perl -p -i -e 's/(\@version+)?\$Revision.*\$//g'
{code}
To remove all kind of $Revision$ tags.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CAMEL-3676) Remove $version$ from the source
files
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995890#comment-12995890 ]
Claus Ibsen commented on CAMEL-3676:
------------------------------------
This is the command I used
{code}
find . -name '*.java' | xargs perl -p -i -e 's/\@version $Revision.*\$//g'
{code}
It removes the @version as well.
> Remove $version$ from the source files
> --------------------------------------
>
> Key: CAMEL-3676
> URL: https://issues.apache.org/jira/browse/CAMEL-3676
> Project: Camel
> Issue Type: Task
> Reporter: Claus Ibsen
> Fix For: 2.7.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/DISCUSS-Removing-revision-tags-from-source-code-tp3387692p3387692.html
> In fact the command should be:
> {code}
> find . -name '*.java' | xargs perl -p -i -e 's/(\@version+)?\$Revision.*\$//g'
> {code}
> To remove all kind of $Revision$ tags.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Work started: (CAMEL-3676) Remove $version$ from the source
files
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-3676 started by Claus Ibsen.
> Remove $version$ from the source files
> --------------------------------------
>
> Key: CAMEL-3676
> URL: https://issues.apache.org/jira/browse/CAMEL-3676
> Project: Camel
> Issue Type: Task
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.7.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/DISCUSS-Removing-revision-tags-from-source-code-tp3387692p3387692.html
> In fact the command should be:
> {code}
> find . -name '*.java' | xargs perl -p -i -e 's/(\@version+)?\$Revision.*\$//g'
> {code}
> To remove all kind of $Revision$ tags.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CAMEL-3676) Remove $version$ from the source
files
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995905#comment-12995905 ]
Claus Ibsen commented on CAMEL-3676:
------------------------------------
Hmm seems like that last command was a bit to greedy, I will just the first one which works fine. That leaves the @version empty then.
> Remove $version$ from the source files
> --------------------------------------
>
> Key: CAMEL-3676
> URL: https://issues.apache.org/jira/browse/CAMEL-3676
> Project: Camel
> Issue Type: Task
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.7.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/DISCUSS-Removing-revision-tags-from-source-code-tp3387692p3387692.html
> In fact the command should be:
> {code}
> find . -name '*.java' | xargs perl -p -i -e 's/(\@version+)?\$Revision.*\$//g'
> {code}
> To remove all kind of $Revision$ tags.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (CAMEL-3676) Remove $version$ from the source
files
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-3676.
--------------------------------
Resolution: Fixed
> Remove $version$ from the source files
> --------------------------------------
>
> Key: CAMEL-3676
> URL: https://issues.apache.org/jira/browse/CAMEL-3676
> Project: Camel
> Issue Type: Task
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.7.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/DISCUSS-Removing-revision-tags-from-source-code-tp3387692p3387692.html
> In fact the command should be:
> {code}
> find . -name '*.java' | xargs perl -p -i -e 's/(\@version+)?\$Revision.*\$//g'
> {code}
> To remove all kind of $Revision$ tags.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (CAMEL-3676) Remove $version$ from the source
files
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-3676:
----------------------------------
Assignee: Claus Ibsen
> Remove $version$ from the source files
> --------------------------------------
>
> Key: CAMEL-3676
> URL: https://issues.apache.org/jira/browse/CAMEL-3676
> Project: Camel
> Issue Type: Task
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.7.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/DISCUSS-Removing-revision-tags-from-source-code-tp3387692p3387692.html
> In fact the command should be:
> {code}
> find . -name '*.java' | xargs perl -p -i -e 's/(\@version+)?\$Revision.*\$//g'
> {code}
> To remove all kind of $Revision$ tags.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira