Re: Java 7 incompatibility?

2012-01-10 Thread Donald McLean
The most likely cause is a classpath problem. Is the environment still pointing to Java6 jar files? Try enabling verbose output and see what you get. Donald On 1/10/12 10:12 AM, Dan Checkoway wrote: With Java 6 all is well... $ java -version java version "1.6.0_26" Java(TM) SE Runtime Enviro

Java 7 incompatibility?

2012-01-10 Thread Dan Checkoway
With Java 6 all is well... $ java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) $ ant -version Apache Ant version 1.6.5 compiled on January 6 2007 ...but once I upgrade to Java 7: $ java -vers

Nested type as an Integer

2012-01-10 Thread Mansour Al Akeel
In a custom task, I need to use a nested element to set the port number. The nested element looks like this: 9090 myApplication The problem I am getting is: build.xml:76: class java.lang.String doesn't support nested text data ("myApplication"). at org.apache.tools.ant.IntrospectionHelper.add