1.5 as the error says. > [javac] javac: invalid target release: 1.5 regards Sukhvir
----- Original Message ---- From: Ali Naddaf <[EMAIL PROTECTED]> To: Slide Users Mailing List <slide-user@jakarta.apache.org> Sent: Thursday, May 24, 2007 9:36:50 AM Subject: Re: build using Eclipse What is your jdk's version? Ali. Sukhvir Mahal wrote: > Hello, > > I am not being able to build the slide 2.1 source using the build.xml file > that comes along with it. I keep getting invalid target relese warning and on > line 240 ( when firat javac task is encountered) it stops. Text of Error is > as under : > > Buildfile: C:\Documents and Settings\Samsung\workspace\Slide-2.1\build.xml > clean: > [delete] Deleting directory C:\Documents and > Settings\Samsung\workspace\Slide-2.1\build > clean: > main: > [copy] Copying 2 files to C:\Documents and > Settings\Samsung\workspace\Slide-2.1\build\classes > [echo] Building Slide Core API > [javac] Compiling 287 source files to C:\Documents and > Settings\Samsung\workspace\Slide-2.1\build\classes > [javac] javac: invalid target release: 1.5 > [javac] Usage: javac <options> <source files> > [javac] where possible options include: > [javac] -g Generate all debugging info > [javac] -g:none Generate no debugging info > [javac] -g:{lines,vars,source} Generate only some debugging info > [javac] -O Optimize; may hinder debugging or > enlarge class file > [javac] -nowarn Generate no warnings > [javac] -verbose Output messages about what the compiler > is doing > [javac] -deprecation Output source locations where > deprecated APIs are used > [javac] -classpath <path> Specify where to find user class files > [javac] -sourcepath <path> Specify where to find input source files > [javac] -bootclasspath <path> Override location of bootstrap class > files > [javac] -extdirs <dirs> Override location of installed > extensions > [javac] -d <directory> Specify where to place generated class > files > [javac] -encoding <encoding> Specify character encoding used by > source files > [javac] -target <release> Generate class files for specific VM > version > > BUILD FAILED > C:\Documents and Settings\Samsung\workspace\Slide-2.1\build.xml:240: Compile > failed; see the compiler error output for details. > > Total time: 4 seconds > > > Thanks in advance > > Sukhvir > > > > > > > ____________________________________________________________________________________Looking > for a deal? Find great prices on flights and hotels with Yahoo! FareChase. > http://farechase.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]