Re: Cayenne v3.x and OSX

From: Randy Leonard (randalleleonar..otmail.com)
Date: Mon Mar 12 2007 - 19:35:55 EDT

  • Next message: Marc Gabriel-Willem: "Cayenne -- Apache re-deploy problem -- NullPointerException"

    I think the issue is the following directory does not have a 'target'
    subdirectory on my machine:

       cayenne/modeler/cayenne-modeler-mac/

    I've successfully executed all but the final command found on the following
    page:

       http://cayenne.apache.org/building-cayenne.html

    Specifically, I've executed the following commands:

       svn co https://svn.apache.org/repos/asf/cayenne/main/trunk/ cayenne
       cd cayenne && mvn install
       mvn -P mac install
       cd cayenne/assembly && ./build-mac.sh

    The error output from the latter command starts off with the following:

    [INFO]
    NOTE: Maven is executing in offline mode. Any artifacts not already in your
    local
    repository will be inaccessible.

    [INFO] Scanning for projects...
    [INFO]
    ----------------------------------------------------------------------------
    [INFO] Building Cayenne Release Assembly
    [INFO] task-segment: [clean, package]
    [INFO]
    ----------------------------------------------------------------------------
    [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
    updates from mergere
    [INFO]
    ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO]
    ------------------------------------------------------------------------
    [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
    exist or no valid version could be found
    [INFO]
    ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Total time: 1 second
    [INFO] Finished at: Mon Mar 12 17:24:44 MDT 2007
    [INFO] Final Memory: 1M/3M
    [INFO]
    ------------------------------------------------------------------------
    ls: target/*.tar.gz: No such file or directory

    I presume it is this latter command which creates the various target
    directories? Is it possible to either receive help resolving the above
    Maven issue, or have CayenneModeler.app made part of the v3.0 snapshots?

    Thanks,
    Randy

    >From: Andrus Adamchik <andru..bjectstyle.org>
    >Reply-To: use..ayenne.apache.org
    >To: use..ayenne.apache.org
    >Subject: Re: Cayenne v3.x and OSX
    >Date: Mon, 12 Mar 2007 11:17:48 +0200
    >
    >
    >On Mar 12, 2007, at 2:29 AM, Randy Leonard wrote:
    >
    >>I've downloaded the Cayenne 3.0 snapshot as referenced from the cayenne
    >>web site, and also built the latest code found in svn (including the 'mvn
    >>-P mac install' command), but still don't see a CayenneModeler
    >>application instance for OSX.
    >>
    >>- Am I missing something?
    >>- Is there a command to build an OSX .app?
    >
    >It is there, it is just hard to find:
    >
    >cayenne/modeler/cayenne-modeler-mac/target/modeler/CayenneModeler.app/
    >
    >>- Is it possible for the snapshot builds to include an OSX distribution?
    >
    >We don't have an automated procedure yet. Theoretically yes.
    >
    >>- Or is the Cayenne 2.x modeler valid for Cayenne 3.x?
    >
    >IIRC yes, but this is about to change.
    >
    >Andrus



    This archive was generated by hypermail 2.0.0 : Mon Mar 12 2007 - 19:36:32 EDT