0 Replies Latest reply on May 28, 2008 11:05 AM by 666705

    WLS 9.2 - Bug in clientgen task for attribute 'overwrite'

    666705
      Hi,
      I found that the attribute 'overwrite' doesn't work in <clientgen> ANT task. Instead of not overwriting client component files already present, the task re-produces the files every time.

      The reason why is here: (from class ClientGenTask.java)

      private boolean needToRun()
      {
      return true;
      }

      public void execute()
      {
      ClassLoader classloader;
      validate();
      if(!overwrite && !needToRun())
      {
      return;
      }
      ...
      }

      Thanx for help, St.

      --
      Edited by steffen.bartsch at 05/28/2008 4:05 AM