Just curious, does any folder name contain a space in it? > On Feb 24, 2014, at 7:48 PM, Jeffrey Schmitz <[email protected]> wrote: > > Hello List, > In my day job I'm evaluating webobjects for a project I'm on, with the > prerequisite that it must be developed and deployed on Windows. So... I'm > gamely following the Webobjects on Windows directions that I can find and > keeping a diary of the experience and the "gotcha's" I've run into, which > I'll gladly share if/when I get through this. > > At this point I've actually bumbled my way to getting the Wonder Example > projects to build and run within Eclipse, as well as created my own Hello > World project, so now I'm on to deployment. > > For the deployment effort I've been following: > > http://wiki.wocommunity.org/display/WEB/Your+First+Deployment > > This noted that I needed to build and install frameworks first. Since I’m > using wonder, I went to: > > http://wiki.wocommunity.org/display/documentation/Building+and+Installing+a+Framework+with+Ant > > I first tried to do an 'ant build' command in the WonderSource directory as > it was after cloning it from the git repository, but got the exception shown > at the bottom of this email. > > Then I noted the following passage: > > When building a Framework project, Ant needs to be able to find WebObjects. > WebObjects itself is a set of Frameworks just like the one you are building. > They can be installed anywhere using these instructions. > Where Ant will look for WebObjects is specified by the wo.system.frameworks > build property. This property can be set in a number of locations, or even > passed as a command-line property to Ant. > Where Ant looks for this property is different for each method of building a > Framework: > > 4. Command Line > a. Properties specified in the Ant command: -D<property>=<value> > > b. A properties file specified in the Ant command: -propertyfile <name> > > c. The build.properties file in the same directory as the build.xml file > as specified by <property file="build.properties" /> task in the build.xml > file. > > > > So, since I was shooting for option 4.c, I created a build.properties file in > the WonderSource main folder and added the following line to mimic what > WOLips used in its properties file: > > wo.system.frameworks=C\:\\Apple\\System\\Library\\Frameworks > > and then I added the following line just under the <project> element in the > existing build.xml file: > > <property file="build.properties" /> > > Doing another 'ant build' command resulted in the same exception which is > shown below, all of which leaves me stuck and hoping I can get a nudge in the > right direction. I've got all the notes about how I got to where I am. If > that helps I'll gladly dump all or part of it in a separate message. > > ------ Output from 'ant build' command ----------------------------------- > > Buildfile: C:\Users\si454a\GIT Folders\WonderSource\build.xml > > frameworks: > > frameworks.all: > > patch.frameworks.54: > > ERJars.all: > > global.environment: > > global.properties: > > global.prepare: > > global.compile: > > global.dummy: > > BUILD FAILED > C:\Users\si454a\GIT Folders\WonderSource\build.xml:13: The following error > occur > red while executing this line: > C:\Users\si454a\GIT Folders\WonderSource\Build\build\build.xml:1428: The > followi > ng error occurred while executing this line: > C:\Users\si454a\GIT Folders\WonderSource\Build\build\build.xml:1419: The > followi > ng error occurred while executing this line: > C:\Users\si454a\GIT Folders\WonderSource\Build\build\build.xml:58: The > following > error occurred while executing this line: > C:\Users\si454a\GIT Folders\WonderSource\Build\build\generic.xml:270: > java.lang. > NullPointerException > at java.util.Hashtable.put(Hashtable.java:542) > at java.util.Properties.setProperty(Properties.java:161) > at > org.objectstyle.woenvironment.env.WOVariables.createDefaultProperties > (Unknown Source) > at org.objectstyle.woenvironment.env.WOVariables.init(Unknown Source) > at org.objectstyle.woenvironment.env.WOVariables.<init>(Unknown > Source) > at org.objectstyle.woenvironment.env.WOEnvironment.<init>(Unknown > Source > )... > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/roberthana%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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]
