ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Valentine <alexvalent...@psu.edu>
Subject Setting javac options in Ant
Date Mon, 04 Oct 2004 19:57:40 GMT
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.

-- 
/////////////////////////////////////
Alex Valentine alexvalentine@psu.edu
aim: asv108vv jabber: asv@jabber.org
/////////////////////////////////////

Mime
View raw message