0 Replies Latest reply on Jan 20, 2005 12:40 PM by Patrick Weege

    Run a ANT script from a SessionBean

    Patrick Weege Newbie

      My name is Patrick and i'm from Brasil.

      What should I do for perform a Script ANT from a SessionBean? I am trying to do like this:

       String[] argumentos = new String[3];
       argumentos[0] = "-file";
       argumentos[1] = "..\\antScript.xml";
       argumentos[2] = "compilar";
      
       Launcher.main(argumentos);
      


      But when the script finishes of perform, the JBoss performs SHUTDOWN