Skip to content

Commit 6dee906

Browse files
committed
added jmail
1 parent 5c3b337 commit 6dee906

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

add_module.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export PATH=$JAVA_HOME/bin:$PATH
77

88
if [ $# -ne 1 ]
99
then
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
1212
fi
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

jar_process.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ sh add_module.sh pkix
1313

1414
sh add_module.sh mail
1515

16+
sh add_module.sh jmail
17+
1618
sh add_module.sh pg

0 commit comments

Comments
 (0)