0 Replies Latest reply on Feb 10, 2002 10:28 PM by Ramón Talavera

    LITTLE DETAILS TO HAVE IN MIND (W2K & LINUX)

    Ramón Talavera Newbie

      Hello,
      I tried to follow the tutorial this weekend and I found
      myself facing those little details all of us know about.
      Things seem easier than they are. I think the next points should be part of the tutorial:

      1) W2K : ANT 1.4.1 BUG IN W2K
      It has been reported and it is an easy to fix bug. So if your system cannot find ant after installing it add the line:
      set ANT_HOME=
      just at the beginning of ant.bat

      2) W2K&LINUX: Setting Directories:
      Many environment variables have to be setup before launching JBoss and ant; in my system they are:
      SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;G:\jdk1.3.1_01\bin;
      SET CLASSPATH = G:\jdk1.3.1_01\include;G:\j2sdkee1.3\lib;G:\JBOSS\JBoss-2.4.4\lib;.\
      SET JAVA_HOME=G:\jdk1.3.1_01
      SET ANT_HOME=c:\ant
      SET PATH=%PATH%;%ANT_HOME%\bin
      SET JBOSS_DIST=g:\JBoss

      Under linux you should do the equivalent.

      So set them up properly.


      3)LINUX: HOTSPOT JVM seems not to be working properly under some
      Linux installations (Mandrake 8.0 for me).
      -> Use another JVM
      I fixed it editing ¿build.xml, I think? (now I am under W2K) and setting HOT_SPOT="", this will work slower so I suggest installing another JVM (How?)

      I hope this helps someone.

      Sincerely,
      Ramón Talavera