Re: build using Eclipse
Ali Naddaf <[email protected]> Wed, 23 May 2007 23:06:50 -0500
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
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]
>
>