Thanks so much, the option source="1.4" worked like a charm. There is
one more compilier option I would like to do but I'm having trouble
finding the correct syntax. I want to display all compilier warnings by
doing java -Xlint but how would I add this option in my build file?

I apologize for the stupid question but I having trouble finding a
straight answer. 


On Mon, 2004-10-04 at 16:03 -0400, James Black wrote:
> 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"/>
> 
-- 
/////////////////////////////////////
Alex Valentine [EMAIL PROTECTED]
aim: asv108vv jabber: [EMAIL PROTECTED]
/////////////////////////////////////

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to