need help installing and using IdeaJAD

I thought I followed the IdeaJad instructions for installation but cannot
seem to exercise the plugin. (I have other plugins that do work.) The
IdeaJad instructions were:

"IdeaJad-661.1
=============

Before you install this release, please delete all old releases from your
plugins directory!

This release was built with IntelliJIdea 661. It is suitable for windows
systems and may run on Linux system after you made the file /bin/jad
executable. To install just extract the zip- or tgz-archive (not the
included jar) into the plugins directory of idea. It should work with
builds 661+ (unless of course something crucial in the openapi changed).

To decompile a class, simply navigate to the class, then click on
'decompile' in the editors context menu. You may be prompted for a target
directory. This will not happen if you defined only a single sourcepath in
your project.

Decompiled classes are written to the source tree. Therefore it makes sense
to have a sourcepath for decompiled files defined.

You can configure IdeaJad in Idea's project properties configuration dialog.

Enjoy!

Hendrik Schreiber <hs@tagtraum.com>"

Four questions:

1) The zip file ideajad-666-1.zip contains files at several directory
levels -- should the folder (directory) names be preserved underneath the
plugins directory, or are all files supposed to be placed in the plugins
directory itself?

2) What does the statement "To install just extract the zip archive (not the
included jar)..." mean -- is the file ideajad-666-1\lib\ideajad.jar not
supposed to be extracted? There are three included jar files, all of which
seem essential to the plugin!

3) How does one "navigate to a class"? The project pane only shows .java
(and other source type) files, and you can't open a file of type .class.
Can't seem to open a jar file either if one might be included as an external
library.

4) How does one reach the "editors context menu" -- is this a right-click in
the editor pane? In the project pane?

Thanks in advance.
-Dave Kriewall


3 comments
Comment actions Permalink

Dave Kriewall wrote:

I thought I followed the IdeaJad instructions for installation but cannot
seem to exercise the plugin. (I have other plugins that do work.) The
IdeaJad instructions were:


...


Four questions:

1) The zip file ideajad-666-1.zip contains files at several directory
levels -- should the folder (directory) names be preserved underneath the
plugins directory, or are all files supposed to be placed in the plugins
directory itself?


extract all files in the zip so you have a structure like:

idea/plugins/ideajad-666-1/...


2) What does the statement "To install just extract the zip archive (not the
included jar)..." mean -- is the file ideajad-666-1\lib\ideajad.jar not
supposed to be extracted? There are three included jar files, all of which
seem essential to the plugin!


He means do not open the jar file and extract the contents, just put the jar file
in the tree you are creating like all the other files. In other plugins, the jar file
is the only file placed in the plugins dir.


3) How does one "navigate to a class"? The project pane only shows .java
(and other source type) files, and you can't open a file of type .class.
Can't seem to open a jar file either if one might be included as an external
library.


You can use Ctrl-N and check the "include non-project classes". If you do not have the
source for the class, the class file will open with a skeleton structure (try it).
Also, if you go to the classpath view, you can click on the plus sign beside a jar
file and open it.


4) How does one reach the "editors context menu" -- is this a right-click in
the editor pane? In the project pane?


Either one.


Thanks in advance.
-Dave Kriewall



--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================


0
Comment actions Permalink

Thanks, works great!

But one new curiosity. The "Decompile" command (whether under View menu
item or on popup menu) seems to be always grayed out. I notice that when
referencing a class with no source, IDEA first generates a stub class (as it
would do if the plugin were not present) but immediately this is replaced in
the editor pane with decompiled source. Does a situation ever arise where
the Decompile command would be explicitly used (and therefore not be grayed
out)?

-Dave


"Erb" <dont@evenbother.com> wrote in message
news:apm865$oun$1@is.intellij.net...

Dave Kriewall wrote:

I thought I followed the IdeaJad instructions for installation but

cannot

seem to exercise the plugin. (I have other plugins that do work.) The
IdeaJad instructions were:

>

...

>

>

Four questions:

>

1) The zip file ideajad-666-1.zip contains files at several directory
levels -- should the folder (directory) names be preserved underneath

the

plugins directory, or are all files supposed to be placed in the plugins
directory itself?

>

extract all files in the zip so you have a structure like:

>

idea/plugins/ideajad-666-1/...

>

>

2) What does the statement "To install just extract the zip archive (not

the

included jar)..." mean -- is the file ideajad-666-1\lib\ideajad.jar not
supposed to be extracted? There are three included jar files, all of

which

seem essential to the plugin!

>

He means do not open the jar file and extract the contents, just put the

jar file

in the tree you are creating like all the other files. In other plugins,

the jar file

is the only file placed in the plugins dir.

>

>

3) How does one "navigate to a class"? The project pane only shows

.java

(and other source type) files, and you can't open a file of type .class.
Can't seem to open a jar file either if one might be included as an

external

library.

>

You can use Ctrl-N and check the "include non-project classes". If you do

not have the

source for the class, the class file will open with a skeleton structure

(try it).

Also, if you go to the classpath view, you can click on the plus sign

beside a jar

file and open it.

>

>

4) How does one reach the "editors context menu" -- is this a

right-click in

the editor pane? In the project pane?

>

Either one.

>



0
Comment actions Permalink

that's just a legacy - it will be removed in the next version.

-hendrik

0

Please sign in to leave a comment.