[
https://issues.jboss.org/browse/JBRULES-2688?page=com.atlassian.jira.plug...
]
Geoffrey De Smet edited comment on JBRULES-2688 at 1/18/11 10:15 AM:
---------------------------------------------------------------------
with a regex find in all files you can find many suspects easily (note that you need to
edit this comment to copy paste the regex because jira changes it during rendering):
;\s+/\*\n \* Copyright [^/]+//www.apache.org/licenses/LICENSE-2.0[^/]+\*/
The problem is some of those file have twice, but others have it only once, but after the
package statement (those should be moved above the package statement
was (Author: ge0ffrey):
with a regex find in all files you can find many suspects easily
;\s+/\*\n \* Copyright [^/]+//www.apache.org/licenses/LICENSE-2.0[^/]+\*/
The problem is some of those file have twice, but others have it only once, but after the
package statement (those should be moved above the package statement
Some files have the license headers twice
-----------------------------------------
Key: JBRULES-2688
URL:
https://issues.jboss.org/browse/JBRULES-2688
Project: Drools
Issue Type: Task
Security Level: Public(Everyone can see)
Components: All
Affects Versions: 5.1.0.FINAL
Reporter: Geoffrey De Smet
Assignee: Toni Rikkola
Priority: Trivial
Fix For: FUTURE
Several files have the license header twice, for example:
/home/ge0ffrey/projects/jboss/drools/drools-guvnor/src/main/java/org/drools/guvnor/server/repository/RulesRepositoryManager.java
The reason is that the original file already had a license header, but not on the correct
position (after the package statement instead of before it).
/**
* Copyright 2010 JBoss Inc
*
...
*/
package org.drools.guvnor.server.repository;
/*
* Copyright 2005 JBoss Inc
*
...
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira