RE: Any Build Outside of Eclipse

From: Pierre.Bernar..cl.lu
Date: Mon Dec 13 2004 - 04:31:27 EST

  • Next message: Mike Jackson: "Re: XCode Project File Bug"

    Hi!

    You might want to look at the sample code I have up at http://homepage.mac.com/i_love_my/webobjects.html

    I put together a set of scripts and custom Ant tasks to build and deploy WOLips projects from the command line. This was however done using an older version of WOLips. For one it does not support the WOLips classpath container. It should get you started though.

    Pierre

    -----Original Message-----
    From: WOLips [mailto:wolip..tcc.datos.de]
    Sent: Saturday, December 11, 2004 12:26 PM
    To: woproject-de..bjectstyle.org; Mike Jackson
    Subject: Re: Any Build Outside of Eclipse

    Hello Mike,

    do you know any site which explains how can I build WO App with ant from
    outside eclipse?
    or maybe you have already created such a document, I would like to have a
    look on it :)

    regards.
    Sako.

    ----- Original Message -----
    From: "Mike Jackson" <maillis..luequartz.net>
    To: <woproject-de..bjectstyle.org>
    Sent: Friday, December 10, 2004 9:26 PM
    Subject: Any Build Outside of Eclipse

    > Hello All.
    > In the process of switching from Xcode to Eclipse and have some
    > questions. I would like to build using Ant from outside of Eclipse as I
    > have a shell script all ready to go that builds my application,
    > frameworks and libraries and then puts all that into a directory which
    > is then packaged up using package maker. The first hurdle is getting
    > Ant to run properly.
    > When I try "ant" from the command line I get the following:
    >
    > [mjackso..eryn:~/Projects/Tinker]$ ant
    > Buildfile: build.xml
    >
    > setProps:
    >
    > init.build:
    >
    > build.woapp:
    >
    > BUILD FAILED
    > /Users/mjackson/Projects/Tinker/build.xml:43: taskdef class
    > org.objectstyle.woproject.ant.WOApplication cannot be found
    >
    > Total time: 2 seconds
    >
    > I am using Ant 1.6.1 for the builds. I copied
    > org.objectstyle.wolips.ant_1.1.0.90.jar from the WOLipse Distribution
    > into the lib folder of the Ant distribution but that did not help
    > either. The ant build script works fine from within Eclipse so I am not
    > sure what I am missing.
    >
    > Now once I get that working, how do I tell the build script that I want
    > the WOApplication installed in "/tmp/AppInstallPackage" instead of "/"?
    > I am on a Dev box and my deployment machine is some where else. I
    > usually create an installation package from this "temporary" directory.
    >
    > Thanks
    > Mike Jackson
    >
    >
    >

    **********************************************************************
    This email and any files transmitted with it are intended solely for
    the use of the individual or entity to whom they are addressed.
    If you have received this email in error please notify the sender
    of this message. (Pierre.Bernar..cl.lu)
    This email message has been checked for the presence of computer
    viruses; however this protection does not ensure this message is
    virus free.
    Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
    **********************************************************************



    This archive was generated by hypermail 2.0.0 : Mon Dec 13 2004 - 04:36:17 EST