Re: WOLips building and deploying classpath problems

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Wed Apr 07 2004 - 03:06:42 EDT

  • Next message: Ulrich Köster: "java coding"

    Hi Logan,

    thank for the hint.
    As far as I know the fix for this issue is allready in the cvs.

    Ulrich
    Am 02.04.2004 um 21:09 schrieb logan.allre..onvergys.com:

    >
    >
    >
    >
    > I'm having trouble deploying my apps. It appears that the classpath is
    > not
    > getting setup correctly.
    >
    > Details:
    > Eclipse 3M8
    > WOLips 1.1.0.25
    > Win2k
    >
    > The CLSSPATH.TXT file does not seem to have valid entries. I have:
    > # JVM == java
    > # JVMOptions ==
    > # JDB == jdb
    > # JDBOptions ==
    > # ApplicationClass == Application
    > APPROOT\Resources\Java\
    >
    > but the app complain when started from the command line that it can't
    > find
    > the Application class. When I look at another app that is deploying
    > correctly, it's CLSSPATH.TXT file has:
    >
    > # JVM == java
    > # JVMOptions ==
    > # JDB == jdb
    > # JDBOptions ==
    > # ApplicationClass == webobjectsexamples.helloworld.Application
    > APPROOT\Resources\Java\helloworld.jar
    > WOROOT\Library\Frameworks\JavaFoundation.framework\Resources\Java\javaf
    > oundation.jar
    > WOROOT\Library\Frameworks\JavaXML.framework\Resources\Java\javaxml.jar
    > WOROOT\Library\Frameworks\JavaEOControl.framework\Resources\Java\javaeo
    > control.jar
    > WOROOT\Library\Frameworks\JavaJDBCAdaptor.framework\Resources\Java\java
    > jdbcadaptor.jar
    > WOROOT\Library\Frameworks\JavaEOAccess.framework\Resources\Java\javaeoa
    > ccess.jar
    > WOROOT\Library\Frameworks\JavaWOExtensions.framework\Resources\Java\Jav
    > aWOExtensions.jar
    > WOROOT\Library\Frameworks\JavaWebObjects.framework\Resources\Java\javaw
    > ebobjects.jar
    >
    > I can get my app to launch and deploy if I replace it's CLSSPATH.TXT
    > file
    > with this one (and change the helloworld.jar to the name of my project
    > jar
    > file), but it's annoying to have to replace this file every time I
    > deploy
    > (in a bit of a deploy and fix cycle at the moment).
    >
    > The build output from the ant install is:
    >
    > Buildfile: C:\src\MyAppName\build.xml
    >
    > setProps:
    >
    > init.install:
    >
    > build.woapp:
    > [woapplication] Installing MyAppName in
    > C:/Apple/Local/Library/WebObjects/Applications
    > [copy bootstrap] Copying 1 file to
    > C:\Apple\Local\Library\WebObjects\Applications\MyAppName.woa
    > [woapplication] Replacing:..VM_OPTIONS@ ->
    > [woapplication] Replacing:..PP_CLASS@ -> Application
    > [woapplication] Replacing:..PP_JAR@ -> APPROOT/Resources/Java/
    > [woapplication] Replacing:..RAMEWORK_JAR@ ->
    > [woapplication] Replacing:..THER_PATHS@ ->
    > [woapplication] Replacing:..AME@ -> MyAppName
    > [woapplication] Replacing:..AME@ -> MyAppName
    > [woapplication] Replacing:..AR_NAME@ -> myappname.jar
    > [woapplication] Replacing:..AR_NAME@ -> myappname.jar
    > [woapplication] Replacing:..VM_OPTIONS@ ->
    > [woapplication] Replacing:..PP_CLASS@ -> Application
    > [woapplication] Replacing:..PP_JAR@ -> APPROOT/Resources/Java/
    > [woapplication] Replacing:..RAMEWORK_JAR@ ->
    > [woapplication] Replacing:..THER_PATHS@ ->
    > [woapplication] Replacing:..VM_OPTIONS@ ->
    > [woapplication] Replacing:..PP_CLASS@ -> Application
    > [woapplication] Replacing:..PP_JAR@ -> APPROOT\Resources\Java\
    > [woapplication] Replacing:..RAMEWORK_JAR@ ->
    > [woapplication] Replacing:..THER_PATHS@ ->
    > [woapplication] Replacing:..VM_OPTIONS@ ->
    > [woapplication] Replacing:..PP_CLASS@ -> Application
    > [woapplication] Replacing:..PP_JAR@ -> APPROOT/Resources/Java/
    > [woapplication] Replacing:..RAMEWORK_JAR@ ->
    > [woapplication] Replacing:..THER_PATHS@ ->
    > [woapplication] 'Windows 2000' is some kind of windows, skipping chmod.
    >
    > war:
    >
    > ssdd:
    >
    > install:
    > BUILD SUCCESSFUL
    > Total time: 1 second
    >
    > It appears to me that
    > [woapplication] Replacing:..PP_JAR@ -> APPROOT/Resources/Java/
    > should be:
    > [woapplication] Replacing:..PP_JAR@ ->
    > APPROOT/Resources/Java/myappname.jar
    >
    > I assume this is a bug or I have a setting wrong. I'll file a bug
    > report,
    > but I was just wondering what I can do to get this working again. It
    > seems
    > like all of my apps are having this problem right now.
    >
    > thanks,
    > Logan Allred
    > --
    > "NOTICE: The information contained in this electronic mail
    > transmission is
    > intended by Convergys Corporation for the use of the named individual
    > or
    > entity to which it is directed and may contain information that is
    > privileged or otherwise confidential. If you have received this
    > electronic
    > mail transmission in error, please delete it from your system without
    > copying or forwarding it, and notify the sender of the error by reply
    > email
    > or by telephone (collect), so that the sender's address records can be
    > corrected."
    >



    This archive was generated by hypermail 2.0.0 : Wed Apr 07 2004 - 03:06:46 EDT