2 Replies Latest reply on May 18, 2004 10:10 AM by fralin

    Nukes Build error

    fralin

      I have use build.bat in de nukes/build directory.
      This build action give a error.

      Can you help me ?


      [javac] Compiling 98 source files to D:\anva-abs\nukes\nukes-snapshot\nukes\output\classes
      [execmodules] D:\anva-abs\nukes\nukes-snapshot\nukes\src\main\org\jboss\nukes\core\modules\mail\MailModule.java:390: warning: Name(java.lang.String) in org.xbill.DNS.Name has been deprecated
      [execmodules] Name _name = new Name(name); // Name _name = Name.fromString(name); does not work, why ?
      [execmodules] ^
      [execmodules] D:\anva-abs\nukes\nukes-snapshot\nukes\src\main\org\jboss\nukes\core\modules\mail\MailModule.java:496: cannot resolve symbol
      [execmodules] symbol : method setDebugOut (org.jboss.logging.util.LoggerStream)
      [execmodules] location: class javax.mail.Session
      [execmodules] session.setDebugOut(logs);
      [execmodules] ^
      [execmodules] 1 error
      [execmodules] 1 warning

      BUILD FAILED

      file:D:/anva-abs/nukes/nukes-snapshot/nukes/../tools/etc/buildfragments/targets.ent:65: Compile failed; see the compiler error output for details.
      at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
      at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
      at org.apache.tools.ant.Task.perform(Task.java:319)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:311)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:326)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:215)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
      at org.apache.tools.ant.Task.perform(Task.java:319)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
      at org.apache.tools.ant.Main.runBuild(Main.java:610)
      at org.apache.tools.ant.Main.start(Main.java:196)
      at org.apache.tools.ant.Main.main(Main.java:235)

        • 1. Re: Nukes Build error

          Hi Fralin,

          I hope so:
          The javax.mail.Session.setDebugOut() is a method that came in with JavaMail 1.3 between J2EE 1.3 and 1.4.
          So on the one hand you can't use J2EE 1.4 with jboss-3.2-3 and on the other hand this method is missing in J2EE 1.3, but luckily it is defined in jboss/server/default/lib/mail.jar so it should work to include the mail.jar in your classpath before the j2ee.jar.

          Cheers, Mika

          • 2. Re: Nukes Build error
            fralin


            I have include the mail.jar in the classpath before the j2ee.jar in de run.bat (JBoss). It don't help.

            I have JBoss 3.2.3 en J2SDH-1.4.2_40
            Have you any suggestion ?

            Fralin