1 ###############################################################################
2 # Copyright (c) 2000-2015 Ericsson Telecom AB
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Eclipse Public License v1.0
5 # which accompanies this distribution, and is available at
6 # http://www.eclipse.org/legal/epl-v10.html
7 ###############################################################################
9 # Creates C++ header from the Java code for Java to C++ JNI function calls.
10 # This must run if any of the native Java methods change (in org.eclipse.titan.executor.jni.JNIMiddleWare).
11 # A C++ function header is generated for each native Java method.
12 # Native Java method: declared with native keyword without implementation
13 # This script generates these files into ../../JNI/ directory:
14 # org_eclipse_titan_executor_jni_JNIMiddleWare_EventDispatcher.h (this is empty, it can be deleted after creation)
15 # org_eclipse_titan_executor_jni_JNIMiddleWare.h
17 # NOTE: Copyright header is not added to the generated file, it must be added manually.
19 javah
-jni -classpath bin
-d ..
/..
/JNI
/ org.eclipse.titan.executor.jni.JNIMiddleWare