List Info

Thread: build using Eclipse




build using Eclipse
country flaguser name
United States
2007-05-23 22:59:50
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
SettingsSamsungworkspaceSlide-2.1build.xml
clean:
   [delete] Deleting directory C:Documents and
SettingsSamsungworkspaceSlide-2.1build
clean:
main:
     [copy] Copying 2 files to C:Documents and
SettingsSamsungworkspaceSlide-2.1buildclasses
     [echo] Building Slide Core API
    [javac] Compiling 287 source files to C:Documents and
SettingsSamsungworkspaceSlide-2.1buildclasses
    [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
SettingsSamsungworkspaceSlide-2.1build.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.co
m/

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


Re: build using Eclipse
country flaguser name
United States
2007-05-23 23:06:50
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
SettingsSamsungworkspaceSlide-2.1build.xml
> clean:
>    [delete] Deleting directory C:Documents and
SettingsSamsungworkspaceSlide-2.1build
> clean:
> main:
>      [copy] Copying 2 files to C:Documents and
SettingsSamsungworkspaceSlide-2.1buildclasses
>      [echo] Building Slide Core API
>     [javac] Compiling 287 source files to C:Documents
and SettingsSamsungworkspaceSlide-2.1buildclasses
>     [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
SettingsSamsungworkspaceSlide-2.1build.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.co
m/
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
>
>   

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )