Morten Moeller

Ranch Hand
+ Follow
since Nov 26, 2001
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Morten Moeller

Actually, Eclipse isn't built very well to handle this. Most of the resource framework, the resource navigator etc is tightly coupled to a file based system.

You can still create views and editors of course that isn't file based. You just have to create your own IEditorInput etc. But it is hard/impossible to leverage existing plug-ins in your systems.

But, if you want better non-file support, go vote for:
By the way, in 3.1 the list of shortcuts are built-in to the platform.
Web Services support is a part of the Eclipse foundation however.

Support for Web Services is in the Eclipse Web Tools Platform project (
Most of WSADs extentions to Eclipse, IBM Open Sourced through the Eclipse Web Tools Platform (

Originally posted by Anton Golovin:
The only good IDE is that of Borland JBuilder.

You must not have tried many different IDEs saying stuff like that
But there is still hope for you too!
Actually, now that 3.0 is fully released, there is a document showing all changes since 2.1 here:

Eclipse 3.0 News
I need to get a hold of the list of users the server knows about (for wls7 and 8). I found a posting about 6.1, but Security changed between 6 and 7..

Anybody know this?
17 years ago
I have a problem with pageContext.insert() in WAS40. This is working in Weblogic and I think it was working in WAS40 before we installed the fixpacks.
Basicly the doEndTag() does the following:

And it is now resulting in the following error:

So I can't flush within a custom tag. Thats fine I don't .. Assuming that insert() does since I think thats in the specs.. If I cant flush() (hence cant call insert()), how to I do this in WAS4.0 ?
18 years ago
Have anyone heard of any (opensource) project to create KDE/QT bindings for SWT?
18 years ago

Originally posted by Ren Li:
I found that Eclipse 2.1 behaves differently, for instance, when I tried to import file from folder, Eclipse in Linux does not refresh the selected folder; but Eclipse in Windows does it. Could anybody tell what you are using as Java IDE in Linux, Eclipse, Emacs or something else, thanks,
Ren Li

I'm personally using IntelliJ under Linux and it's working fine (actually in many ways better than the windows version).
I've used IntelliJ for about a year now going from Netbeans/Eclipse. It is a big time saver especially in big projects when you have to start refactor a lot of code. Certain thing can be done in Intellij in hours compared to months without it.
Although the newer versions of Eclipse comes with some refactoring it is not yet up to par with IntelliJ.
It also has the best code completion system out there and a lot of other useful features (like live templates).
I was wondering. Does the book talk about SWT at all?
I have a search problem with active directory and LDAP and hoping someone would know this
public HashMap doSearch(String root, String filter, Object [] args, String [] attrs) throws NamingException {
DirContext ctx = getContext();

SearchControls control = new SearchControls();

NamingEnumeration enum =, filter, args, control);
HashMap ret = new HashMap();

while (enum.hasMore()) { .. Create hashmap of results ..

context is ldap://ouradserver:389/ .. The first search that runs is :
root = "CN=Users,DC=training,DC=com"
filter = "(objectClass=user)"
attrs = new String[] { "cn" }
Second search is the following:
root = "DC=training,DC=com"
filter = "(objectClass=user)"
attrs = new String[] { "cn" }
This one doesn't work. The following exception is returned on the while (enum.hasMore()) line:
Exception in thread "main" javax.naming.PartialResultException: Unprocessed Continuation Reference(s
); remaining name 'DC=training,DC=com'
at com.sun.jndi.ldap.LdapCtx.processReturnCode(
at com.sun.jndi.ldap.LdapCtx.processReturnCode(
at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(
at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(
at LDAPSearchDirectory.doSearch(
at LDAPSearchDirectory.main(
Does anyone know why this exception happens and how it can be avoided?
19 years ago
Well in the first A extends B, so methods and and variables exposed in B will be available in A.
So (if you had made variables public or from within the same package) A.x is valid and returns 5 in the first example, but not valid in the second.
The other thing is that B b is a local variable in the constructor, so even if you get the new instance of B, it will be released the moment the constructor is done. In order to keep B around, you would have to make B a global variable in the class.
19 years ago