Re: Frameworks on Windows
Re: Frameworks on Windows
- Subject: Re: Frameworks on Windows
- From: Chuck Hill <email@hidden>
- Date: Thu, 16 Dec 2004 15:51:33 -0800
At 10:22 AM 17/12/2004 +1100, Owen McKerrow wrote:
>Heres the contents of the CLASSPATH.txt file :
>
That looks all OK.
>So in other-words its in C:\Apple\Local\Library\Frameworks assuming
>LOCALROOT is C:\Apple\Local
>
>So where is LOCALROOT defined on a Windows box ?
>
Its not. :-) It is replaced at runtime by the script that starts the app.
However, there _are_ some things are need to be defined. Here is what is
on my machine (only the stuff that might be relevant stuff):
CLASSPATH=U:\Sun\j2sdk1.4.2_05\lib\tools.jar;U:\usr\FrontBase\Java\frontbase
jdbc.jar;U:\usr\FrontBase\Java\FrontBasePlugIn.jar;
JAVA_HOME=U:\Sun\j2sdk1.4.2_05
JRE_HOME=U:\Sun\j2sdk1.4.2_05\jre
LIB=U:\Apple\Developer\Libraries
NEXT_ROOT=U:/Apple
NEXT_SYSTEM_ROOT=U:/Apple
SYSTEMROOT=C:\WINNT
TEMP=C:\TEMP
TMP=C:\TEMP
WEBOBJECTS_JAVA_EXTENSIONS=U:\Sun\j2sdk1.4.2_05/JRE/lib/ext
WEBOBJECTS_JAVA_HOME=U:\Sun\j2sdk1.4.2_05
>Ohh and here is the contents from the Apps log file :
>
There is nothing useful there. Try running it from the command line. That
should (IIRC) list out the whole classpath etc.
Chuck
>
>On 17/12/2004, at 5:28 AM, Chuck Hill wrote:
>
>> I switch back and forth between OS X and Win2K all the time, I've
>> never had a problem with this. Mind you, I may have built something
>> into our build process and forgotten about it. We have a lot of stuff
>> going on in those Ant scripts.
>>
>> My first guess is that the WO config on the Windows server is wrong.
>> Assuming a default setup, the framework would go in
>> c:\Apple\Local\Library\Frameworks. What are the contents of the
>> CLSSPATH.TXT file under the Windows folder in the application? i.e
>> AppName.woa/Contents/Windows/CLSSPATH.TXT
>>
>>
>> Chuck
>>
>>
>> On Dec 15, 2004, at 9:00 PM, Owen McKerrow wrote:
>>
>>> Hi All,
>>>
>>> Im currently having problems getting my Frameworks to work under
>>> windows. I have framework called boo, which has 1 WOComponent which
>>> simply has BOO on the page. Its a partial component. I then build the
>>> framework and put a copy into /Library/Frameworks. In my project I
>>> then include this framework and drag and drop the boo page from the
>>> framework into my main page. This works fine on both Mac OS X (
>>> development and deployment modes ) as well as Solaris, but for the
>>> life of me I can't get the boo to show when I deploy to a windows
>>> box, XP or Win 2000. In fact if I include a component from a frame
>>> work ( even one as simple as Boo ) and I go to that page I a get a
>>> Null Pointer Exception. Don't ask me form where cause thats all the
>>> info it gives me.
>>>
>>> So what Im wondering is have I placed the framework in the right
>>> place.
>>>
>>> Where are you meant to place Frameworks on a Windows box that you are
>>> using for deployment ?
>>>
>>>
>>> Thanks
>>> Owen
>>>
>>> 'The test of a first-rate intelligence is the ability to hold two
>>> opposed ideas in the mind at the same time and still be able to
>>> function.'
>>> -F.Scott Fitzgerald,
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> village.net
>>>
>>> This email sent to email@hidden
>>>
>> --
>> Practical WebObjects - a book for intermediate WebObjects developers
>> who want to increase their overall knowledge of WebObjects, or those
>> who are trying to solve specific application development problems.
>> http://www.global-village.net/products/practical_webobjects
>>
>>
>>
>>
>"As of tomorrow, employees will only be able to access the building
>using individual security cards. Pictures will be taken next Wednesday
>employees will receive their cards in two weeks."
>- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp
>
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
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