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 PROTECTED] 
Sent: Thursday, 11 December 2008 3:31 p.m.
To: Ren, Kevin
Cc: [email protected]
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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/apl%40lindesay.c
> o.nz
>
> This email sent to [EMAIL PROTECTED]

___
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to