Can someone tell me how to run Rake from Eclipse/RDT ? Especially, I need to run sepcific test classes. Peter J. Fitzgibbons Applications Manager Lakewood Homes - "The American Dream Builder"(r) Peter.Fitzgibbons-STCS76aLmhk1y/cD6r8xzl6hYfS7NtTn@public.gmane.org (847) 884-8800 _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
This doesn''t specify rake necessarily, but how to add external tools into the menu... http://www.napcs.com/howto/railsonwindows.html On 8/24/05, Peter Fitzgibbons <Peter.Fitzgibbons-p2lxMnUesd41y/cD6r8xzl6hYfS7NtTn@public.gmane.org> wrote:> > > Can someone tell me how to run Rake from Eclipse/RDT ? > > Especially, I need to run sepcific test classes. > > Peter J. Fitzgibbons > Applications Manager > Lakewood Homes - "The American Dream Builder"(r) > Peter.Fitzgibbons-STCS76aLmhk1y/cD6r8xzl6hYfS7NtTn@public.gmane.org > (847) 884-8800 > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Brock Weaver [OBC]Technique
Configure Eclipse to Run Rake Test * Select Run -> External Tools -> External Tools * Select New to create a new program * Enter "Run Rake Tests" as the name * Enter C:\ruby\bin\rake.cmd for the Location * Enter ${workspace_loc} for the Working Directory * Enter ${project_name} for the Arguments * Select the refresh tab and check Refresh Resources Upon Completion * Select the Common tab o Find the section for Display in Favorites Menu o Check the box next to External Tools * Select Apply Otherwise to run individual tests, simply right click on the test file from the "Ruby Resources" menu and select "Run As > Test:Unit Test". -- ~~~~~~~~~~~~~~~~~~~ D''Andrew Thompson http://dathompson.blogspot.com On 8/24/05, Peter Fitzgibbons <Peter.Fitzgibbons-p2lxMnUesd41y/cD6r8xzl6hYfS7NtTn@public.gmane.org> wrote:> > > Can someone tell me how to run Rake from Eclipse/RDT ? > > Especially, I need to run sepcific test classes. > > Peter J. Fitzgibbons > Applications Manager > Lakewood Homes - "The American Dream Builder"(r) > Peter.Fitzgibbons-STCS76aLmhk1y/cD6r8xzl6hYfS7NtTn@public.gmane.org > (847) 884-8800 > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
That is of course presuming that you are running Eclipse 3.1 with the RDT Nightly Builds Plugin. -dave On 8/24/05, D''Andrew Thompson <dandrew.thompson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Configure Eclipse to Run Rake Test > > * Select Run -> External Tools -> External Tools > * Select New to create a new program > * Enter "Run Rake Tests" as the name > * Enter C:\ruby\bin\rake.cmd for the Location > * Enter ${workspace_loc} for the Working Directory > * Enter ${project_name} for the Arguments > * Select the refresh tab and check Refresh Resources Upon Completion > * Select the Common tab > o Find the section for Display in Favorites Menu > o Check the box next to External Tools > * Select Apply > > Otherwise to run individual tests, simply right click on the test file > from the "Ruby Resources" menu and select "Run As > Test:Unit Test". > > > -- > ~~~~~~~~~~~~~~~~~~~ > D''Andrew Thompson > http://dathompson.blogspot.com > > > On 8/24/05, Peter Fitzgibbons <Peter.Fitzgibbons-p2lxMnUesd41y/cD6r8xzl6hYfS7NtTn@public.gmane.org> wrote: > > > > > > Can someone tell me how to run Rake from Eclipse/RDT ? > > > > Especially, I need to run sepcific test classes. > > > > Peter J. Fitzgibbons > > Applications Manager > > Lakewood Homes - "The American Dream Builder"(r) > > Peter.Fitzgibbons-STCS76aLmhk1y/cD6r8xzl6hYfS7NtTn@public.gmane.org > > (847) 884-8800 > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > >-- ~~~~~~~~~~~~~~~~~~~ D''Andrew Thompson http://dathompson.blogspot.com