Since stubs and skeletons should typically reside in different places, rmic should be modified to place stubs/skeletons in different directories. The directories could be specified on the command line as follows:
rmic -dstub <stubdir> -dskel <skeldir> class
The -d option could still be supported and the generated stubs/skeletons should go in the same directory specified by -d. If no -d option is specified, then class files are placed in the directory from which rmic was invoked.
rmic -dstub <stubdir> -dskel <skeldir> class
The -d option could still be supported and the generated stubs/skeletons should go in the same directory specified by -d. If no -d option is specified, then class files are placed in the directory from which rmic was invoked.