Has anyone successfully built ant 1.8.0 on Solaris 10 SPARC (u4, sun4u)? I actually wanted to compile the latest Tomcat on a server on a private network, but building Tomcat requires ant >= 1.6 and the ant that comes with Solaris 10 is 1.5.4, so I downloaded the ant 1.8 source and moved it over but get 51 errors from build.sh. I thought perhaps it was due to the Java 1.5.0 JDK on that server so I installed the latest 1.6 JDK but get the same errors. JAVA_HOME is set. Am I missing some libraries? I just want to get Tomcat compiled so I know little about ant and have never had to try to build it before. I also tried the bootstrap.sh script which yields the same errors. Thanks in advance and I apologize if this is not the correct forum for this question.
I won't include all 51 errors (available if it would help) but here are the first and last two.: bash-3.00$ sh build.sh -Ddist.dir=/opt/ant.1.8.0 dist ... Bootstrapping Ant Distribution ... Compiling Ant Classes src/main/org/apache/tools/ant/types/AbstractFileSet.java:52: cannot find symbol symbol : class ModifiedSelector location: package org.apache.tools.ant.types.selectors.modifiedselector import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector; ^ src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:23: cannot find symbol symbol : class ModifiedSelector location: package org.apache.tools.ant.types.selectors.modifiedselector import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector; ^ . . . . src/main/org/apache/tools/ant/taskdefs/Sync.java:401: operator == cannot be applied to org.apache.tools.ant.types.resources.Restrict,<nulltype> if (resources == null) { ^ src/main/org/apache/tools/ant/taskdefs/Sync.java:404: cannot find symbol symbol : method add(org.apache.tools.ant.types.resources.Restrict) location: class org.apache.tools.ant.taskdefs.Sync.MyCopy myCopy.add(resources); ^ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org