Hi Wen,
Yep, that's what I do everytime I re-deploy that same app, i copy the Conents/MacOS/*.txt everytime i have to redeploy the app because the buildpath will be wrong everytime. All you have to do is change the classpath.txt once and then when you re-deploy it you have to remember to copy the MacOS/*.txt files
Maybe it is a bug that we've gotten used to around the office and don't consider it anymore - actuall it is written in our deployment procedure and feels so normal to do it everytime.
~Mersida --- On Mon, 7/28/08, Xia, Wen <email@hidden> wrote:
From: Xia, Wen <email@hidden> Subject: Re: Not able to configure build path To: "Development WebObjects"
<email@hidden> Date: Monday, July 28, 2008, 5:58 PM
Thanks, Mersida. My application works on development mac, but fails on deployment. The problem is it didn’t build the entry
WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
to MacOSClassPath.txt even though the javawoextensions.jar is there on UI.
I have no clue why this is happening (maybe a bug?). The temporary fix is to manually add the entry every time I install the app. Any one has any idea?
On 7/28/08 11:36 AM, "Mersida Kurti" <email@hidden> wrote:
Wen,
I found this, which clarifies things for me:
"WOROOT indicates the path whereWebObjects frameworks are installed. On Mac OS X, for example,
WebObjects frameworks are located in the /System/Library/Frameworks directory and WOROOT
is set to /System."
~Mersida
http://127.0.0.1:7980/open?url="">
--- On Mon, 7/28/08, Mersida Kurti <email@hidden> wrote:
From: Mersida Kurti <email@hidden>
Subject: Re: Not able to configure build path
To: "Development WebObjects" <email@hidden>, "Xia, Wen" <email@hidden>
Date: Monday, July 28, 2008, 2:31 PM
Hi Wen,
I checked my machine and I see the same thing. I'm able to deploy and run my apps fine even though the class path is different. I don't know what to tell you. I think as long as the buildpath on eclipse is fine and you can see the jar file in there you should be fine.
~mersida
--- On Mon, 7/28/08, Xia, Wen <email@hidden> wrote:
From: Xia, Wen <email@hidden>
Subject: Re: Not able to configure build path
To: "Development WebObjects" <email@hidden>
Date: Monday, July 28, 2008, 1:32 PM
Re: Not able to configure build path Thank you, Mersida. It did reflect in the UI after I restarted Eclipse. But the final result, the MacOSClassPath.txt still don’t have the entry:
WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
Any other ideas?
On 7/28/08 10:07 AM, "Mersida Kurti" <email@hidden> wrote:
You would probably have to close Eclipse in order for the changes to take effect.
--- On Mon, 7/28/08, Xia, Wen <email@hidden> wrote:
From: Xia, Wen <email@hidden>
Subject: Re: Not able to configure build path
To: "Mersida Kurti" <email@hidden>, "Development WebObjects" <email@hidden>
Date: Monday, July 28, 2008, 12:49 PM
Re: Not able to configure build path I tried to delete the the copy in /Library, it still ignores the System/Library copy. It “pretends” to be configured using the System/Library copy, but the MacOSClassPath.txt still don’t have the entry:
WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
On 7/28/08 9:39 AM, "Mersida Kurti" <email@hidden> wrote:
Hi Wen,
I had this problem before. What it seems to be doing is that it looks at /Library first then at /System/Library. So if you delete the copy in /Library, it will take the /System/Library copy
~Mersida
--- On Mon, 7/28/08, Xia, Wen <email@hidden> wrote:
From: Xia, Wen <email@hidden>
Subject: Not able to configure build path
To: "Development WebObjects" <email@hidden>
Date: Monday, July 28, 2008, 12:32 PM
For some reason, I can't configure the build path to refer to the
/System/Library/Frameworks/JavaWOExtensions.framework. It keeps referring
to the the /Library/Frameworks/JavaWOExtensions.framework.
The steps I did:
- Right-click
on the project name
- Select "Build Path" -> "Configure Build Path"
- Open the "Libraries" pane
- Click on "WebObjects Frameworks" and click "Edit..."
- Open the triangle next to "Local"
- Locate "JavaWOExtensions" and uncheck the checkbox
- Open the triangle next to "System"
- Locate "JavaWOExtensions" and click on the checkbox
- Click "Finish"
- Click "OK" for the JavaBuildPath dialog
No error was given, but when I'm done, the JavaWOExtensions.jar still
points
to the /Library/Frameworks/JavaWOExtensions.framework folder. Does anyone
know what might be wrong? Thank you.
Wen
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
|