Re: build using Eclipse
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] -gGenerate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source}Generate only some debugging info [javac] -OOptimize; 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 pathSpecify 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 directorySpecify 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]
Re: build using Eclipse
Thanks Zeus. Is 2.2 stable and I have never build a code using svn. I would need some help to do it. regards Sukhvir - Original Message From: Zeus Courtois [EMAIL PROTECTED] To: Slide Users Mailing List slide-user@jakarta.apache.org Sent: Thursday, May 24, 2007 9:45:53 AM Subject: Re: build using Eclipse I believe Slide 2.1 does not compile with JDK 1.5. Get Slide 2.2 from the SVN, it compiles fine with JDK1.5. I have 2.2 on Eclipse and runs smoothly. If you want 2.1 then change to JDK 1.4 Regards, Zeus Courtois - Original Message From: Sukhvir Mahal [EMAIL PROTECTED] To: Slide Users Mailing List slide-user@jakarta.apache.org Sent: Wednesday, May 23, 2007 9:12:52 PM Subject: Re: build using Eclipse 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] -gGenerate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source}Generate only some debugging info [javac] -OOptimize; 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 pathSpecify 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 directorySpecify 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] You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_html.html Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: build using Eclipse
Thanks for the valuable input, Zeus. I am planning a custom store for now it's a Filestore. Any inputs that you think would be helpful for a starter. Thanks once again for the help. - Original Message From: Zeus Courtois [EMAIL PROTECTED] To: Slide Users Mailing List slide-user@jakarta.apache.org Sent: Thursday, May 24, 2007 10:09:34 AM Subject: Re: build using Eclipse Hi Sukhvir, Yup...Slide 2.2 is pretty stable. I have been using it over a year with both stores: FileStore and RDBMS Stores. It is still in a pre-release phase: Slide 2.2pre. You can get it at the following url: http://svn.apache.org/repos/asf/jakarta/slide/trunk/ Note that you need SVN, don't just click the link above :-) SVN is a tool that is used to pull files from a repository. You can get the tool at: http://subversion.tigris.org/downloads/ If you have a windows machine then the tool you would download is: http://subversion.tigris.org/downloads/subversion-1.4.3.zip unzip it and install it...very easy to do. Then run the tool from the command prompt giving it the URL I gave u above to pull the code. The code will be pulled and saved on the path that u provided in your local machine. There are a lot of files...will take some time. You will be pulling a lot of unnecessary code like Tamino's WebDAV, testsuite and so on. If you don't have the Tamino database then the Tamino WebDAV code is worthless and if you don't plan on developing or changing the code then the testsuites may not be helpful but anyway... Then just put the code in Eclipse and you should be good to go. Make sure u also have the correct version of Tomcat...I have it running under Tomcat v5.5.23 --- On the other hand, just change the Build Path on Eclipse to point to a JDK 1.4 so that your Slide 2.1 code will compile. :-) Regards, Zeus - Original Message From: Sukhvir Mahal [EMAIL PROTECTED] To: Slide Users Mailing List slide-user@jakarta.apache.org Sent: Wednesday, May 23, 2007 9:18:34 PM Subject: Re: build using Eclipse Thanks Zeus. Is 2.2 stable and I have never build a code using svn. I would need some help to do it. regards Sukhvir - Original Message From: Zeus Courtois [EMAIL PROTECTED] To: Slide Users Mailing List slide-user@jakarta.apache.org Sent: Thursday, May 24, 2007 9:45:53 AM Subject: Re: build using Eclipse I believe Slide 2.1 does not compile with JDK 1.5. Get Slide 2.2 from the SVN, it compiles fine with JDK1.5. I have 2.2 on Eclipse and runs smoothly. If you want 2.1 then change to JDK 1.4 Regards, Zeus Courtois - Original Message From: Sukhvir Mahal [EMAIL PROTECTED] To: Slide Users Mailing List slide-user@jakarta.apache.org Sent: Wednesday, May 23, 2007 9:12:52 PM Subject: Re: build using Eclipse 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] -gGenerate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source}Generate only some debugging info [javac] -OOptimize; 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 pathSpecify 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 directorySpecify where to place generated class files [javac] -encoding encoding Specify character
Unable to Build using Eclipse
Hello, I am not being able to build the slide source (slide server 2.1) using the build.xml provided with it. It keep geting invalid traget release warning and and on line 240 (where the first javac task is encountered) it stops. Thanks in advance Sulhvir Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]