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 Beta

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





PostPosted: Wed Aug 20, 2008 3:07 pm    Post subject: NetBeans 6.5 Beta Reply with quote

I just installed NetBeans 6.5 Beta on my Windows XP machine. I am interested
in checking out the improved JavaScript funtionality. Do we have any online
resources for it?
I am beginning to work with JQuery. NetBeans 6.5 beta ships with the
Javascript libraries including jQuery. I have some questions on how to
install them.
1. When I installed jQuery, NetBeans installed it in public\resources
folder a Rails app (I am working with Rubyweblog application - thanks Chris)
instead of the public\javascripts folder. Does anyone know why? The reason
I ask is that public\javascripts seems to be the most logical place to
install additional javascript libraries since, out of the box, rails
installs prototype and scriptacolous in that folder anyway?
Bharat
--
View this message in context: http://www.nabble.com/NetBeans-6.5-Beta-tp19070005p19070005.html
Sent from the NetBeans Ruby - Users mailing list archive at Nabble.com.


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





PostPosted: Wed Aug 20, 2008 3:22 pm    Post subject: NetBeans 6.5 Beta Reply with quote

Hi Bharat,

bruparel wrote:
Quote:
I just installed NetBeans 6.5 Beta on my Windows XP machine. I am interested
in checking out the improved JavaScript funtionality. Do we have any online
resources for it?
I am beginning to work with JQuery. NetBeans 6.5 beta ships with the
Javascript libraries including jQuery. I have some questions on how to
install them.
1. When I installed jQuery, NetBeans installed it in public\resources
folder a Rails app (I am working with Rubyweblog application - thanks Chris)
instead of the public\javascripts folder. Does anyone know why? The reason
I ask is that public\javascripts seems to be the most logical place to
install additional javascript libraries since, out of the box, rails
installs prototype and scriptacolous in that folder anyway?


I asked the same thing on the nbajax mailing list a while ago:

http://markmail.org/message/k2ni473euhjz5tez

Reminds me that I haven't followed up on that. Not sure what's wrong
with the format.

Erno

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





PostPosted: Wed Aug 20, 2008 3:27 pm    Post subject: NetBeans 6.5 Beta Reply with quote

This is a known issue, feel free to add your comments:
http://www.netbeans.org/issues/show_bug.cgi?id=139651

A simple workaround is just not to use the included JavaScript
libraries and copy it yourself to the correct place. Then you should
be able to use the JavaScript editing and debugging features.

BTW, nbajax@netbeans.org is the best place to discuss this - cc'ing.

Petr


On Aug 20, 2008, at 5:07 PM, bruparel wrote:

Quote:

I just installed NetBeans 6.5 Beta on my Windows XP machine. I am
interested
in checking out the improved JavaScript funtionality. Do we have
any online
resources for it?
I am beginning to work with JQuery. NetBeans 6.5 beta ships with the
Javascript libraries including jQuery. I have some questions on
how to
install them.
1. When I installed jQuery, NetBeans installed it in public\resources
folder a Rails app (I am working with Rubyweblog application -
thanks Chris)
instead of the public\javascripts folder. Does anyone know why?
The reason
I ask is that public\javascripts seems to be the most logical place to
install additional javascript libraries since, out of the box, rails
installs prototype and scriptacolous in that folder anyway?
Bharat
--
View this message in context: http://www.nabble.com/NetBeans-6.5-
Beta-tp19070005p19070005.html
Sent from the NetBeans Ruby - Users mailing list archive at
Nabble.com.


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



---------------------------------------------------------------------
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:36 pm    Post subject: NetBeans 6.5 Beta Reply with quote

On Aug 20, 2008, at 8:27 AM, Petr Jiricka wrote:

Quote:
This is a known issue, feel free to add your comments:
http://www.netbeans.org/issues/show_bug.cgi?id=139651

A simple workaround is just not to use the included JavaScript
libraries and copy it yourself to the correct place. Then you should
be able to use the JavaScript editing and debugging features.

In particular, for editing purposes the JavaScript editor will find
your own jQuery*.js in public/javascript and use that instead, so you
can bypass the JavaScript Libraries functionality which I think has
been more tested for Java Web projects than Rails projects. By placing
it in public/javascript I think the normal Rails machinery will make
things work at runtime as well.

-- Tor

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





PostPosted: Wed Aug 20, 2008 10:45 pm    Post subject: NetBeans 6.5 Beta Reply with quote

Thanks everyone for your responses. Let us take baby steps. Javascript
debugger is something that I have been anxiously waiting for and is a big
reason for upgrading from NetBeans 6.1 to 6.5. I am not sure if you want me
to report these to NBAjax forum? The reason I ask is that I am working with
Ruby (and Rails off course) only IDE for awhile.

At this point, putting jQuery aside temporarily, I will be very happy if I
could somehow launch the Javascript debugger in a simple HTML page shown
below:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Script 2.2</title>
<link href="../css/global.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
var name = prompt('What is your name?', '');
</script>
</head>
<body id="twoCol">
<div id="container">
<div id="banner"> ../images/banner.png http://www.sawmac.com/missing/js/
</div>
<div id="contentWrap">
<div id="main">
<h1>Using a Variable, Part II</h1>
<script type="text/javascript">
document.write('<p>Welcome ' + name + '</p>');
</script>
</div>
<div id="sidebar">
<h2>Script 2.1</h2>
</div>
</div>
<div id="footer"><em>“Building Interactive Web Sites with
JavaScript”</em></div>
</div>
</body>
</html>

This is from the Javascript - The Missing Manual Book by David Sawyer
McFarland.

I put a breakpoint at the following line:

document.write('<p>Welcome ' + name + '</p>');

And I am following the directions on NetBeans wiki here:

http://wiki.netbeans.org/JavaScriptDebuggerNetBeans6.5M1UserGuide#section-JavaScriptDebuggerNetBeans6.5M1UserGuide-NetBeansJavaScriptDebuggerTechnologyPreviewUserGuide

The directions clearly state that you can debug individual HTML files
containing Javascript code. Please see the following snippet of text from
directions:

......
Starting Debugging
Project
You can use the Run:Debug Main Project action to debug the project.

Start Debugging a file
You can debug an individual.html file using the Debug File action in the
file's popup menu.

The debugger checks if the Firebug 1.1beta+ and NetBeans Firefox Extension
have been installed in Firefox. If not found a message dialog is shown:

.......

I have checked that both Firebug beta and NetBeans Firefox Extensions are
installed in Firefox and that Firebug is enabled. But when I bring up the
pop-up menu by right-clicking on the editor window for the code displayed
above, I do not see a debug menu. I went to the main pull down debug menu
which displays an option for debugging the currently open code which I have
pasted above, but choosing it does not do anything. There is something that
I am missing here. If one of you can try to replicate this simple setup
preferably on Windows XP machine, I will really appreciate it. I use my
Windows machine as a sort of test bed, since I am doing serious development
on my Ubuntu machines using NetBeans 6.1. I have two Ubuntu laptops and
will try NetBeans 6.5 next on them. Improved Javascript and CSS support
makes NetBeans 6.5 a very compelling story. Let us try to get this right.
I am not sure who to work with NB Ajax group. Should we not be inviting the
people responsible for Javascript integration in Ruby only IDE to
participate in beta testing discussions?
Bharat
--
View this message in context: http://www.nabble.com/NetBeans-6.5-Beta-tp19070005p19079460.html
Sent from the NetBeans Ruby - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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: Thu Aug 21, 2008 3:20 am    Post subject: NetBeans 6.5 Beta Reply with quote

I think nbajax@sun.com is the right alias to approach with questions
about the javascript debugger. The JavaScript debugger is mostly
language/framework agnostic except for a small project integration for
each platform (Rails, Java EE etc). Hopefully somebody on the nbajax
alias from the javascript debugger team can comment on this.

-- Tor

On Aug 20, 2008, at 3:45 PM, bruparel wrote:

Quote:

Thanks everyone for your responses. Let us take baby steps.
Javascript
debugger is something that I have been anxiously waiting for and is
a big
reason for upgrading from NetBeans 6.1 to 6.5. I am not sure if you
want me
to report these to NBAjax forum? The reason I ask is that I am
working with
Ruby (and Rails off course) only IDE for awhile.

At this point, putting jQuery aside temporarily, I will be very
happy if I
could somehow launch the Javascript debugger in a simple HTML page
shown
below:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Script 2.2</title>
<link href="../css/global.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
var name = prompt('What is your name?', '');
</script>
</head>
<body id="twoCol">
<div id="container">
<div id="banner"> ../images/banner.png http://www.sawmac.com/missing/js/
</div>
<div id="contentWrap">
<div id="main">
<h1>Using a Variable, Part II</h1>
<script type="text/javascript">
document.write('<p>Welcome ' + name + '</p>');
</script>
</div>
<div id="sidebar">
<h2>Script 2.1</h2>
</div>
</div>
<div id="footer"><em>“Building Interactive Web Sites with
JavaScript”</em></div>
</div>
</body>
</html>

This is from the Javascript - The Missing Manual Book by David Sawyer
McFarland.

I put a breakpoint at the following line:

document.write('<p>Welcome ' + name + '</p>');

And I am following the directions on NetBeans wiki here:

http://wiki.netbeans.org/JavaScriptDebuggerNetBeans6.5M1UserGuide#section-JavaScriptDebuggerNetBeans6.5M1UserGuide-NetBeansJavaScriptDebuggerTechnologyPreviewUserGuide

The directions clearly state that you can debug individual HTML files
containing Javascript code. Please see the following snippet of
text from
directions:

......
Starting Debugging
Project
You can use the Run:Debug Main Project action to debug the project.

Start Debugging a file
You can debug an individual.html file using the Debug File action in
the
file's popup menu.

The debugger checks if the Firebug 1.1beta+ and NetBeans Firefox
Extension
have been installed in Firefox. If not found a message dialog is
shown:

.......

I have checked that both Firebug beta and NetBeans Firefox
Extensions are
installed in Firefox and that Firebug is enabled. But when I bring
up the
pop-up menu by right-clicking on the editor window for the code
displayed
above, I do not see a debug menu. I went to the main pull down
debug menu
which displays an option for debugging the currently open code which
I have
pasted above, but choosing it does not do anything. There is
something that
I am missing here. If one of you can try to replicate this simple
setup
preferably on Windows XP machine, I will really appreciate it. I
use my
Windows machine as a sort of test bed, since I am doing serious
development
on my Ubuntu machines using NetBeans 6.1. I have two Ubuntu laptops
and
will try NetBeans 6.5 next on them. Improved Javascript and CSS
support
makes NetBeans 6.5 a very compelling story. Let us try to get this
right.
I am not sure who to work with NB Ajax group. Should we not be
inviting the
people responsible for Javascript integration in Ruby only IDE to
participate in beta testing discussions?
Bharat
--
View this message in context: http://www.nabble.com/NetBeans-6.5-Beta-tp19070005p19079460.html
Sent from the NetBeans Ruby - Users mailing list archive at
Nabble.com.


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



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





PostPosted: Thu Aug 21, 2008 1:59 pm    Post subject: NetBeans 6.5 Beta Reply with quote

Email sent as advised. Please see below:

I am using NetBeans beta 6.5 Ruby only IDE and am trying to work with the
debugger unsuccessfully. The developers in charge of the NetBeans Ruby IDE
suggested that I contact you. Please read the following thread to learn the
details of this problem:
http://www.nabble.com/NetBeans-6.5-Beta-td19070005.html#a19081858
Thanks.
Bharat

--
View this message in context: http://www.nabble.com/NetBeans-6.5-Beta-tp19070005p19089336.html
Sent from the NetBeans Ruby - Users mailing list archive at Nabble.com.


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





PostPosted: Thu Aug 21, 2008 3:01 pm    Post subject: NetBeans 6.5 Beta Reply with quote

Tor Norbye wrote:
Quote:
I think nbajax@sun.com is the right alias

I think you meant nbajax@netbeans.org. Thought I should correct it here
since the list in CC is not visible for forum users.

Erno


---------------------------------------------------------------------
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