RE: PATH is different between dev and deployment, make deploy failed(WO5.4.3)
RE: PATH is different between dev and deployment, make deploy failed(WO5.4.3)
- Subject: RE: PATH is different between dev and deployment, make deploy failed(WO5.4.3)
- From: "Ren, Kevin" <email@hidden>
- Date: Thu, 11 Dec 2008 15:38:34 +1300
- Thread-topic: PATH is different between dev and deployment, make deploy failed(WO5.4.3)
Yes, that's may fix some problem, but
For local framework, it's
LOCALROOTLibrary/Frameworks/Ajax.framework/Resources/Java/Ajax.jar
That's wrong, need fix it somewhere,
Thanks
Kevin
-----Original Message-----
From: Andrew Lindesay [mailto:email@hidden]
Sent: Thursday, 11 December 2008 3:31 p.m.
To: Ren, Kevin
Cc: email@hidden
Subject: Re: PATH is different between dev and deployment, make deploy
failed(WO5.4.3)
Hello Kevin;
I suggest that you simply put all of the WebObjects frameworks directly
into the ".woa" bundle and then you don't need to worry about where they
are in the deployment system.
cheers.
On 11/12/2008, at 3:23 PM, Ren, Kevin wrote:
> Hi,
>
>
> Eclipse3.4+WOLips nightly build+WO5.4.3 in Ubuntu
>
> Simple HelloWorld.woa
>
> In development build path, the javafoundation.jar,
> javajdbcadaptor.jar,javawebobjects.jar.... Are point to
Whatever/Apple/
> System/Library/Frameworks directory, all good.
>
> After application built, install it to Whatever/Apple/Library/
> WebObjects/Applications.
>
> After I run the application I got path error. Like
> java.lang.NoClassDefFoundError: com/webobjects/appserver/WOApplication
>
> I found it's quite different between WO5.4.3 and WO5.3 in
> UnixClassPath.txt and HelloWorld script,
>
> In UnixClassPath.txt, the path is point to
>
> WOROOT/Library/Frameworks/JavaFoundation.framework/Resources/Java/
> javafoundation.jar
> ...
> but when I look HelloWorld script, I found
>
> #
> # Depending upon the platform, provide default values for the path #
> abstractions (we call these values "shorthands").
> #
> if [ "${PLATFORM_TYPE}" = "Rhapsody" ] then
> LOCALROOT=/Local
> WOROOT=/System
> elif [ "$PLATFORM_TYPE" = "Darwin" ]
> then
> LOCALROOT=
> WOROOT=/System
> else
> WOROOT=${NEXT_ROOT}
> LOCALROOT=${NEXT_ROOT}/Local
> Fi
>
>
> That's meant WOROOT=Whatever/Apple,
>
> I got error message, like:
> java.lang.NoClassDefFoundError: com/webobjects/appserver/WOApplication
>
>
> I change it to WOROOT=${NEXT_ROOT}/System, then I can start my
> HelloWorld, fixed problem.
>
>
> If I add local framework, in UnixClassPath.txt, looks like
> LOCALROOTLibrary/Frameworks/Ajax.framework/Resources/Java/Ajax.jar
> , so no LOCALROOTLibrary definition in HelloWorld script.
>
> So I want to know how these UnixClassPath.txt or MacOSCalssPath.txt
> and HelloWorld scripts generated, then I can fix for all applications
> during the build, not one by one fix script.
>
> Anyone have idea? No problem for development, only build for
> deployment.
>
> Thanks
>
>
> Kevin
>
>
>
>
>
>
> "This communication is confidential and may contain privileged and/ or
> copyright material. If you are not the intended recipient you must not
> use, disclose, copy or retain it. If you have received it in error
> please immediately notify me by return email, delete the emails and
> destroy any hard copies. ANZ National Bank Limited does not guarantee
> the integrity of this communication, or that it is free from errors,
> viruses or interference."
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> o.nz
>
> This email sent to email@hidden
___
Andrew Lindesay
www.lindesay.co.nz
"This communication is confidential and may contain privileged and/or copyright material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email, delete the emails and destroy any hard copies. ANZ National Bank Limited does not guarantee the integrity of this communication, or that it is free from errors, viruses or interference."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden