Line | |
---|
1 | script_path <- filepath(__argv[0]); |
---|
2 | proj_path <- convpath(script_path + "/..", true); |
---|
3 | chdir(proj_path); |
---|
4 | printl("\ncwd: " + getcwd()); |
---|
5 | |
---|
6 | args <- [ |
---|
7 | "-cp" |
---|
8 | , dofile("scripts/get-dn-classpath.nut") |
---|
9 | |
---|
10 | //jvm options |
---|
11 | , "-Xmx512M" |
---|
12 | |
---|
13 | //system properties |
---|
14 | , "-Dlog4j.configuration=file:scripts/dn-weaving.log4j.properties" |
---|
15 | |
---|
16 | //main class |
---|
17 | , "org.datanucleus.enhancer.DataNucleusEnhancer" |
---|
18 | |
---|
19 | //options |
---|
20 | , "-api" |
---|
21 | , "JDO" |
---|
22 | , "-v" /*verbose*/ |
---|
23 | ]; |
---|
24 | |
---|
25 | args.extend(dofile("scripts/get-dn-metadata.nut")); |
---|
26 | |
---|
27 | printl("\njava"); |
---|
28 | foreach(arg in args) { |
---|
29 | printl(arg); |
---|
30 | } |
---|
31 | |
---|
32 | ret <- run("java", args); |
---|
33 | |
---|
34 | printl("\n*** DataNucleus bytecode weaving exit:" + ret + " ***\n"); |
---|
35 | |
---|
36 | return ret; |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.