This file contains the JMRI copyright notice in various forms. Please duplicate one of these into every JMRI file you create or update. =================== Java files If you want to put the notice in the Javadoc, include the following at the end of the class or interface Javadoc comment, just above the @copyright line. See jmri.Version for an example. * *
* This file is part of JMRI. *

* JMRI is free software; you can redistribute it and/or modify it under * the terms of version 2 of the GNU General Public License as published * by the Free Software Foundation. See the "COPYING" file for a copy * of this license. *

* JMRI is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. *

Alternately, for minor files where it doesn't need to appear in the Javadoc, put the following at the top of the file above the package statement. // This file is part of JMRI. // // JMRI is free software; you can redistribute it and/or modify it under // the terms of version 2 of the GNU General Public License as published // by the Free Software Foundation. See the "COPYING" file for a copy // of this license. // // JMRI is distributed in the hope that it will be useful, but WITHOUT // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License // for more details. =================== XML files Put the following just after the copyright & version notice: =================== Text files For general text, use the following: This file is part of JMRI. JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license. JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. =================== Jython/Python files: # This file is part of JMRI. # # JMRI is free software; you can redistribute it and/or modify it under # the terms of version 2 of the GNU General Public License as published # by the Free Software Foundation. See the "COPYING" file for a copy # of this license. # # JMRI is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details.