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 
  

weird error msg on new ruby proj (file index.html too large..)

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
phil swenson
Posted via mailing list.





PostPosted: Sat Aug 16, 2008 6:28 pm    Post subject: weird error msg on new ruby proj (file index.html too large..) Reply with quote

I created a new ruby project (it's a mixed java/ruby project but I haven't tried to figure out how to get the java stuff in yet). Right now I'm just trying to write a java build using Rake and AntWrap.
I get this error every time I open the project

file index.html seems to be too large (3 mb) to be safely open.

http://www.grabup.com/uploads/1dc0eba1b6daf727e4b9ea9338e5917e.png

any idea why?
Back to top
Martin Krauskopf
Posted via mailing list.





PostPosted: Sat Aug 16, 2008 7:42 pm    Post subject: weird error msg on new ruby proj (file index.html too large..) Reply with quote

phil swenson wrote:
Quote:
I created a new ruby project (it's a mixed java/ruby project but I
haven't tried to figure out how to get the java stuff in yet). Right now
I'm just trying to write a java build using Rake and AntWrap.
I get this error every time I open the project

file index.html seems to be too large (3 mb) to be safely open.

http://www.grabup.com/uploads/1dc0eba1b6daf727e4b9ea9338e5917e.png

any idea why?

NetBeans emits this warning if the size of file is larger then 1MB.

However in the latest dev version I get [Yes] and [No] buttons. So seems
it was fixed recently (after 6.5 beta). You might grab latest dev builds:

http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-HowDoIGetTheContinuousBuilds

Cheers,
m.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
phil swenson
Posted via mailing list.





PostPosted: Sat Aug 16, 2008 7:44 pm    Post subject: weird error msg on new ruby proj (file index.html too large..) Reply with quote

i have no idea what file it's even talking about....

i don't have an indexall.html in my project so dunno...

i'll grab a newer build.

phil

On Sat, Aug 16, 2008 at 1:42 PM, Martin Krauskopf <Martin.Krauskopf@sun.com (Martin.Krauskopf@sun.com)> wrote:
Quote:

phil swenson wrote:
Quote:
I created a new ruby project (it's a mixed java/ruby project but I haven't tried to figure out how to get the java stuff in yet). Right now I'm just trying to write a java build using Rake and AntWrap.
I get this error every time I open the project

file index.html seems to be too large (3 mb) to be safely open.

http://www.grabup.com/uploads/1dc0eba1b6daf727e4b9ea9338e5917e.png

any idea why?



NetBeans emits this warning if the size of file is larger then 1MB.

However in the latest dev version I get [Yes] and [No] buttons. So seems it was fixed recently (after 6.5 beta). You might grab latest dev builds:

http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-HowDoIGetTheContinuousBuilds

Cheers,
m.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org (users-unsubscribe@ruby.netbeans.org)
For additional commands, e-mail: users-help@ruby.netbeans.org (users-help@ruby.netbeans.org)

Back to top
Martin Krauskopf
Posted via mailing list.





PostPosted: Sat Aug 16, 2008 8:07 pm    Post subject: weird error msg on new ruby proj (file index.html too large..) Reply with quote

phil swenson wrote:
Quote:
i have no idea what file it's even talking about....

i don't have an indexall.html in my project so dunno...

Aha, I see. index-all.html is being built by Javadoc. When you click the
OK, is some file actually opened?

Is not the index-all.html listed in:

<your_project>/nbproject/private/private.xml

?

m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Tor Norbye
Posted via mailing list.





PostPosted: Wed Aug 20, 2008 7:11 pm    Post subject: weird error msg on new ruby proj (file index.html too large..) Reply with quote

On Aug 16, 2008, at 12:42 PM, Martin Krauskopf wrote:

Quote:
phil swenson wrote:
Quote:
I created a new ruby project (it's a mixed java/ruby project but I
haven't tried to figure out how to get the java stuff in yet).
Right now I'm just trying to write a java build using Rake and
AntWrap.
I get this error every time I open the project
file index.html seems to be too large (3 mb) to be safely open.
http://www.grabup.com/uploads/1dc0eba1b6daf727e4b9ea9338e5917e.png
any idea why?

NetBeans emits this warning if the size of file is larger then 1MB.

However in the latest dev version I get [Yes] and [No] buttons. So
seems it was fixed recently (after 6.5 beta). You might grab latest
dev builds:

http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-HowDoIGetTheContinuousBuilds

This should be fixed in 6.5 - and not with "Yes and No" buttons. That
only happens if you try to actually -open- the file.

Phil said this happens when he just opens the file. If you had any
really large file in there, and NetBeans needed to index it (.html
files are indexed such that references to for example JavaScript
functions are recorded so they can be retrieved immediately during
code completion later), it would need to open it. And deep within the
editor support layer, there was code which would put up this warning.
When the request came from code instead of via an explicit user
action, there would be no Yes/No buttons.

Right before my vacation I checked in code to address this; it no
longer attempts to open large files during tasklist hint scanning or
background indexing.

If you are still seeing any problems in this area (including a Yes/No
dialog - we shouldn't show that when all you've done is just open your
project, not any specific files), please let me know or better yet
file a P2 bug.

-- Tor


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
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