Matt Brunner | 1 May 01:04
Favicon

Problem with breakpoints in JPDA Debugger

The error I get when creating a breakpoint is:
"Not able to submit breakpoint LineBreakpoint ... reason: Breakpoint 
does not belong into the preferred source root 
'/home/matt/pws/xyz-123/src'. See Window/Debugging/Sources."

The problem here is that I have two versions of my project open, xyz-123 
and xyz-456.
I'm trying to set a breakpoint in a java source file in project xyz-465.
Netbeans is telling me that project xyz-123 is the 'preferred' source 
root - however I
have gone into Sources window and un-checked all the boxes next to xyz-123
and only left the xyz-456 boxes checked.

Is there anything I can do ????

--

-- 
Thanks,
Matt

Qil.Wong | 1 May 01:54

Re: How I can view content of SOAP messages when develop ws clients using netbeans 6.1?

I think SOAPUI may help.

Visit www.soapui.org/ for more info.



2008/5/1 legolas <legolas.w <at> gmail.com>:

Hi
Thank you for reading my post
when developing web services and web service client using netbeans 6.1 and
glassfish, is  there anyway to view the content of soap messages that client
sends to server and server sends back to client?

All in netbeans 6.1 and glassfish.

thanks.
--
View this message in context: http://www.nabble.com/How-I-can-view-content-of-SOAP-messages-when-develop-ws-clients-using-netbeans-6.1--tp16992556p16992556.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.


Michael Bien | 1 May 01:57
Picon
Favicon

Re: NB 6.1 - Matisse - Undocked Properties and Palettes


Hi,

try Tools | Options | Miscellaneous | Appearance and uncheck "Transparent
floating windows"

-michael

rdblaha1 wrote:
> 
> NB 6.1 has a tremendous amount of very helpful features for which I am
> thankful.  There is one I would like to do without.  NB 6.1 appears to
> have introduced a new feature for when the Properties window and Palette
> window are undocked.  When I am on working on the main IDE window on a Gui
> Design my Properties and Palette windows are 'ghosted', 'faded' , or
> 'dimmed'  (those are the words I used searching in the NB Help).  This may
> be helpful and may have been requested by other users.  I would like to be
> able to turn it off.  This situation usually requires an extra click (if I
> can even see the ghosted window, especially the Properties window when it
> is over a window filled with text) with the mouse to un-ghost it beside
> use the window for what I need (even just to view my settings).
> 
> Where can I go to find out how to make my undocked Properties and Palette
> windows not ghost out?
> 

--

-- 
View this message in context: http://www.nabble.com/NB-6.1---Matisse---Undocked-Properties-and-Palettes-tp16991869p16992762.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Javier Ortiz | 1 May 02:23
Picon

Re: Re: [nbannounce] NetBeans IDE 6.1 Now Available

The docs you talk about are translated by the community I guess. I mean voluntary people doing the translations. They would be more than happy to accept donations. Sadly I don't have the time.

Now in spanish just in case:


Asumo que son donaciones de la comunidad. Desgraciadamente no tengo tiempo para traducir.

Picon
Favicon

NB blocks on printing?

I have NB 6.0.1.  I just went to print out one of my source files, and
noticed that I couldn't use the UI while it was printing.  Granted that
the class is larger than would be ideal, still I should think that
printing would take place in a separate thread, no?

Rebeccah
------------------------------------------
The contents of this message, together with any attachments, are
intended only for the use of the person(s) to which they are
addressed and may contain confidential and/or privileged
information. Further, any medical information herein is
confidential and protected by law. It is unlawful for unauthorized
persons to use, review, copy, disclose, or disseminate confidential
medical information. If you are not the intended recipient,
immediately advise the sender and delete this message and any
attachments. Any distribution, or copying of this message, or any
attachment, is prohibited.

David Nedrow | 1 May 04:38
Picon

NetBeans libraries and JavaDoc

OK, what am I missing?

If I create a new library containing foo.jar, I can set the sources to  
foo-sources.jar, but can't set the docs to foo-javadocs.jar.

Any time I select the javadocs jar, NetBeans complains that the  
JavaDoc root is invalid and that the index-files folder is missing, or  
the index-all.html is missing. Yet the index-all.html file is there,  
right at the root of the archive. Also, if I extract the contents of  
the doc jar, NetBeans will happily accept the root of the extracted  
file as the Doc dir.

What's up with this?

-David

Harvey Birdman | 1 May 04:45

Debug JUnit on Vista?


Hi, all -

I've finally broken down and installed Vista on an empty partition.  :-U 
I'm trying to get NB installed and running. Seems to install ok, I can
compile and run a suite of JUnit tests against a library I'm developing...
but I can't debug. If I try to debug one of the unit tests, two lines of
output show up on the debugger console -

'listening on 49194
select failed'.

I have the Vista UAC disabled; I'm running in an admin account; I have
modified the NB shortcut properties to 'run as administrator'. Nothing
works.

Any ideas?

TIA...
--

-- 
View this message in context: http://www.nabble.com/Debug-JUnit-on-Vista--tp16992796p16992796.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Chrys Rowe | 1 May 04:55
Picon

JSF Woodstock asynchronous refresh of layout panel

Hi

    I am using the Woodstock components in a JSF application.  I am 
using the AJAX javascript functions to do asynchronous refreshes of 
components.

This is working fine with dropdown menus. A select in dropdown1 updates 
the values in dropdown2 without a full page refresh.

What I would like to do is to asynchronously set the visibility of a 
layout panel.  I have a bunch of components in a layout panel that I 
want to display/hide based on the selection in a dropdown menu.  Layout 
panels don't have a refresh javascript function so this won't work.

Any suggestions on how to accomplish this?  I need to hit the server 
since the visibility of the panel is determined on the server based on 
the value selected in a dropdown.  I can asynchronously set the 
visibility of each component in the layout panel but that still leaves 
the layout panel and a huge white space on the page.

Thanks
Chrys

rlssp | 1 May 05:01
Picon

Query syntax in Netbeans


I am new to Netbeans, my project has a table by name Dvdtaken. Entity class
for this table is Dvdtaken.java
Session bean class is DvdtakenFacade. I have a method called returnDvdtaken
in the session bean ie DvdtakenFacade

public void returnDvdtaken(String userid, String dvdid) 
    {

         em.createQuery("update Dvdtaken o set o.status='invalid' where
o.userid = '"+ userid + "' and o.dvdid='"+dvdid+"' ");

    } 

i am calling this method from a servlet ReturnServ

try 
        {

            String userid = request.getParameter("userid");
            String dvdid = request.getParameter("dvdid");

            out.println("entered try block"); 
            dvdtakenFacade.returnDvdtaken(userid,dvdid); 

            out.println("DVD returned");

       } 

        catch (Exception e) 
        {
            out.println("in catch block");
            e.printStackTrace();
        }   

The error is : Exception Description: Syntax error parsing the query [update
Dvdtake as object(o) set o.status='invalid' where o.userid = '126' and
o.dvdid='5' ], line 1, column 19: syntax error at [object].
Internal Exception: line 1:19: expecting IDENT, found 'object'

Can someone please tell me the correct syntax for update and delete
operations...
Thanks in advance.
--

-- 
View this message in context: http://www.nabble.com/Query-syntax-in-Netbeans-tp16992803p16992803.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Manuel Mall | 1 May 05:15
Picon

RE: Query syntax in Netbeans

Could it be a simple spelling mistake 'Dvdtaken' vs 'Dvdtake' for example?

Unrelated side remark: I would recommend to use query parameters instead of
string concatenations. That way the JPA/JDBC/DB runtime will take care of
substitution, escaping, etc..

em.createQuery("update Dvdtaken o set o.status=:status where
			o.userid = :userid and o.dvdid = :dvdid")
		.setParameter("status", "invalid")
		.setParameter("userid ", userid)
      	.setParameter("dvdid", dvdid);

> -----Original Message-----
> From: rlssp [mailto:swetharaghav <at> hotmail.com]
> Sent: Thursday, 1 May 2008 11:02 AM
> To: nbusers <at> netbeans.org
> Subject: [nbusers] Query syntax in Netbeans
> 
> 
> I am new to Netbeans, my project has a table by name Dvdtaken. Entity
> class
> for this table is Dvdtaken.java
> Session bean class is DvdtakenFacade. I have a method called
> returnDvdtaken
> in the session bean ie DvdtakenFacade
> 
> public void returnDvdtaken(String userid, String dvdid)
>     {
> 
>          em.createQuery("update Dvdtaken o set o.status='invalid' where
> o.userid = '"+ userid + "' and o.dvdid='"+dvdid+"' ");
> 
>     }
> 
> 
> i am calling this method from a servlet ReturnServ
> 
> try
>         {
> 
>             String userid = request.getParameter("userid");
>             String dvdid = request.getParameter("dvdid");
> 
>             out.println("entered try block");
>             dvdtakenFacade.returnDvdtaken(userid,dvdid);
> 
>             out.println("DVD returned");
> 
>        }
> 
>         catch (Exception e)
>         {
>             out.println("in catch block");
>             e.printStackTrace();
>         }
> 
> The error is : Exception Description: Syntax error parsing the query
> [update
> Dvdtake as object(o) set o.status='invalid' where o.userid = '126' and
> o.dvdid='5' ], line 1, column 19: syntax error at [object].
> Internal Exception: line 1:19: expecting IDENT, found 'object'
> 
> Can someone please tell me the correct syntax for update and delete
> operations...
> Thanks in advance.
> --
> View this message in context: http://www.nabble.com/Query-syntax-in-
> Netbeans-tp16992803p16992803.html
> Sent from the Netbeans - Users mailing list archive at Nabble.com.


Gmane