Melongo Annabel | 1 Aug 01:32
Picon
Favicon

Re: Re: Editing on windows without CR

Good way to advertise an issue....

From: Paulo Azevedo <halufa <at> gmail.com>
To: nbusers <at> netbeans.org
Sent: Friday, July 31, 2009 11:25:18 AM
Subject: Re: [nbusers] Re: Editing on w indows without CR

[Issue 169651] New - Option to select LF or CRLF as new line sequence



2009/7/31 Frank-Michael Moser <moser <at> decodon.com>
> could you file an issue about this and CC me?

or better post the issue number here, I would like to vote, too.

Frank-Michael




--
-Paulo
http://twitter.com/halufa

Melongo Annabel | 1 Aug 01:38
Picon
Favicon

Re: Is there a refactoring that does this?

Thomas,
I think the person whoever invents this will become a billionaire overnight.... think about all the code out there with duplicate lines...

From: Thomas Wolf <twolf <at> netforensics.com>
To: nbusers <at> netbeans.org
Sent: Friday, July 3 1, 2009 9:09:10 AM
Subject: [nbusers] Is there a refactoring that does this?

I am trying to do more cleanup on our project.  Among the thousands of java files, there are a few where the developers simply took an existing class, copied it to their own package, and added & modified stuff - instead of trying to do some intelligent subclassing.

PMD has a cool tool, cpd, that helps in finding any duplicate code in a java code base (it can be a plugin in Eclipse, but for netbeans it's only available as a standalone tool I think :-(.  Alas, finding the classes with duplicate code is only half the battle - it would be extremely helpful if a tool could automatically extract the common bits between two classes and create a new "base" class with these common bits.

Does anyone know of such a refactoring capability?  I don't see anything like th at in NB (don't know Eclipse or IDEA - do they have it?)

Thanks for any info,
Tom
**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************


Melongo Annabel | 1 Aug 01:49
Picon
Favicon

Re: problem saving items

Heero,
I will recommend for situation like this, you use the debugging tool to monitor why your code isn't working. Nobody in this list can actually give you such a fine-grained answer on your code. That's something you have to do yourself. However, if your code throws some exceptions that you don't understand, then someone in the list might be of any help. Thanks.

From: heero <ulyssedepret <at> ho tmail.com>
To: nbusers <at> netbeans.org
Sent: Friday, July 31, 2009 5:34:31 AM
Subject: [nbusers] problem saving items

making a routecreationprogram on java netbeans that looks something like this:



private Route[] bestset;

private Schedule bestschedule;

private double bestcost;



program Routemaker:

{

start with:  Route set[] and int[] periods

Schedule q=makeschedule(set,periods);

cost= q.Givecosts

if(cost<bestcost)

{bestschedule=q;bestcost=cost; bestset=set;

}

adapt set and periods. redo Routemaker untill iterations is met

}



The very nasty problem i am experiencing is that java wont save that bestset thing, it does save bestcost as the best cost but when i later on call back bestset it gives a totally different set than the one that should be on bestset (each time the last set us ed)



Same thing goes for the schedule, in the schedule it uses the set of routes, so i tried calling it back from bestschedule, again it gives a wrong set.  I also attached the cost to bestset and it gives the good best cost.



any idea why this is happening and how i can stop it.  I want to save object/array of objects, later on manipulate them and still be able to call back the ones i saved as best.



thx





Melongo Annabel | 1 Aug 01:57
Picon
Favicon

Re: NetBeans 6.7.1 - no go?!?

Just curious, do you have the permission "administrator" on your machine? I worked with vista once and I used to have those issues because I wasn't the administrator. If you aren't the administrator, please have the administrator install the ide and allow every users of the computer to use it. Thanks.

From: foskaty <foskaty <at> gmx.net>
To: nbusers <at> netbeans.org
Sent: Friday, July 31, 2009 3:17:16 AM
Subject: [nbusers] NetBeans 6.7.1 - no go?!?

I was looking forward to install a NetBeans with support for the new JavaFX version and deinstalled version 6.7 prior to installing version 6.7.1. The installation went flawlessly, no complaints at all, nice icon on the desktop (Windows Vista Home, 65bit, JDK 6u14 (32 bit)).



Starting NetBeans (by clicking the desktop icon) fails, however. A dialog says that I do no have sufficient permissions to run it?!? Right click "run as Admin" on "uninstall.exe" brings another dialog saying, that the JDK is missing - it is not. Deinstall using Vistas deinstallation console did not work either due to permission problems.



NetBeans 6.7 worked fine.



Strange side effect: After the installation of NetBeans 6.7.1, I was no longer able to run compiled .class files (small "Hello, world" project) from inside Eclipse 3.5 - "Access denied" (error 5). Other Java applications still seem to work, but I won't make a guess, if they also work tomorrow. :-/



Any ideas on how to solve this mess?



Regards, Ole





Petr Podzimek | 1 Aug 06:50
Gravatar

Invitation to connect on LinkedIn

LinkedIn

Petr Podzimek requested to add you as a connection on LinkedIn:

 

Parthasarathi,

I'd like to add you to my professional network on LinkedIn.

- Petr

View invitation from Petr Podzimek

 

WHY MIGHT CONNECTING WITH PETR PODZIMEK BE A GOOD IDEA?

Have a question? Petr Podzimek's network will probably have an answer
You can use LinkedIn Answers to distribute your professional questions to Petr Podzimek and your extended network. You can get high-quality answers from experienced professionals.

 

© 2009, LinkedIn Corporation

anthony.flury | 1 Aug 08:20

Problems with debugging a multiple file python application

if i have a python application where it is defined within multiple files - say the main application in one file and classes or functions in another, how do i get the debugger to honour break points or step into the second file ?

Right now all the debugger willl do is honour breakpoints or allow me to step into functions that are defined within the main application file, which is a significant limitation
Rishi Nag | 1 Aug 10:01

Re: Class name in code template

 
2009/7/31 bugs_ <bugsmail <at> centrum.cz>
Is it possible to create Java Code Template, which will write name of class that is currently being edited?
 
 
 
public class ${name}
{
 
}
 
You can set up:
${date} inserts the current date, in this format: Feb 16, 2008
${encoding} inserts the default encoding, such as: UTF-8
${name} inserts the name of the file.
${nameAndExt} inserts the name of the file, together with its extension.
${package} inserts the name of the package where the file is created.
${time} inserts the current time, in this format: 7:37:58 PM
${user} inserts the user name.
thuric | 1 Aug 07:46
Picon

Netbeans 6.5 - portalpack 3.0.2

Hi,

First, sorry for my english  :) 

I've got problems with portalpack plugin 3.0.2 under both Windows xp sp3 and mac osx 10.5. 

I use Netbeans 6.5.1 and I work with Liferay 5.2.3 tomcat 6 bundle.

Problems are differents on each system.

Windows : I can't deploy portlet because the server start process never finish . It's blocking to
"Realoding Repostories". And it can't deploy portlet until the process server is finish. In old
portalpack version, we can deploy portlet without start server in Netbeans. But with this, i must start
server before deploy.    :( 

OSX : The problem is different, I can't create portlet at all  :( 

In the wizzard new project creator, the process is blocking to 25% and i don't know why.

Is there anybody who have the sames problems ??

thanks for answer

paladinroar | 1 Aug 06:39
Picon

downloading problem

hi,

i can access web page of netbeans.org, but when i try to download netbeans 6.7, it displays:

> Access Denied

> You don't have permission to access
"http://dlc.sun.com.edgesuite.net/netbeans/sync/6.7.1/bundles/netbeans-6.7.1-ml-javase-windows.exe"
on this server.

> 

> Reference #18.7ca387d.1249100543.d80972 \

dose it mean sun download center block my ip address(166.111.68.*)? i can not do plugin upgread of my
netbeans 6.5, hope some one can help me to find the problem out.

thanks.

dinesh | 1 Aug 11:42
Picon
Favicon

netbeans?

i am doing a project.project is name is peer to peer video streaming.i have to use jxta,jmf,swing,sql
server connectivity.can i implement all these things using netbeans? if yes means what version of
netbeans is suitable?6.0 or 6.5 or 6.7?please give any suggestions.i am a absolute beginner.

------------------------
be a developer


Gmane