ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Black <>
Subject Re: Setting javac options in Ant
Date Mon, 04 Oct 2004 20:03:31 GMT
Alex Valentine wrote:

>Just a quick questions for you folks, recently I tried out java 1.5.0
>but I was having trouble building some libs for one of my apps. Becuase
>the lib I was trying to compile used some old classes, I needed to add
>the "-source 1.4" modifier to javac.
>How would I would I add this to my compile task? When I tried 
><arg value="-source 1,4"/> 
>I got an error message telling me:
>/home/asv/src/java/hibernate-2.1/build.xml:157: The <javac> type doesn't
>support the nested "arg" element.
<javac source="1.4" target="1.4"/>

"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message