3 Replies Latest reply on Mar 3, 2004 7:22 PM by Viet

    Latest Snapshot problems

    Dennis Przybyla Novice

      I try to build nukes and deploy it and I get the following error:

      file:c:/projects/jboss/nukes/nukes/build.xml:249: Missing required file: C:\Progra~1\JBoss\jboss-3.2.3\server\${jboss.nukes.dir}\deploy
      at org.jboss.tools.buildmagic.task.Require.missingRequired(Require.java:189)
      at org.jboss.tools.buildmagic.task.Require.execute(Require.java:147)
      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)

      It seems to be having problems with the ${jboss.nukes.dir} variable in the build xml file. it is not replacing it. Any ideas?

        • 1. Re: Latest Snapshot problems
          Viet Master

          you need to remove your nukes/build/local.properties

          • 2. Re: Latest Snapshot problems
            jae Master

            i just did an update of cvs, and the block modules (menu, login, etc) aren't being started b/c they are no longer in the jboss-service.xml file (they've been moved to the "resources" dir).

            i'm up and running w/ good old cut and paste, so this is an fyi to everyone else.

            how these are going to be included/loaded?

            • 3. Re: Latest Snapshot problems
              Viet Master

              yes, this is mor flexible as is : you can find the related services in nukes/nukes/src/resources/services

              you have an ant task : sh build.sh deploy-components that will deploy them in the jboss/server/default/nukes

              when you redeploy nukes (for development, I mean nukes.ear) you first have to undeploy it, wait until everything is undeployed and deploy it again. a simple overwrite may not work because of the asynchronicity of the main deployer.