FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans 6.5 autotest not working right + (a kind of fix)

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
cosmin



Joined: 20 Dec 2008
Posts: 1

PostPosted: Sat Dec 20, 2008 1:38 pm    Post subject: Netbeans 6.5 autotest not working right + (a kind of fix) Reply with quote

Running autotest from the project context menu doesn't take into consideration the .autotest file configurations.
If I run the same thing from command prompt it certainly does.

I've found a fix to this but don't get why it works. The fix is to commented out of .netbeans\6.5\nb_autotest_loader.rb the following lines:

Code:

Autotest.add_hook :initialize do |at|
  load(__FILE__)
end


I've noticed this possible bug while trying to configure autotest to work on a non-rails project.

Anybody has any ideea why it doesn't work as expected by default or what that strange initializer does?

[/code]
Back to top
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Mon Jan 05, 2009 10:33 am    Post subject: Netbeans 6.5 autotest not working right + (a kind of fix) Reply with quote

Hi,

Sorry for replying so late, I've somehow missed this. I think the
initializer had originally something to do with problems in the class
loading order, but it is possible that it's not needed now -- I'll need
to look at this in more details. Thanks for the fix!

Cheers,
Erno

cosmin wrote:
Quote:
Running autotest from the project context menu doesn't take into consideration the .autotest file configurations.

If I run the same thing from command prompt it certainly does.



I've found a fix to this but don't get why it works. The fix is to commented out of .netbeans\6.5\nb_autotest_loader.rb the following lines:




Code:


Autotest.add_hook :initialize do |at|

load(__FILE__)

end





I've noticed this possible bug while trying to configure autotest to work on a non-rails project.



Anybody has any ideea why it doesn't work as expected by default or what that strange initializer does?



[/code]











Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB