ah ok .. the variable is "wo.wolocalroot" not "wo.localroot".
i actually posted an email a while back with what I did to setup
Windows. These are from January, so slightly dated, but should be
close:
"I can't remember if I posted these or not, but these are the
instructions I put together at a client's last month:
1) Create the structure:
C:\Apple
C:\Apple\Local\Library\Frameworks (equivalent to /Library/Frameworks
on the Mac)
C:\Apple\Library\Frameworks (equivalent to /System/Library/Frameworks
on the Mac)
2) Copy all the frameworks from /System/Library/Frameworks on a Mac
that are named Java* except for JavaScriptCore and JavaVM to C:\Apple
\Library\Frameworks
3) If you copied a 5.2, you will need to put a Windows License.key in
JavaWebObjects.framework/Resources. If you copied a 5.3, I think it's
a universal license key.
4) Create a wobuild.properties file in C:\Documents and Settings\<your
user>\Library with the contents:
wo.woroot=C:/Apple
wo.wolocalroot=C:/Apple/Local
wo.wosystemroot=C:/Apple
wo.homeroot=C:/Temp
eclipse.home=C:/Programs Files/eclipse
wo.dir.library.frameworks=C:/Apple/Library/Frameworks
5) Install eclipse 3.3.1.1
6) Install WOLips nightly from http://webobjects.mdimension.com/wolips/nightly
That should be it, I think? The things that are problematic right now
on Windows:
1) The woproject/*.patternset don't work quite right on Windows. You
can work around it by converting Components/**/*/etc/** to Components/
*, same w/ Resources and WebServerResources
2) Couple images have backgrounds that should not
3) Outline view in component editor is not right
4) AutoOpenInBrowser doesn't work unless you override
Application._isSupportedDevelopmentPlatform to return true
I THINK that was it, but there might have been a couple other misc
items.
ms"
ms
On May 9, 2008, at 1:21 PM, Kieran Kelleher wrote:
Syntax fixed. Also replaced all wo frameworks with 5.3.3 from Mac
side.
If I create a project, I get error as shown.
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.<init>(Path.java:152)
at
org
.objectstyle
.wolips
.variables
.VariablesPlugin.fixMissingSeparatorAfterDevice(VariablesPlugin.java:
171)
at
org
.objectstyle
.wolips.variables.VariablesPlugin.getLocalRoot(VariablesPlugin.java:
178)
at
org
.objectstyle
.wolips
.variables.VariablesPlugin.getFrameworkRoots(VariablesPlugin.java:259)
at
org
.objectstyle
.wolips
.jdt.classpath.model.ClasspathModel.getRoots(ClasspathModel.java:77)
at
org
.objectstyle
.wolips
.jdt
.classpath
.model.ClasspathModel.getFrameworkWithName(ClasspathModel.java:91)
at
org
.objectstyle
.wolips
.jdt
.classpath
.ContainerInitializer
.convertOldClasspathContainer(ContainerInitializer.java:180)
at
org
.objectstyle
.wolips
.jdt
.classpath.ContainerInitializer.initialize(ContainerInitializer.java:
163)
at
org
.eclipse
.jdt
.internal
.core.JavaModelManager.initializeContainer(JavaModelManager.java:2220)
at org.eclipse.jdt.internal.core.JavaModelManager
$9.run(JavaModelManager.java:2150)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:
1797)
at
org
.eclipse
.jdt
.internal
.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:
2166)
at
org
.eclipse
.jdt
.internal
.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:
1544)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:
1571)
at
org
.eclipse
.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2558)
at
org
.eclipse
.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:
1848)
at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:
3254)
at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob
$RealJob.run(InitializeAfterLoadJob.java:35)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
My wobuild.properties contents is:
#This file stores wo properties
#Fri May 9, 2008
wo.wosystemroot=C:/Apple
wo.dir.library.frameworks=C:/Apple/Library/Frameworks
wo.dir.library=C:/Apple/Library
wo.localroot=C:/Apple/Local
wo.woroot=C:/Apple
eclipse.home=C:/Apple/eclipse
wo.homeroot=C:/Apple/Library/WebObjects
wo.dir.reference.api=C:/Apple/Developer/Documentation/WebObjects/
Reference/API/
wo.dir.installdir=C:/Apple/Library/WebObjects/Applications
Does this look right? Any way to check what WOLips is "seeing"? Can
someone send a copy of a working wobuild.properties please?
Also is mine in the right place and named properly?
C:\Documents and Settings\Administrator\Library\wobuild.properties
On May 9, 2008, at 12:11 PM, Mike Schrag wrote:
Pretty sure you should not be escaping the colon ... When I setup a
Windows install, i did NOT use that syntax.
On May 9, 2008, at 11:21 AM, Kieran Kelleher wrote:
Hi Don,
I followed your tutorial only deviating to use the nightly wolips
instead of stable.
It seems wolips is not picking up the webobjects paths.
I put wobuild.properties at:
C:\Documents and Settings\Administrator\Library\wobuild.properties
and its contents are:
#This file stores wo properties
#Fri May 9, 2008
wo.wosystemroot=C\:/Apple
wo.dir.library.frameworks=C\:/Apple/Library/Frameworks
wo.dir.library=C\:/Apple/Library
wo.localroot=C\:/Apple/Local
wo.woroot=C\:/Apple
eclipse.home=C\:/Apple/eclipse
wo.homeroot=C\:/Apple/Library/WebObjects
wo.dir.reference.api=C\:/Apple/Developer/Documentation/WebObjects/
Reference/API/
wo.dir.installdir=C\:/Apple/Library/WebObjects/Applications
When I create a WO project, I get these errors in eclipse:
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.<init>(Path.java:152)
at
org
.objectstyle
.wolips
.variables
.VariablesPlugin
.fixMissingSeparatorAfterDevice(VariablesPlugin.java:171)
at
org
.objectstyle
.wolips
.variables.VariablesPlugin.getLocalRoot(VariablesPlugin.java:178)
at
org
.objectstyle
.wolips.jdt.ant.UpdateIncludeFiles.<init>(UpdateIncludeFiles.java:
83)
at
org
.objectstyle
.wolips
.jdt
.ant
.UpdateOtherClasspathIncludeFiles
.<init>(UpdateOtherClasspathIncludeFiles.java:83)
at
org
.objectstyle
.wolips
.jdt
.listener
.UpdateIncludeFilesJob.runInWorkspace(UpdateIncludeFilesJob.java:88)
at
org
.eclipse
.core
.internal
.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.<init>(Path.java:152)
at
org
.objectstyle
.wolips
.variables
.VariablesPlugin
.fixMissingSeparatorAfterDevice(VariablesPlugin.java:171)
at
org
.objectstyle
.wolips
.variables.VariablesPlugin.getLocalRoot(VariablesPlugin.java:178)
at
org
.objectstyle
.wolips
.variables.VariablesPlugin.getFrameworkRoots(VariablesPlugin.java:
259)
at
org
.objectstyle
.wolips
.jdt.classpath.model.ClasspathModel.getRoots(ClasspathModel.java:77)
at
org
.objectstyle
.wolips
.jdt
.classpath
.model.ClasspathModel.getFrameworkWithName(ClasspathModel.java:91)
at
org
.objectstyle
.wolips
.jdt
.classpath
.ContainerInitializer
.convertOldClasspathContainer(ContainerInitializer.java:180)
at
org
.objectstyle
.wolips
.jdt
.classpath
.ContainerInitializer.initialize(ContainerInitializer.java:163)
at
org
.eclipse
.jdt
.internal
.core.JavaModelManager.initializeContainer(JavaModelManager.java:
2220)
at org.eclipse.jdt.internal.core.JavaModelManager
$9.run(JavaModelManager.java:2150)
at
org
.eclipse
.jdt
.internal
.core
.JavaModelManager.initializeAllContainers(JavaModelManager.java:
2164)
at
org
.eclipse
.jdt
.internal
.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:
1544)
at
org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:
1571)
at
org
.eclipse
.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:
2558)
at
org
.eclipse
.jdt
.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:
1848)
at
org
.eclipse
.jdt
.internal
.core
.DeltaProcessor.createExternalArchiveDelta(DeltaProcessor.java:802)
at
org
.eclipse
.jdt
.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:
1897)
at
org
.eclipse
.jdt
.internal
.core
.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:368)
at org.eclipse.core.internal.events.NotificationManager
$2.run(NotificationManager.java:282)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org
.eclipse
.core
.internal
.events.NotificationManager.notify(NotificationManager.java:276)
at
org
.eclipse
.core
.internal
.events
.NotificationManager.broadcastChanges(NotificationManager.java:148)
at
org
.eclipse
.core
.internal.resources.Workspace.broadcastPostChange(Workspace.java:
311)
at
org
.eclipse
.core.internal.resources.Workspace.endOperation(Workspace.java:1018)
at
org
.eclipse
.core
.internal
.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
On May 9, 2008, at 3:43 AM, Don Lindsay wrote:
Hello;
I have completed a draft of a install tutorial for installing
WebObjects and WOLips on Windows. Feel free to review the
tutorial at http://web.mac.com/pccdonl/index.htm
Thanks,
Don
_______________________________________________
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/kieran_lists%40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
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/mschrag%40mdimension.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
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/kieran_lists%40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
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]