Re: -overwrite, -ignore and -addToClassPath
On Mon, Jan 19, 2009 at 2:56 PM, Fred Janon wrote: > > Even better would be to provide a clear explanation with an example in > the projectcreator and applicationcreator pages, or to get rid of > these options. I think there must be a reason the option is there, but I agree with Fred that it would be very useful if there are examples, and tutorials explaining these options. > > Anyone can explain what addToClasspath does? Yes, anyone can help us here? :-) Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: -overwrite, -ignore and -addToClassPath
> To close this thread, I think the best way to add the libraries into the > existing GWT project is to manually edit the classpath in command-line tool > scripts. Even better would be to provide a clear explanation with an example in the projectcreator and applicationcreator pages, or to get rid of these options. Anyone can explain what addToClasspath does? Thanks Fred On Mon, Sep 1, 2008 at 22:07, hezjing wrote: > Hi > > To close this thread, I think the best way to add the libraries into the > existing GWT project is to manually edit the classpath in command-line tool > scripts. > > :-) > > On Fri, Aug 29, 2008 at 9:21 PM, hezjing wrote: >> >> Hi >> >> I have create the GWT project and application using these steps, >> 1) projectCreator -eclipse MyTest -out MyTest >> 2) applicationCreator -eclipse MyTest -out MyTest >> com.dummy.test.client.MyTest >> >> Later, I have added a library to >> MyTest\lib\mysql-connector-java-5.1.6-bin.jar >> What is the best way to add this library to the CLASSPATH? >> >> I tried these steps, >> 3) projectCreator -eclipse MyTest -out MyTest -addToClassPath MyTest >> \lib\mysql-connector-java-5.1.6-bin.jar >> 4) applicationCreator -eclipse MyTest -addToClassPath >> MyTest\lib\mysql-connector-java-5.1.6-bin.jar -out MyTest >> com.dummy.test.client.MyTest -overwrite >> >> But when imported this project into Eclipse, it gives error that says >> Project 'MyTest' is missing required library: >> 'Cims/lib/mysql-connector-java-5.1.6-bin.jar'. >> I think this problem is because the library is saved under the project >> directory MyTest\lib. >> >> How do we add the libraries? Especially adding a library into an >> existing GWT project? >> >> >> >> On Thu, Aug 28, 2008 at 5:48 PM, Thomas Broyer wrote: >> > >> > >> > On 27 août, 17:59, hezjing wrote: >> >> Hi >> >> >> >> Both projectCreator and applicationCreator have these options, >> >> -overwrite = Overwrite any existing files, >> >> -ignore = Ignore any existing files; do not overwrite, >> >> -addToClassPath = Adds extra elements to the class path of files in >> >> the skeleton. >> >> >> >> I guess the -overwrite and -ignore are use on the existing project, >> >> but why does someone wants to execute the tools with these options? >> > >> > -ignore => regenerates files that you've deleted by mistake; or when >> > you weren't using "-eclipse" and now wants to move on but don't want >> > the xxxCreator to overwrite your other files >> > -overwrite => you've modified the generated files and made a mistake, >> > you want to revert back to the original files >> > >> >> When do we use -addToClassPath? >> > >> > You want to use a third-party lib and don't want to manually edit >> > every file (*-compile.cmd, *.ant.xml, *.launch, etc.) to update the >> > classpath. >> > > >> > >> >> >> >> -- >> >> Hez > > > > -- > > Hez > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: -overwrite, -ignore and -addToClassPath
Hi To close this thread, I think the best way to add the libraries into the existing GWT project is to manually edit the classpath in command-line tool scripts. :-) On Fri, Aug 29, 2008 at 9:21 PM, hezjing <[EMAIL PROTECTED]> wrote: > Hi > > I have create the GWT project and application using these steps, > 1) projectCreator -eclipse MyTest -out MyTest > 2) applicationCreator -eclipse MyTest -out MyTest > com.dummy.test.client.MyTest > > Later, I have added a library to > MyTest\lib\mysql-connector-java-5.1.6-bin.jar > What is the best way to add this library to the CLASSPATH? > > I tried these steps, > 3) projectCreator -eclipse MyTest -out MyTest -addToClassPath MyTest > \lib\mysql-connector-java-5.1.6-bin.jar > 4) applicationCreator -eclipse MyTest -addToClassPath > MyTest\lib\mysql-connector-java-5.1.6-bin.jar -out MyTest > com.dummy.test.client.MyTest -overwrite > > But when imported this project into Eclipse, it gives error that says > Project 'MyTest' is missing required library: > 'Cims/lib/mysql-connector-java-5.1.6-bin.jar'. > I think this problem is because the library is saved under the project > directory MyTest\lib. > > How do we add the libraries? Especially adding a library into an > existing GWT project? > > > > On Thu, Aug 28, 2008 at 5:48 PM, Thomas Broyer <[EMAIL PROTECTED]> wrote: > > > > > > On 27 août, 17:59, hezjing <[EMAIL PROTECTED]> wrote: > >> Hi > >> > >> Both projectCreator and applicationCreator have these options, > >> -overwrite = Overwrite any existing files, > >> -ignore = Ignore any existing files; do not overwrite, > >> -addToClassPath = Adds extra elements to the class path of files in > >> the skeleton. > >> > >> I guess the -overwrite and -ignore are use on the existing project, > >> but why does someone wants to execute the tools with these options? > > > > -ignore => regenerates files that you've deleted by mistake; or when > > you weren't using "-eclipse" and now wants to move on but don't want > > the xxxCreator to overwrite your other files > > -overwrite => you've modified the generated files and made a mistake, > > you want to revert back to the original files > > > >> When do we use -addToClassPath? > > > > You want to use a third-party lib and don't want to manually edit > > every file (*-compile.cmd, *.ant.xml, *.launch, etc.) to update the > > classpath. > > > > > > > > > > -- > > Hez > -- Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: -overwrite, -ignore and -addToClassPath
Hi I have create the GWT project and application using these steps, 1) projectCreator -eclipse MyTest -out MyTest 2) applicationCreator -eclipse MyTest -out MyTest com.dummy.test.client.MyTest Later, I have added a library to MyTest\lib\mysql-connector-java-5.1.6-bin.jar What is the best way to add this library to the CLASSPATH? I tried these steps, 3) projectCreator -eclipse MyTest -out MyTest -addToClassPath MyTest \lib\mysql-connector-java-5.1.6-bin.jar 4) applicationCreator -eclipse MyTest -addToClassPath MyTest\lib\mysql-connector-java-5.1.6-bin.jar -out MyTest com.dummy.test.client.MyTest -overwrite But when imported this project into Eclipse, it gives error that says Project 'MyTest' is missing required library: 'Cims/lib/mysql-connector-java-5.1.6-bin.jar'. I think this problem is because the library is saved under the project directory MyTest\lib. How do we add the libraries? Especially adding a library into an existing GWT project? On Thu, Aug 28, 2008 at 5:48 PM, Thomas Broyer <[EMAIL PROTECTED]> wrote: > > > On 27 août, 17:59, hezjing <[EMAIL PROTECTED]> wrote: >> Hi >> >> Both projectCreator and applicationCreator have these options, >> -overwrite = Overwrite any existing files, >> -ignore = Ignore any existing files; do not overwrite, >> -addToClassPath = Adds extra elements to the class path of files in >> the skeleton. >> >> I guess the -overwrite and -ignore are use on the existing project, >> but why does someone wants to execute the tools with these options? > > -ignore => regenerates files that you've deleted by mistake; or when > you weren't using "-eclipse" and now wants to move on but don't want > the xxxCreator to overwrite your other files > -overwrite => you've modified the generated files and made a mistake, > you want to revert back to the original files > >> When do we use -addToClassPath? > > You want to use a third-party lib and don't want to manually edit > every file (*-compile.cmd, *.ant.xml, *.launch, etc.) to update the > classpath. > > > -- Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: -overwrite, -ignore and -addToClassPath
On 27 août, 17:59, hezjing <[EMAIL PROTECTED]> wrote: > Hi > > Both projectCreator and applicationCreator have these options, > -overwrite = Overwrite any existing files, > -ignore = Ignore any existing files; do not overwrite, > -addToClassPath = Adds extra elements to the class path of files in > the skeleton. > > I guess the -overwrite and -ignore are use on the existing project, > but why does someone wants to execute the tools with these options? -ignore => regenerates files that you've deleted by mistake; or when you weren't using "-eclipse" and now wants to move on but don't want the xxxCreator to overwrite your other files -overwrite => you've modified the generated files and made a mistake, you want to revert back to the original files > When do we use -addToClassPath? You want to use a third-party lib and don't want to manually edit every file (*-compile.cmd, *.ant.xml, *.launch, etc.) to update the classpath. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---