I'm using the default settings for the rmic task with jdk1.5. <rmic> always compiles, because the tasks expects the sun rmic to generate skeleton classes, which it doesnt't do since 1.5. [rmic] Verify has been turned on. [rmic] kam\janet\connector\RemoteDataProcessorImpl.class added as kam/janet/connector/RemoteDataProcessorImpl_Skel.class doesn't exist. ... [rmic] RMI Compiling 5 classes to ... [rmic] Using SUN rmic compiler [rmic] Compilation arguments: [rmic] '-d' [rmic] '...' [rmic] '-classpath' [rmic] '...'
I am looking at this. I think the default behaviour of rmic has changed, It used to be -vcompat, now it is -v1.2; hence the effect. if you set stubversion="compat" you get the old behaviour. I am going to change Ant1.7 to make this the default.
Fixed in CVS_HEAD; modified default behaviour to be -vcompat. Now, if other rmic impls dont recognise -vcompat we have a problem; need more testing here... Also, should we pass the stubversion down to the options as is if not recognised. Currently anything other than 1.1 or 1.2 is viewed as '-vcompat', it would be more flexiblt to say 1.1, 1.2, compat or *whatever*, so if rmi 1.3 comes along, the task is ready.