File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export PATH=$JAVA_HOME/bin:$PATH
77
88if [ $# -ne 1 ]
99then
10- echo " usage: add_module.sh prov|prov-ext|util|tls|pg|pkix|mail"
10+ echo " usage: add_module.sh prov|prov-ext|util|tls|pg|pkix|mail|jmail "
1111 exit 0
1212fi
1313
@@ -42,6 +42,10 @@ rm -rf module.tmp
4242 elif [ $1 = " mail" ]
4343 then
4444 javac -target 1.9 --module-path ${provJar} :$utilJar :$pkixJar -classpath module.tmp/v5 -d module.tmp/v9 ` find $1 /src/main/jdk1.9 -name " *.java" ` -sourcepath $1 /src/main/jdk1.9:$1 /src/main/java
45+ elif [ $1 = " jmail" ]
46+ then
47+ jmailSrc=` echo build/artifacts/jdk1.5/bcjmail-jdk15on-* /src/`
48+ javac -target 1.9 --module-path ${provJar} :$utilJar :$pkixJar -classpath module.tmp/v5 -d module.tmp/v9 ` find $1 /src/main/jdk1.9 -name " *.java" ` -sourcepath $1 /src/main/jdk1.9:$jmailSrc
4549 elif [ $1 = " pkix" ]
4650 then
4751 javac -target 1.9 --module-path ${provJar} :$utilJar -classpath module.tmp/v5 -d module.tmp/v9 ` find $1 /src/main/jdk1.9 -name " *.java" ` -sourcepath $1 /src/main/jdk1.9:$1 /src/main/java
Original file line number Diff line number Diff line change @@ -13,4 +13,6 @@ sh add_module.sh pkix
1313
1414sh add_module.sh mail
1515
16+ sh add_module.sh jmail
17+
1618sh add_module.sh pg
You can’t perform that action at this time.
0 commit comments