This content has been marked as final. Show 4 replies
Did you check with sun JDK on your eclipse
Try to change from JRokcit to sun JDK and retest it again.
Hi Kal, thanks for your reply.
Yes, I've tried with Sun JDK 1.6.0_23 on Eclipse, the build runs fine from inside Eclipse. But when I try to use that JDK with the exported Ant script I still get the same error as with the JRockit JDK - that Apt requires Java 1.5+
You really need to stick with Java 5 for running workshop ant scripts. There weren't designed for Java 6 and certainly not tested or supported that way.
Hi again - just an update.
I found a way around this problem, from this thread: 10.3 build files and Hudson
All I had to do was use the default version of Ant that ships with WebLogic, found at (bea_home)/modules/org.apache.ant_1.6.5 and the build ran fine with the orginal <apt> tasks in place.
Thanks to Kal and Konstantin for their help and advice.