4 comments

Hello Thai,

What is known about fileset, is that in certain cases IDEA really builds
the list of all matching files internally. E.g. if your fileset is used in
taskdef to point to library jars, then IDEA will build the list of matching
jars to search necessary classes. So, if resulting list is large, IDEA may
not respond in minutes and probably halt in some cases.

And we should remember that ]]> without include patterns
resolves to all files under any-dir.

Can it be your case? I.e. does dir="../../" point to some directory with
large number of files, maybe in subdirectories?

I type <fileset dir="../../" and Idea halts.

Alexander.


0

Hi Alexander,

I think you wrote that feature in Idea. Am I right?

Yes, my is in a taskdef. ]]>

There are only 6 jars, 4 zips and no subdirectory in the ../../jaxb-ri-20070917/lib directory.

0

Hello Thai,

Hi Alexander,

I think you wrote that feature in Idea. Am I right?


No, but I tested it.


Yes, my <fileset dir="../../"> is in a taskdef.

There are only 6 jars, 4 zips and no subdirectory in the
../../jaxb-ri-20070917/lib directory.


Yes, but since IDEA hangs on typing "../../", it searches in ../.. directory,
which probably has larger content.

If this is the case, you can create a JIRA issue now. I have no idea, will
it be fixed soon or not, but we will have an issue to track this.

Alexander.


0

We've added some reasonable restrictions on the number of processed directories (kind of heuristic :) to avoid IDE lockup.
Will be available in IDEA 7.0.2
Thanks for the feedback.

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


"Thai Dang Vu" <no_reply@jetbrains.com> wrote in message news:21009509.1194646822491.JavaMail.itn@is.intellij.net...

Hi Alexander,

>

I think you wrote that feature in Idea. Am I right?

>

Yes, my <fileset dir="../../"> is in a taskdef.

>

<target name="schemagen-init">
<taskdef name="schemagen" classname="com.sun.tools.jxc.SchemaGenTask">
<classpath>
<fileset dir="../../jaxb-ri-20070917/lib">
<include name="activation.jar" />
<include name="jaxb-impl.jar" />
<include name="jaxb-xjc.jar" />
</fileset>
</classpath>
</taskdef>
</target>

>

There are only 6 jars, 4 zips and no subdirectory in the ../../jaxb-ri-20070917/lib directory.



0

Please sign in to leave a comment.