[ 
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

        

Reply via email to