Re: Ant install problems

From: David LeBer (dlebe..odeferous.com)
Date: Sun Oct 21 2007 - 23:32:13 EDT

  • Next message: David LeBer: "Re: Ant install problems"

    On 21-Oct-07, at 11:48 AM, David LeBer wrote:

    > Is anyone else seeing this?
    >
    > I am running Eclipse 3.3.1/WOLips 4537
    >
    > If I ctrl+click WOLips Tools->Install:
    >
    > 1. The resulting ProjectBundle.woa/Contents//Info.plist is missing
    > the NSExecutable entry which makes the app launch as MainBundle.woa
    >
    > 2. The ProjectBundle.woa/Contents/MacOS/MacOSClassPath.txt and
    > MacOSXServerClassPath.txt
    > files have ${jvm} for the JVM value making the app launch fail.
    >
    > This occurs in existing projects or if I create a new project using
    > either the new WebObjects Application or WOnder Application
    > templates in my existing Workspace or a new one.
    >
    > Anyone? Bueller?

    I'm browsing through the
    org.objectstyle.woproject.ant.WOApplication.java source and this
    (starting at line 617) looks wrong:

            /**
             * Method setJVM. Path to JVM executable.
             *
             *..aram jvmPath
             */
            public void setJVM(String jvmPath) {
                    if (jvmPath == null || jvm.equals("${jvm}")) {
                            this.jvm = "java";
                    }
                    this.jvm = jvmPath;
            }

    I'm assuming it should be:

            /**
             * Method setJVM. Path to JVM executable.
             *
             *..aram jvmPath
             */
            public void setJVM(String jvmPath) {
                    if (jvmPath == null || jvm.equals("${jvm}")) {
                            jvmPath = "java";
                    }
                    this.jvm = jvmPath;
            }

    ;david

    --
    David LeBer
    Codeferous Software
    'co-def-er-ous' adj. Literally 'code-bearing'
    site:   http://codeferous.com
    blog: http://davidleber.net
    profile: http://www.linkedin.com/in/davidleber
    --
    Toronto Area Cocoa / WebObjects developers group:
    http://tacow.org
    



    This archive was generated by hypermail 2.0.0 : Sun Oct 21 2007 - 23:33:40 EDT