Put our headers on the CPP files as well. This also fixes a problem where the

headers on the associated Java files were being stripped.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6534 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2011-03-15 18:20:17 +00:00
parent 217927de2b
commit a3c0b0bbdd
3 changed files with 43 additions and 1 deletions
+1 -1
View File
@@ -196,7 +196,7 @@
<genservice header="lib/SOURCE_HEADER" classpathref="test.classpath" checking="${gencheck}"> <genservice header="lib/SOURCE_HEADER" classpathref="test.classpath" checking="${gencheck}">
<fileset dir="${tsrc.dir}" includes="**/*Service.java"/> <fileset dir="${tsrc.dir}" includes="**/*Service.java"/>
</genservice> </genservice>
<gencppservice classpathref="built.classpath" cpproot="src/cpp"> <gencppservice header="lib/SOURCE_HEADER" classpathref="built.classpath" cpproot="src/cpp">
<fileset dir="${src.dir}" includes="**/RegistrationService.java"/> <fileset dir="${src.dir}" includes="**/RegistrationService.java"/>
</gencppservice> </gencppservice>
</target> </target>
@@ -1,3 +1,24 @@
//
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2011 Three Rings Design, Inc., All Rights Reserved
// http://code.google.com/p/narya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any later version.
//
// This library 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "presents/stable.h" #include "presents/stable.h"
#include "RegistrationMarshaller.h" #include "RegistrationMarshaller.h"
#include "presents/PresentsClient.h" #include "presents/PresentsClient.h"
@@ -1,3 +1,24 @@
//
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2011 Three Rings Design, Inc., All Rights Reserved
// http://code.google.com/p/narya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any later version.
//
// This library 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#pragma once #pragma once
#include "presents/Streamable.h" #include "presents/Streamable.h"