You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Sukhvir Mahal <su...@yahoo.com> on 2007/05/24 05:59:50 UTC
build using Eclipse
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: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: build using Eclipse
Posted by Ali Naddaf <al...@naddaf.org>.
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: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org