langtools/test/tools/apt/Compile/compile.sh
changeset 1483 2540545cd060
parent 10 06bc494ca11e
child 1652 1324f96f3883
equal deleted inserted replaced
1482:5a6b392f0556 1483:2540545cd060
   471 ${JAR} cf0 round4Apf.jar Round4Apf*.class META-INF
   471 ${JAR} cf0 round4Apf.jar Round4Apf*.class META-INF
   472 
   472 
   473 cp ${TESTCLASSES}/Round?.class .
   473 cp ${TESTCLASSES}/Round?.class .
   474 ${JAR} cf0 rounds.jar Round?.class
   474 ${JAR} cf0 rounds.jar Round?.class
   475 
   475 
       
   476 # cleanup file to prevent accidental discovery in current directory
       
   477 rm -Rf META-INF/services/*
       
   478 
   476 printf "%s\n" "-factorypath round1Apf.jar${SEP}round2Apf.jar${SEP}round3Apf.jar${SEP}round4Apf.jar"   > options8
   479 printf "%s\n" "-factorypath round1Apf.jar${SEP}round2Apf.jar${SEP}round3Apf.jar${SEP}round4Apf.jar"   > options8
   477 printf "%s\n" "-classpath rounds.jar"  >> options8
   480 printf "%s\n" "-classpath rounds.jar"  >> options8
   478 printf "%s\n" "-s ./src"               >> options8
   481 printf "%s\n" "-s ./src"               >> options8
   479 printf "%s\n" "-d ./class"             >> options8
   482 printf "%s\n" "-d ./class"             >> options8
   480 #printf "%s\n" "-XPrintFactoryInfo"     >> options8
   483 #printf "%s\n" "-XPrintFactoryInfo"     >> options8