1 Reply Latest reply on Mar 3, 2004 12:12 PM by jae77

    news compilation

      HI

      I tried to compile the news module and got these errors

      Executing d:\development\nukes\news\..\tools\bin\ant.bat -logger org.apache.too
      ls.ant.NoBannerLogger
      Buildfile: build.xml

      _buildmagic:init:
      Trying to override old definition of task property

      generate-classes:
      [ejbdoclet] Mar 3, 2004 6:48:37 PM xdoclet.XDocletMain start
      [ejbdoclet] INFO: Running
      [ejbdoclet] Mar 3, 2004 6:48:38 PM xdoclet.XDocletMain start
      [ejbdoclet] INFO: Running
      [ejbdoclet] Mar 3, 2004 6:48:38 PM xdoclet.XDocletMain start
      [ejbdoclet] INFO: Running
      [ejbdoclet] Mar 3, 2004 6:48:39 PM xdoclet.XDocletMain start
      [ejbdoclet] INFO: Running
      [ejbdoclet] Mar 3, 2004 6:48:39 PM xdoclet.XDocletMain start
      [ejbdoclet] INFO: Running

      _default:compile-classes:
      [depend] Deleted 0 out of date files in 0 seconds
      [javac] Compiling 28 source files to D:\development\nukes\news\output\classe
      s
      [javac] D:\development\nukes\news\src\main\org\jboss\nukes\addons\modules\ne
      ws\AddStory.java:250: secAuthAction(java.lang.String,org.jboss.nukes.security.Le
      vel) in org.jboss.nukes.component.ComponentSupport cannot be applied to (java.la
      ng.String,java.lang.String,org.jboss.nukes.security.Level)
      [javac] if (!module.secAuthAction("news:stories:", "::", Constants.SEC
      _ACCESS_EDIT))
      [javac] ^
      [javac] D:\development\nukes\news\src\main\org\jboss\nukes\addons\modules\ne
      ws\AddStory.java:420: secAuthAction(java.lang.String,org.jboss.nukes.security.Le
      vel) in org.jboss.nukes.component.ComponentSupport cannot be applied to (java.la
      ng.String,java.lang.String,org.jboss.nukes.security.Level)
      [javac] if (!module.secAuthAction("news:stories:", Utils.genStorySe
      cInstance(story), Constants.SEC_ACCESS_DELETE))
      [javac] ^

      and more...

        • 1. Re: news compilation
          jae77

          the news module currently isn't working w/ the new security changes b/c julien didn't go in and update it b/c i was working on refactoring that code.

          i'll go through and update the code tonight to compile and deploy w/ the latest security changes and then jump back to the other work i was doing.