the classes in rt.jar cannot be found during ant build

2012-04-03 Thread xsli2
Hi, In my build.xml, ... ... The environment variable JAVA_HOME has been set to: C:\Program Files\Java\jdk1.6.0_24 When I run it, those classes inside rt.jar cannot be found. I have print out, using echo, the class

Re: How to avoid long classpath issue in windows

2012-04-03 Thread vijayaratha vijayasingam
Hi Jarek; Thanks for the help.. I fixed it using *"Manifestclasspath task"*, which is used to avoid long classpath issue... I have written a small blog[1] entry with the sample for others reference.. http://vvratha.blogspot.com/2012/04/avoiding-long-classpath-issue-in-ant.html Thanks -Ratha On 2