Menu

Mac OSX Build

Help
2003-11-30
2003-12-01
  • Iolaire McFadden

    Well I finally got around to doing a successful build of Consultant Communicator  but it fails because OS X Java is still at version 1.3.1.  Once we get version 1.4 from Apple I'll look into building the .app file once more. 

    But please note generally the program works by running (double clicking on) the CsltComm.jar file.

    The following are my steps to build Consultant Communicator using ant and OSXize
    Step 1.  Install Ant from the Panther Developer's tools CD.
    Step 2.  I had to add these options to .tcshrc  
    setenv JAVA_HOME /Library/Java/Home
    setenv ANT_HOME /Developer/Java/J2EE/Ant
    setenv PATH /Developer/Java/J2EE/Ant/bin:$PATH
        The options may have been set earlier but Apple is using bash so when I set terminal to use tcsh I probably lost them?
    Step 3.  Download OSXize (http://www.neo.com/projects/osxize/osxize.html) place in /Developer/Java/J2EE/Ant/lib
    Step 4. From cc build.xml remove the following lines:
    Line 20 -     <ant target="rpm"/>
        Rpm not installed so it causes errors in the installer, might not be important but removed it to prevent confusion on my part
    Line 102 -    <delete file="${releasename}.Consultant Communicator.app"/>
        For some reason the step that compress the packages are compressing just the Contents folder within Consultant Communicator.app, thus you do not want to delete Consultant Communicator.app - a future task will be to figure out how to compress the app correctly.
    Step 5. Double click Consultant Communicator.app, which starts to load and then generates the following error:
    ConsultComm 3 requires Java 1.4 or higher. Download the latest release of the Java Runtime Environment at http://java.sun.com
    ** Oops Apple has only released Java version 1.3.1 despite the fact that there are java VM files labeled 1.4.1, see: http://docs.info.apple.com/article.html?artnum=120242

     
    • DeckerEgo

      DeckerEgo - 2003-12-01

      Exellent! Once you get to 1.4 let us know how the runtime side of the equation works out!

       

Log in to post a comment.

MongoDB Logo MongoDB