blob: f95c7c66a4d9c622e52db40d8bf45d9b86ad4b6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// -*- MPC -*-
project(*IDL) {
requires += java
// Define the Java IDL with a hack output extension
// Since our idl file has a module, the generated java files
// will go int the module name so we set the extension to /
Define_Custom(JAVA_IDL) {
command = idlj
inputext = .idl
generic_outputext = /
}
// Make sure we don't get any of the defaults
Source_Files {
}
Inline_Files {
}
Header_Files {
}
JAVA_IDL_Files {
// The idlj will automatically put the generated files
// in the Test directory
gendir = Test
// We want both server and client side
commandflags += -fall
Test.idl
}
}
// This project will build the java server and C++ client
project(Java_Big_Reply): taoexe, portableserver {
requires += java
after += *IDL
// Define the java type
Define_Custom(JAVA) {
command = javac
commandflags = -d .
inputext = .java
generic_outputext = .class
}
}
|