Hi Eugene. The real problem is that the package only corresponds to ONE directory, so the check is wrong! Perhaps this is because I have my source directory on the class path? (This is necessary to read various config files at runtime.) If so, can it be a little smarter and work out that one directory contains sources and the other contains classes?
Thanks, Dan > -----Original Message----- > From: Eugene Zhuravlev [mailto:[EMAIL PROTECTED]] > Sent: 01 December 2001 14:17 > To: [EMAIL PROTECTED] > Subject: Re: [Eap-list] Moving package bug > > > Hi Dan, > The message means that the package you tried to move > corresponded to more > than one directory in your classpath. A good example is "com" > package (the > directories that correspond to it are both in your sources > and JDK sources). > Move operation for such packages is not supported yet (as the dialog > states). The assertion was caused by the fact that the check > whether the > move is possible was done but its results were ignored and > move operation > was invoked even if the check failed. We have fixed this in > #526, thanks for > the bugreport! > > Best regards, > Eugene Zhuravlev > IntelliJ Software, http://www.intellij.com/ > "Develop with pleasure!" > > ----- Original Message ----- > From: "North D" <[EMAIL PROTECTED]> > To: "EAP List (E-mail)" <[EMAIL PROTECTED]> > Sent: 01 December, 2001 4:37 PM > Subject: [Eap-list] Moving package bug > > > > Hi there. > > > > I tried to move a package containing 3 classes from one > place to another. > I > > get a pop-up saying: "Moving of packages represented by > more than one > > physical directory is not supported." The package only > exists in one > > directory. Moving the classes one at a time works fine > (but gets a bit > > tedious!). > > > > I then get the following internal assertion. I experienced > this in #522 > and > > #525 using JDK 1.3.1_01 on NT 4.0. > > > > Thanks, > > Dan > > > > > > [refactoring] IntelliJ IDEA (Pandora) build #522 > > [refactoring] JDK: 1.3.1_01 > > [refactoring] VM: Java HotSpot(TM) Client VM > > [refactoring] Vendor: Sun Microsystems Inc. > > [refactoring] OS: Windows NT > > [refactoring] com.intellij.util.o: Moving of packages > represented by more > > than one physical directory is not supported. > > [refactoring] at com.intellij.psi.impl.r.c(r.java:106) > > [refactoring] at com.intellij.psi.impl.r.b(r.java:101) > > [refactoring] at com.intellij.refactoring.i.a.m.a(m.java:2) > > [refactoring] at com.intellij.refactoring.i.a.m.a(m.java:77) > > [refactoring] at com.intellij.refactoring.i.a.n.c(n.java:53) > > [refactoring] at com.intellij.refactoring.l.h.run(h.java:1) > > [refactoring] at com.intellij.usageView.e.run(e.java) > > [refactoring] at com.intellij.psi.impl.r.a(r.java:222) > > [refactoring] at com.intellij.usageView.d.run(d.java:4) > > [refactoring] at com.intellij.command.a.c.a(c.java:39) > > [refactoring] at com.intellij.usageView.f.run(f.java:2) > > [refactoring] at com.intellij.usageView.h.run(h.java) > > [refactoring] at > > com.intellij.progress.ProgressManager.a(ProgressManager.java:14) > > [refactoring] at com.intellij.usageView.c.b(c.java:11) > > [refactoring] at com.intellij.usageView.c.c(c.java:29) > > [refactoring] at com.intellij.usageView.g.run(g.java) > > [refactoring] at java.lang.Thread.run(Thread.java:484) > > > > > > > ************************************************************** > ************** > *********** > > This email and any files transmitted with it are > confidential and intended > > solely for the use of the individual or entity to whom they > are addressed. > > If you have received this email in error please notify > [EMAIL PROTECTED] immediately. > > > > This footnote also confirms that this email message has > been swept for the > > presence of computer viruses. > > > ************************************************************** > ************** > *********** > > > > _______________________________________________ > > Eap-list mailing list > > [EMAIL PROTECTED] > > http://www.intellij.com/mailman/listinfo/eap-list > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list > *************************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify [EMAIL PROTECTED] immediately. This footnote also confirms that this email message has been swept for the presence of computer viruses. *************************************************************************************** _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list