1 Reply Latest reply on Dec 8, 2008 4:28 AM by spampete

    package rename

    spampete

      Hi all,
      I did not find any way to rename a package, can this be done ?
      cheers,
      Pierre

        • 1. Re: package rename
          spampete

          ok, sorry for this stupid question, package rename is included in class rename.

          Now, when I rename my com.company.app.TestClassA to com.test.A, I get a strange and quite unexpected "import com.company.app.TestClassA".. how come ?

          currently using javassist 3.9.0, don't know if this was already occuring before.

          regards

          package com.company.app;
          
          public class TestClassA{
           public TestClassA(){
           // ....
           }
          }
          


          becomes

          package com.test;
          
          import com.company.app.TestClassA;
          
          public class A{
           public A(){
           // ....
           }
          }