sailfin
  1. sailfin
  2. SAILFIN-991

Install and build instructions unclear/not working

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

      Description

      I installed build38 following the instructions at https://sailfin.dev.java.net/downloads/v1-b38.html.

      1. In the instructions to unbundle and configure SailFin, the 1st step says:

      "Download one of the bundles to disk, set JAVA_HOME to JDK 5." It isn't clear what "JDK 5" should be. I
      figured out that it was the top level directory where the JRE was installed on my system. This can be
      explained better. The instructions should also help the user know how to determine where the JRE is
      located. An example would help.

      2. After installation, I followed the instructions to execute the samples. Step 5 states:

      5. Run the following command to build all available Java files and create the CallSetup.sar file.

      "% <install_home>/sailfin/lib/ant/bin/ant all"

      When I ran that, it exited with an error as shown below.


      Buildfile: build.xml

      init:
      [echo] Building component CallSetup
      [mkdir] Created dir: /Users/murthy/sailfin/samples/sipservlet/CallSetup/build

      compile:
      [javac] Compiling 10 source files to /Users/murthy/sailfin/samples/sipservlet/CallSetup/build
      [javac] javac: invalid source release: $

      {javac.source}

      [javac] Usage: javac <options> <source files>
      [javac] where possible options include:
      [javac] -g Generate all debugging info
      [javac] -g:none Generate no debugging info
      [javac] -g:

      {lines,vars,source}

      Generate only some debugging info
      [javac] -nowarn Generate no warnings
      [javac] -verbose Output messages about what the compiler is doing
      [javac] -deprecation Output source locations where deprecated APIs are used
      [javac] -classpath <path> Specify where to find user class files
      [javac] -cp <path> Specify where to find user class files
      [javac] -sourcepath <path> Specify where to find input source files
      [javac] -bootclasspath <path> Override location of bootstrap class files
      [javac] -extdirs <dirs> Override location of installed extensions
      [javac] -endorseddirs <dirs> Override location of endorsed standards path
      [javac] -d <directory> Specify where to place generated class files
      [javac] -encoding <encoding> Specify character encoding used by source files
      [javac] -source <release> Provide source compatibility with specified release
      [javac] -target <release> Generate class files for specific VM version
      [javac] -version Version information
      [javac] -help Print a synopsis of standard options
      [javac] -X Print a synopsis of nonstandard options
      [javac] -J<flag> Pass <flag> directly to the runtime system

      BUILD FAILED
      /Users/murthy/sailfin/samples/sipservlet/CallSetup/build.xml:71: Compile failed; see the compiler
      error output for details.

      Total time: 0 seconds


        Activity

        Hide
        prasads added a comment -

        Re-assigning to myself

        Show
        prasads added a comment - Re-assigning to myself
        Hide
        murthyn added a comment -

        Changed priority to P2.

        Show
        murthyn added a comment - Changed priority to P2.
        Hide
        prasads added a comment -

        Fixed the build scripts and checked them in,
        Also fixed the download page.

        Assigning to Naman to get the updated sample bundle hosted for donwload

        Show
        prasads added a comment - Fixed the build scripts and checked them in, Also fixed the download page. Assigning to Naman to get the updated sample bundle hosted for donwload
        Hide
        prasads added a comment -

        Marking as candidates for shark

        Show
        prasads added a comment - Marking as candidates for shark
        Hide
        naman_mehta added a comment -

        Added new bundle for sailfin samples.

        Show
        naman_mehta added a comment - Added new bundle for sailfin samples.

          People

          • Assignee:
            naman_mehta
            Reporter:
            murthyn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: