java (1532:4b4d0c3ce94b) java (1585:e941d77852d1)
1
2# Copyright (C) NGINX, Inc.
3
4
5shift
6
7NXT_JAVA_HOME=${JAVA_HOME-}
8NXT_JAR_REPO=https://repo1.maven.org/maven2/

--- 312 unchanged lines hidden (view full) ---

321NXT_JAVA_MOUNTS_HEADER=nxt_${NXT_JAVA_MODULE}_mounts.h
322
323cat << END > $NXT_BUILD_DIR/$NXT_JAVA_MOUNTS_HEADER
324#ifndef _NXT_JAVA_MOUNTS_H_INCLUDED_
325#define _NXT_JAVA_MOUNTS_H_INCLUDED_
326
327
328static const nxt_fs_mount_t nxt_java_mounts[] = {
1
2# Copyright (C) NGINX, Inc.
3
4
5shift
6
7NXT_JAVA_HOME=${JAVA_HOME-}
8NXT_JAR_REPO=https://repo1.maven.org/maven2/

--- 312 unchanged lines hidden (view full) ---

321NXT_JAVA_MOUNTS_HEADER=nxt_${NXT_JAVA_MODULE}_mounts.h
322
323cat << END > $NXT_BUILD_DIR/$NXT_JAVA_MOUNTS_HEADER
324#ifndef _NXT_JAVA_MOUNTS_H_INCLUDED_
325#define _NXT_JAVA_MOUNTS_H_INCLUDED_
326
327
328static const nxt_fs_mount_t nxt_java_mounts[] = {
329 {(u_char *) "proc", (u_char *) "/proc", (u_char *) "proc", 0, NULL},
329 {(u_char *) "proc", (u_char *) "/proc", (u_char *) "proc", 0, NULL, 1},
330 {(u_char *) "$NXT_JAVA_LIBC_DIR", (u_char *) "$NXT_JAVA_LIBC_DIR",
330 {(u_char *) "$NXT_JAVA_LIBC_DIR", (u_char *) "$NXT_JAVA_LIBC_DIR",
331 (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL},
331 (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL, 1},
332 {(u_char *) "$NXT_JAVA_HOME", (u_char *) "$NXT_JAVA_HOME",
332 {(u_char *) "$NXT_JAVA_HOME", (u_char *) "$NXT_JAVA_HOME",
333 (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL},
333 (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL, 1},
334};
335
336
337#endif /* _NXT_JAVA_MOUNTS_H_INCLUDED_ */
338END
339
340$echo " + Java module: ${NXT_JAVA_MODULE}.unit.so"
341

--- 301 unchanged lines hidden ---
334};
335
336
337#endif /* _NXT_JAVA_MOUNTS_H_INCLUDED_ */
338END
339
340$echo " + Java module: ${NXT_JAVA_MODULE}.unit.so"
341

--- 301 unchanged lines hidden ---