> > > a new package, for example "com.edotest.exec" first I wanted to rename
com -> a dialog pops up saying it can't rename
> > > an read-only element ??

This is because the mapping between packages and directories is only
one-way: One directory always corresponds to a package, but the package may
correspond to several physical directories. The "com" package is a good
example: you most likely have this package in a jar, added to your
classpath.

The question is: did you already have package "edotest" elsewhere before
creating "com.edotest.exec"?

Best regards,
Eugene Zhuravlev
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure!"


----- Original Message -----
From: "Edoardo Comar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: 09 November, 2001 5:40 PM
Subject: RE: [Eap-list] 515 bugs in rename package


> BUT there were NO readonly files!!!
> The packages were empty!!
>
> Edo
>
> > -----Original Message-----
> > From: Eugene Zhuravlev [mailto:[EMAIL PROTECTED]]
> > Sent: 09 November 2001 13:59
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Eap-list] 515 bugs in rename package
> >
> >
> > Yes Edo, we are in a process of adding checks for readonly
> > files to all refactorings. Will be available soon.
> >
> > Best regards,
> > Eugene Zhuravlev
> > IntelliJ Software, http://www.intellij.com/
> > "Develop with pleasure!"
> >
> > ----- Original Message -----
> > From: "Edoardo Comar" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: 09 November, 2001 4:44 PM
> > Subject: [Eap-list] 515 bugs in rename package
> >
> >
> > > create a new project with src and classes (no CVS
> > integration) create
> > > a new package, for example "com.edotest.exec" first I
> > wanted to rename
> > > com -> a dialog pops up saying it can't
> > rename
> > > an read-only element ??
> > > then I tried to rename edotest -> accepts a new name like edotest2,
> > but
> > > an internal assertion come out
> > >
> > >
> > > [refactoring] IntelliJ IDEA (Pandora)  build #515
> > [refactoring] JDK:
> > > 1.3.1_01 [refactoring] VM: Java HotSpot(TM) Client VM
> > > [refactoring] Vendor: Sun Microsystems Inc.
> > > [refactoring] OS: Windows 2000
> > > [refactoring] com.intellij.util.o: java.io.IOException:
> > Cannot rename
> > > file C:\Ed
> > > o\myDev\exec\src\com\edotest to C:\Edo\myDev\exec\src\com\edotest2.
> > > [refactoring]   at com.intellij.psi.impl.c.v.a(v.java:120)
> > > [refactoring]   at com.intellij.psi.impl.c.w.a(w.java:61)
> > > [refactoring]   at com.intellij.refactoring.k.n.a(n.java:27)
> > > [refactoring]   at com.intellij.refactoring.k.n.a(n.java:90)
> > > [refactoring]   at com.intellij.refactoring.k.p.c(p.java:7)
> > > [refactoring]   at com.intellij.refactoring.m.h.run(h.java:19)
> > > [refactoring]   at
> > com.intellij.usageView.impl.actions.b.run(b.java:2)
> > > [refactoring]   at com.intellij.usageView.e.run(e.java)
> > > [refactoring]   at com.intellij.psi.impl.t.a(t.java:10)
> > > [refactoring]   at com.intellij.usageView.d.run(d.java:3)
> > > [refactoring]   at com.intellij.command.a.b.a(b.java:124)
> > > [refactoring]   at com.intellij.usageView.f.run(f.java:3)
> > > [refactoring]   at com.intellij.usageView.h.run(h.java)
> > > [refactoring]   at
> > > com.intellij.progress.ProgressManager.a(ProgressManager.java:
> > > 2)
> > > [refactoring]   at com.intellij.usageView.c.b(c.java:0)
> > > [refactoring]   at com.intellij.usageView.c.c(c.java:32)
> > > [refactoring]   at com.intellij.usageView.g.run(g.java)
> > > [refactoring]   at java.lang.Thread.run(Thread.java:484)
> > >
> > > ---
> > > Edoardo Comar
> > > Cape Clear Software Ltd.,
> > > Building 3, Chiswick Park,
> > > 566 Chiswick High Road,
> > > London W4 5YA, United Kingdom
> > > phone: +44 20 8899 6020 | fax: +44 20 8899 6156  | Direct:
> > +44 20 8899
> > > 6564 [EMAIL PROTECTED]  http://www.capeclear.com
> > >
> > > *** Register for the Ultimate Web Services Event ***
> > > *** <http://www.capeclear.com/ultimate>
> > > *** Download the NEW CapeConnect Three ***
> > > *** <http://www.capeclear.com/download>
> > >
> > >
> > > _______________________________________________
> > > 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
> >


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to