I am using ant 1.8.4. My JAVA_HOME is set to the location of JDK 7. I have a set of classes that use a list of jars from a given library location.
When I use command line jdk to do the compile it gives different results from using ant script to do the compile. The classpath definition is same in both cases. In the command line execution, it expands the wildcard classpath that is introduced in JDK 6. In ANT execution, it does not expand the list, so the compile fails. From what I have read, ANT is supposed to support wildcard classpaths with version 1.8.2 and I am on version 1.8.4. So, the questions I have are - Which javac does ant use? Is it in the ANT code that doesn't process the wildcard classpath? - What role does JAVA_HOME play when using ANT? - How can I resolve the issue, so I can use ANT with wildcard classpath ? Thank you ----------------------------------------- This email transmission and any accompanying attachments may contain CSX privileged and confidential information intended only for the use of the intended addressee. Any dissemination, distribution, copying or action taken in reliance on the contents of this email by anyone other than the intended recipient is strictly prohibited. If you have received this email in error please immediately delete it and notify sender at the above CSX email address. Sender and CSX accept no liability for any damage caused directly or indirectly by receipt of this email. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org