| 1 | ############################################################################### |
| 2 | # Copyright (c) 2000-2016 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 | # |
| 8 | # Contributors: |
| 9 | # Balasko, Jeno |
| 10 | # Lovassy, Arpad |
| 11 | # |
| 12 | ############################################################################### |
| 13 | |
| 14 | # Creates C++ header from the Java code for Java to C++ JNI function calls. |
| 15 | # This must run if any of the native Java methods change (in org.eclipse.titan.executor.jni.JNIMiddleWare). |
| 16 | # A C++ function header is generated for each native Java method. |
| 17 | # Native Java method: declared with native keyword without implementation |
| 18 | # This script generates these files into ../../JNI/ directory: |
| 19 | # org_eclipse_titan_executor_jni_JNIMiddleWare_EventDispatcher.h (this is empty, it can be deleted after creation) |
| 20 | # org_eclipse_titan_executor_jni_JNIMiddleWare.h |
| 21 | # |
| 22 | # NOTE: Copyright header is not added to the generated file, it must be added manually. |
| 23 | |
| 24 | javah -jni -classpath bin -d ../../JNI/ org.eclipse.titan.executor.jni.JNIMiddleWare |