Content Entries and JAR files

I think some functionality may have disappeared in the recent builds (977/992) in regards to the content entries. Previously (prior to modules) I had a bunch of Content Entries defined in my project, many of them pointing to jar files. The app server we use (ATG Dynamo) puts its default configuration files (tons of them) into jar files and it is very convenient to be able to use Ctrl-Shift-N to open one to view it.

Now, it appears that only directories can be added as Content Entries. Is this by design, or a regression?

I've discovered that I can go into the IML file and add a content tag pointing to the jar file and all seems right with the world.

Thanks

Todd

4 comments

Todd Breiholz wrote:

I think some functionality may have disappeared in the recent builds (977/992) in regards to the content entries. Previously (prior to modules) I had a bunch of Content Entries defined in my project, many of them pointing to jar files. The app server we use (ATG Dynamo) puts its default configuration files (tons of them) into jar files and it is very convenient to be able to use Ctrl-Shift-N to open one to view it.

Now, it appears that only directories can be added as Content Entries. Is this by design, or a regression?

I've discovered that I can go into the IML file and add a content tag pointing to the jar file and all seems right with the world.


You could try adding the jars as a library. Probably a named global
library would be the most logical.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0

Gordon

Thanks for the reply. I've tried before (and just tried again with 996), but it looks like the library jars are not searched for a Goto|File... lookup (Ctrl-Shift-N). In the testing that I've done, the only things that show up in that lookup are files underneath your Content Entries (that are not Java source files, or excluded).

Todd Breiholz

0

Todd Breiholz wrote:

Thanks for the reply. I've tried before (and just tried again with 996), but it looks like the library jars are not searched for a Goto|File... lookup (Ctrl-Shift-N). In the testing that I've done, the only things that show up in that lookup are files underneath your Content Entries (that are not Java source files, or excluded).


Indeed. I've just tried it myself and I can't use Ctrl-Shift-N to open a
properties file defined in one of my library jars.

Feature Request I guess. Or do you consider this a bug?

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0

Feature Request I guess. Or do you consider this a
bug?


Gordon

I guess this is a feature and I've submitted a request
http://www.intellij.net/tracker/idea/viewSCR?publicId=24033"

Todd

0

Please sign in to leave a comment.