Compiling WOLips projects from the command line

From: Pierre Bernard (Pierre.Bernar..cl.lu)
Date: Fri Mar 07 2003 - 05:07:22 EST

  • Next message: Ulrich Köster: "Re: Is this a problem?"

    Hi!

    I'm trying to find a way to compile my WOLips framework and application projects from the command line. What I would like to achieve is being able to check out a project from CVS and install it using a script.

    The way I see it, this requires two steps:

    1. Compile the code. I.e have the Java files from the various source directorie sin the project compiled to the bin directory

    2. Run the "install" target of the WOLips buidl.xml file

    I have no idea of how to achieve step one. For step two I have been experimenting with the following script:

    ..et ECLIPSE_DIR=D:/Progra~1/eclipseM5/plugins
    ..et XERCES_DIR=%ECLIPSE_DIR%/org.apache.xerces_4.0.7
    ..et WOLIPS_DIR=%ECLIPSE_DIR%/org.objectstyle.wolips_0.9.8/lib
    ..et WOLIPS_JARS=%WOLIPS_DIR%/cayenne.jar;%WOLIPS_DIR%/commons-logging.jar;%WOLIPS_DIR%/wolips.jar;% WOLIPS_DIR%/woproject.jar

            java -cp %ECLIPSE_DIR%/org.apache.ant_1.5.1/ant.jar;%ECLIPSE_DIR%/org.apache.ant_1.5.1/optional.jar;% XERCES_DIR%/xmlParserAPIs.jar;%XERCES_DIR%/xer cesImpl.jar;%WOLIPS_JARS% org.apache.tools.ant.Main %*

    Though I thing I got all the right JARs in the classpath, this fails with the following error:

            file:d:/Development/workarea/MBSModels/build.xml:45: Could not create task or type of type: woframework.

            Ant could not find the task or a class this task relies upon.

    Any thoughts are appreciated.

    Best
    Pierre Bernard

    **********************************************************************
    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 : Fri Mar 07 2003 - 05:10:56 EST