Re: Cayenne 1.2 build issue

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Feb 14 2007 - 09:20:02 EST

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-753) Lifecycle Callback API Refactoring"

    Yeah, looks like that file is missing. I just copied it over from Mac
    bundle of Launch4J (as far as I can tell they should be identical
    with Win). Let me know if it didn't work.

    Andrus

    On Feb 13, 2007, at 10:18 PM, Malcolm Edgar wrote:

    > Hi All,
    >
    > I am having a little trouble building Cayenne 1.2 release-win.
    >
    > I appear to be missing an object library:
    >
    > cayenne-ant\lib\windows\launch4j-2.1.1\w32api\crt2.o
    >
    > Which I cannot find the the repository. Where should I get this
    > library from?
    >
    > regards Malcolm Edgar
    >
    > ----------------------------------------
    >
    > release-win:
    >
    > prepare:
    >
    > exe:
    > [unjar] Expanding:
    > D:\workspace2\cayenne-ant\dist\cayenne-1.2-dev\lib\cayenne.jar into
    > D:\workspace2\cayenne-ant\build\win\classes
    > [unjar] Expanding:
    > D:\workspace2\cayenne-ant\dist\cayenne-1.2-dev\lib\modeler\cayenne-
    > modeler.jar
    > into D:\workspace2\cayenne-ant\build\w
    > in\classes
    > [unjar] Expanding:
    > D:\workspace2\cayenne-ant\dist\cayenne-1.2-dev\lib\modeler\commons-
    > dbcp-1.2.1.jar
    > into D:\workspace2\cayenne-ant\buil
    > d\win\classes
    > [unjar] Expanding:
    > D:\workspace2\cayenne-ant\dist\cayenne-1.2-dev\lib\modeler\commons-
    > pool-1.2.jar
    > into D:\workspace2\cayenne-ant\build\
    > win\classes
    > [unjar] Expanding:
    > D:\workspace2\cayenne-ant\dist\cayenne-1.2-dev\lib\modeler
    > \forms-1.0.3.jar
    > into D:\workspace2\cayenne-ant\build\win\c
    > lasses
    > [unjar] Expanding:
    > D:\workspace2\cayenne-ant\dist\cayenne-1.2-dev\lib\modeler
    > \hsqldb-1.8.0.2.jar
    > into D:\workspace2\cayenne-ant\build\wi
    > n\classes
    > [unjar] Expanding:
    > D:\workspace2\cayenne-ant\dist\cayenne-1.2-dev\lib\modeler
    > \looks-1.3.1.jar
    > into D:\workspace2\cayenne-ant\build\win\c
    > lasses
    > [unjar] Expanding:
    > D:\workspace2\cayenne-ant\dist\cayenne-1.2-dev\lib\modeler
    > \ognl-2.6.7.jar
    > into D:\workspace2\cayenne-ant\build\win\cl
    > asses
    > [unjar] Expanding:
    > D:\workspace2\cayenne-ant\dist\cayenne-1.2-dev\lib\modeler\scope-
    > bin-1.0.1.jar
    > into D:\workspace2\cayenne-ant\build\w
    > in\classes
    > [delete] Deleting directory
    > D:\workspace2\cayenne-ant\build\win\classes\META-INF
    > [jar] Building jar:
    > D:\workspace2\cayenne-ant\build\win\cayenne-modeler-all.jar
    > [launch4j] Compiling resources
    > [launch4j] Linking
    > [launch4j] D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\bin
    > \ld.exe:
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\w32api\crt
    > 2.o: No such file: No such file or directory
    > [launch4j] Exec failed(1):
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\bin\ld.exe
    > -mi386pe --oformat pei-i386 --subsystem windows
    > -s D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\w32api\crt2.o
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\head\guihead.o D:
    > \workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\head\head.o
    > C:\DOCUME~1\MEDGAR~1.USR\LOCALS~1\Temp\launch4j12748o
    > D:\workspace2\cayenne-a
    > nt\lib\windows\launch4j-2.1.1\w32api\libmingw32.a
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\w32api\libgcc.a
    > D:\workspace2\cayenne
    > -ant\lib\windows\launch4j-2.1.1\w32api\libmsvcrt.a
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\w32api
    > \libkernel32.a
    > D:\workspace2\c
    > ayenne-ant\lib\windows\launch4j-2.1.1\w32api\libuser32.a
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\w32api
    > \libadvapi32.a
    > D:\worksp
    > ace2\cayenne-ant\lib\windows\launch4j-2.1.1\w32api\libshell32.a -o
    > D:\workspace2\cayenne-ant\build\win\CayenneModeler.exe
    >
    > BUILD FAILED
    > D:\workspace2\cayenne-ant\build.xml:94: The following error occurred
    > while executing this line:
    > D:\workspace2\cayenne-ant\ant\win-distro.xml:88:
    > net.sf.launch4j.BuilderException: net.sf.launch4j.ExecException: Exec
    > failed(1): D:\workspa
    > ce2\cayenne-ant\lib\windows\launch4j-2.1.1\bin\ld.exe -mi386pe
    > --oformat pei-i386 --subsystem windows -s
    > D:\workspace2\cayenne-ant\lib\windo
    > ws\launch4j-2.1.1\w32api\crt2.o
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\head\guihead.o
    > D:\workspace2\cayenne-ant\lib\windows\la
    > unch4j-2.1.1\head\head.o
    > C:\DOCUME~1\MEDGAR~1.USR\LOCALS~1\Temp\launch4j12748o
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\w32api\l
    > ibmingw32.a D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1
    > \w32api\libgcc.a
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\w32api
    > \libmsvcrt.a D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1
    > \w32api\libkernel32.a
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\
    > w32api\libuser32.a
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-2.1.1\w32api
    > \libadvapi32.a
    > D:\workspace2\cayenne-ant\lib\windows\launch4j-
    > 2.1.1\w32api\libshell32.a -o
    > D:\workspace2\cayenne-ant\build\win\CayenneModeler.exe
    >
    > Total time: 2 minutes 45 seconds
    > D:\workspace2\cayenne-ant>
    >



    This archive was generated by hypermail 2.0.0 : Wed Feb 14 2007 - 09:20:34 EST