You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by ve...@apache.org on 2014/02/05 08:42:03 UTC

svn commit: r1564654 - in /etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler: base_cpp.vm base_h.vm helper_h.vm impl_h.vm intf_cpp.vm intf_h.vm main_cpp.vm main_h.vm remote_cpp.vm remote_h.vm stub_cpp.vm vf_cpp.vm

Author: veithm
Date: Wed Feb  5 07:42:03 2014
New Revision: 1564654

URL: http://svn.apache.org/r1564654
Log:
ETCH-286 Missing newline at end of file

Some header and implementation files generated by the etch-compiler are
missing a newline at the end of the file.

This might be resolved by updating the the velocity templates used by
the etch-compiler.

Change-Id: I313605c61c5d55b7ce8727400f72ada851e0dc77

Modified:
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_cpp.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_h.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/helper_h.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/impl_h.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_cpp.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_h.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_h.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_cpp.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_h.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/stub_cpp.vm
    etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_cpp.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_cpp.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_cpp.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_cpp.vm Wed Feb  5 07:42:03 2014
@@ -113,4 +113,3 @@ $intfname::$n.name()AsyncResultPtr $clna
 #end
 #end
 #end
-

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_h.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_h.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_h.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/base_h.vm Wed Feb  5 07:42:03 2014
@@ -87,4 +87,4 @@ namespace $namespace {
 
    };
 }
-#endif /* $helper.getBaseName($intf, $mc).toUpperCase() */
\ No newline at end of file
+#endif /* $helper.getBaseName($intf, $mc).toUpperCase() */

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/helper_h.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/helper_h.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/helper_h.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/helper_h.vm Wed Feb  5 07:42:03 2014
@@ -152,4 +152,4 @@ private:
   };
 }
 
-#endif /* __$helper.getHelperName($intf).toUpperCase()_H__ */
\ No newline at end of file
+#endif /* __$helper.getHelperName($intf).toUpperCase()_H__ */

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/impl_h.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/impl_h.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/impl_h.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/impl_h.vm Wed Feb  5 07:42:03 2014
@@ -67,4 +67,4 @@ namespace $namespace {
   };
 }
 
-#endif /* __$intf.name().toString().toUpperCase()${suffix.toUpperCase()}_H__ */
\ No newline at end of file
+#endif /* __$intf.name().toString().toUpperCase()${suffix.toUpperCase()}_H__ */

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_cpp.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_cpp.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_cpp.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_cpp.vm Wed Feb  5 07:42:03 2014
@@ -153,4 +153,4 @@ status_t $class::_sessionControl(capu::S
 status_t $class::_sessionNotify(capu::SmartPointer<EtchObject> event )
 {
   return ETCH_EUNIMPL;
-}
\ No newline at end of file
+}

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_h.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_h.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_h.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/intf_h.vm Wed Feb  5 07:42:03 2014
@@ -318,4 +318,4 @@ namespace $namespace {
   };
 }
 
-#endif
\ No newline at end of file
+#endif

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm Wed Feb  5 07:42:03 2014
@@ -167,4 +167,4 @@ capu::int32_t main(int argc, const char*
   return 0;
 }
 
-#end
\ No newline at end of file
+#end

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_h.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_h.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_h.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_h.vm Wed Feb  5 07:42:03 2014
@@ -82,5 +82,6 @@ namespace $namespace {
 #endif /* __MAIN${intf.name().toString().toUpperCase()}LISTENER_H__ */
 #else
 #endif /* __MAIN${intf.name().toString().toUpperCase()}CLIENT_H__ */
+
 #end
  
\ No newline at end of file

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_cpp.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_cpp.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_cpp.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_cpp.vm Wed Feb  5 07:42:03 2014
@@ -146,4 +146,4 @@ $intfname::$n.name()AsyncResultPtr $clna
 #end
 #end
 #end
-#end
\ No newline at end of file
+#end

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_h.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_h.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_h.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/remote_h.vm Wed Feb  5 07:42:03 2014
@@ -194,4 +194,4 @@ namespace $namespace {
   };
   typedef capu::SmartPointer<$clname> ${clname}Ptr;
 }
-#endif /* __$helper.getRemoteName($intf, $mc).toUpperCase()_H__ */
\ No newline at end of file
+#endif /* __$helper.getRemoteName($intf, $mc).toUpperCase()_H__ */

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/stub_cpp.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/stub_cpp.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/stub_cpp.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/stub_cpp.vm Wed Feb  5 07:42:03 2014
@@ -32,4 +32,3 @@
 \#include "$inc"
 
 using namespace $namespace;
-

Modified: etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm?rev=1564654&r1=1564653&r2=1564654&view=diff
==============================================================================
--- etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm (original)
+++ etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/vf_cpp.vm Wed Feb  5 07:42:03 2014
@@ -425,4 +425,4 @@ status_t $vf::InitValueFactory(EtchRunti
   class2type()->lock();
   
   return ETCH_OK;
-}
\ No newline at end of file
+}