12 comments

According to http://www.worldofjava.org/download.do : "The WOJ plugin for
IntelliJ IDEA is under developpment.
It will be available very soon."

"J. Albers" <no.spam@inter.net> wrote in message
news:eb4eu5$61g$1@is.intellij.net...

Hi,

>

is somebody working on it?

>

- Jens

>

@see http://www.worldofjava.org/homepage.do



0

Hi,

I'm working on it.
We hope that it will be done for next week.
For a beta version.

Thank you for your interest.
Sophie

0

Sophie, will the plugin be supported in 5.x and 6.0 or just 6.0?

0

I watched the demo at the http://www.worldofjava.org/homepage.do, and
the current functionality didn't seem very useful.

The large project I work on uses 50+ 3rd party libraries. They are all
checked in our workspace with the jar files, javadocs, and souce (if available).
Changes to the files can be monitored with version control.

I can't think of a reason why I would would to have IntelliJ contacting an external
server to access this information.

It's true that I would like the adding of the jarfiles to my Project library to be
more automated, but since the Ant build.xml is the golden standard for building
the project, any solution for me needs to involve sucking in the classpath from
the build.xml .

Some things that would be possibly interesting:
1) Capability to Find Usages of an API across all of the cataloged source code,
and then display the matches in IntelliJ, and server up the soure code I would like
to view.

That might be very handy if I am looking for an example of how an API is used.

2) If you had 1), then Jetbrains should add all the plugin source to WorldOfJava, and then all IDEA Plugin developers could have at their fingertips examples of how different IDEA API calls are used.

3) A Global Find In Path across all of the catalogued source code. I may be
interested in some functionality, and I would like to search by keyword, e.g.
jpeg or snmp or ajax, to see if there are any related APIs.

0

Hi,

The plugin just supports Idea 5.x. Because of changes of IDEA API in 6.0, we have decided to finish this plugin before developping the next.

Sophie

0

Of course if you already have everything properly configured, and if maintaining this configuration doesn't take too much time, congratulations, you have a verry good development environment, hence World of Java service won't help you much right now. But this is not the case for every one.

We are only at the first phase of developments, so we decided to focus on a need very common in companies where there is no good dependency management, or where at least the javadocs and sources of the dependencies are not already managed efficiently. And when you work on a modular project with continuous integration, without a good tool it is really painful to access the sources and javadocs of your dependencies.

But since World of Java collects very useful information about the source code of thousands of modules in a database, we have plans to improve this service with features like the one you suggested. It will only take some time, but be patient and stay tuned, I guess you will be interested by what WOJ will offer in the future :)

0

Given the random refreshes and the overall poor performance, I'll be uninstalling this. My project has just checked WOJ 3 times in a row. It's so slow!

Oops - 4 times... there it goes again!

5 times... try to uninstall it and it refreshes itself when I open the plugins page!!

You'd be better off to properly configure your library modules.

0

Dear Tony,

Thank you for your interest for WOJ.
You said that WOJ is too slow. Did you try to configure your IDEA with all the sources of your project dependencies?
You will notice like we did before, that when IDEA is fully configured, it is relatively slow on its own.
With WOJ plugin, what is relatively slow is the first WOJ init on a project. This operation is done once by project (redone each time that IDEA detects a change in your dependencies(done by user or by system) ) and the work done for a dependency is reused for other projects using the same dependency.

A possible way to enhance this kind of work, would be to ask to user to check the dependencies for which he wants the sources to be configured. Today, WOJ plugin configures ALL your dependencies.

When you tell about random refresh, what do you mean about that? WOJ plugin does not random refreshes.
What did occur in your case? Can you give us more information to help us solving this problem (OS, IDEA revision, number of opened projects, number of dependencies, ...)?

This version of the plugin is still a beta version. We are open to any comment that can help to enhance the plugin.

Kind regards,
Sophie Bardet, Woj Team
support (at) worldofjava (dot) org

0

Hi Sophie,

I haven't configured sources and javadocs for every library in our system, so I'll have to take your word for it that it is also slow.

Since reading your response, I've reinstalled it to try and get some more concrete details of what is happening. It seems to be behaving itself at the moment. However, the initial scan for our project takes 75 seconds. As far as the random refreshes are concerned, what I mean is I'll do some development, test the changes, come back to Idea and WOJ performs a refresh. I haven't changed anything, just switched from the IDE to the browser and back. I also notice extended periods where the IDE stops responding. I don't know why, but I don't notice the same behaviour without WOJ installed. Looking up the javadocs for a method (say within the Struts library) takes 10 seconds on the first call and then 6 seconds on subsequent calls. Looking up javadocs in the HttpServletRequest Class takes between 20 and 26 seconds. (servlet.jar was in our project library. In the following example, I removed it from the project library and placed it in its own library. I note now that the documentation for HttpServletRequest is being found as part of the Tomcat libraries and is coming back in around 6 seconds, which seems to be about average.)

Opening the module settings now takes 20 seconds. I took a jar out of the project library and created a new library containg the jar. WOJ refreshed twice, each time taking around one minute. Idea then froze for 45 seconds. I then closed the module settings dialog, WOJ did another refresh, this time 30 seconds. Idea then froze for another 50 seconds. All up, that's 3 minutes and 25 seconds to modify a dependency.

I'm running Idea 5.1.2 on WinXPSP2. The machine is an AMD 3800+ Dual Core. I have 2Gb of RAM. I generally only work on one project at a time. Our project has 45 jar files included. The project contains a single web module.

I hope that some of this information will help. WOJ seems like a good idea. What I'd like to see is some way of being able to select the modules (as you suggest). Perhaps if you could select which modules you were interested in via the Module Browser. eg: I want Struts, J2EE, Jakarta Commons etc.

Thanks
Tony

0

Hi Tony,

We have identified a way to reduce the time and the number of refreshes. It still is in test.
We will release a version very soon.

Thank you for your help.

Sophie,
Woj Team

0

Hi Sophie,

Thanks for the prompt reply.

One other thing that I have noticed is the time it takes for the code-completion popup to open. Without WOJ loaded, the popup appears almost instantly. With WOJ loaded, it can take upwards of 30 seconds for the popup to open - even on methods within our own classes. Is this a configuration issue?

Thanks
Tony

0

Hi Tony,

All access to sources are served by WOJ, so the completion code too.
The completion code gets sources to make names for the arguments of methods.

We have decided to include a way to select the jars you want to attach. So be patient, the new release of the plugin is coming soon.

Just a question. Where are you? The response time of our servers perhaps could be a reason of the bad performance.

Thank you for all your notices and we hope that you we test the new plugin when it will be posted.

Sophie Bardet,
WojTeam

0

Please sign in to leave a comment.