Applies to:
Ant, Mac OS X
Description:
Occurs while compiling project under Mac OS X
Cause:
Apple’s Java VMs reside in /System/Library/Frameworks/JavaVM.framework/Versions/X.Y.Z and JAVA_HOME will usually be something like /System/Library/Frameworks/JavaVM.framework/Versions/X.Y.Z/Home.
Inside this home directory there is a symbolic link named shared_bundle that links three levels up, i.e. to /System/Library/Frameworks/JavaVM.framework.
If your build file contains a fileset like
Ant is going to follow the shared_bundle symlink and ends up recursing into all your installed VMs. Even worse, it will enter /System/Library/Frameworks/JavaVM.framework/Versions/X.Y.Z/Home and will once again follow the same symlink.
Ant versions after Ant 1.7.1 will detect the infinite loop they are in, but the resulting fileset may still be too big to deal with, in particular if you have many different VM versions installed. The problem is amplified by the fact that each installed version has a shared_bundle symlink in it.
JAVA-Tools ant 1.7 for loop, ant build fileset with loop, ant create symbol link#q=ant symlink for fileset, ant endless loop, ant for loop fileset, ant for loop infinite, ant for loop runs, ant forloop fileset, ant infinite loop, ant loop, ant loop fileset, ant loop mac, ant looping fileset, ant mac os loop, ant traverse through the fileset, ants on a infinity loop, bucle ant, bucles con task ant 1.7.1, compile in infinite loop symlink, create infinite loop in ant, css3 looping infinite, endless loop ant, endless loop in ant, for loops in ant, generating infinite loop in ant, how to do a for loop in ant, how to write an infinite loop ant, infanate ant, infinite ant loop, infinite for loop in ant, infinite foreach in ant, infinite loop ants, infinite loop in ant, infinite loop in ant task, j, java, loop ant 1.7 -ant-contrib, loop fileset ant, loop fileset in ant, loop infinite in ant, looping in ant, lrm-00118: syntax error at '=' at the end of input, memory, symlink ant loop