Re: Ant build in WO 5.4 not working (Windows)
Re: Ant build in WO 5.4 not working (Windows)
- Subject: Re: Ant build in WO 5.4 not working (Windows)
- From: Chuck Hill <email@hidden>
- Date: Wed, 29 Jul 2009 10:54:09 -0700
Hi Susanne,
On Jul 29, 2009, at 2:49 AM, Susanne Schneider wrote:
Hi Chuck,
first thank you very much for your patience with such a latecomer
like me!
Chuck Hill schrieb:
On Jul 28, 2009, at 8:16 AM, Susanne Schneider wrote:
Hello everybody,
today I tempted fate and installed WO 5.4 on an Windows system
(based on an MacBook) for development parallel to an existing 5.2
installation.
After trying the tutorial for parallel handling from the wiki
without any success I simply copied the new Framework directories
into the old location. Not very elegant but seems to work: I could
compile in Eclipse (3.5, WOLips 3.4.5872).
But I did not succeed in making an ant build. I always get the
message "There is not root named "C:/Apple" in [[Root: name=
Project...." when coming to the compile target. Alas I haven't the
faintest idea what is meant by that. Could somebody help me,
please?? Is the problem related to the new framework/classpath
handling I hadn't understand either?
Yes, you need to update the build files. The easiest is to create
a new project and move the build.xml file over. This will NOT be
compatible with older versions of WOLips (pre-New Hotness). Look
in the woapplication task for a section like:
<frameworks root="C:/Apple" ...
It should be more like
<frameworks root="System"
embed="${your.property.here}"
eclipse="true" />
OK, for starting from scratch and learning I make a fresh new
TestApp and tried to build that. At first try the ant build needs a
new "wolips.properties" which I created.
That should get created automatically. There might be a problem with
this on Windows.
This took me one step further but now the build fails with the
message "Could not find wobuild.properties. Run the buildfile:
woproperties.xml first".
But I have the normal old-fashioned wobuild.properties in the
standard location. And I could not find any "woproperties.xml" file.
Do I have to place the wobuild.properties in a special location or
to configure it somewhere in Eclipse?
That part confuses me. wobuild.properties is not used anymore. Where
is that message coming from?
At the moment I found it very confusing: I found 3 locations where
the installation of framework path are defined:
- classpath-variables (Eclipse during startup from NEXT_ROOT?)
- wobuild.properties
- wolips.properties
and even there are multiple properties to the same path in one file.
The new WOLips should only be using wolips.properties.
By the way, the licence terms of the 5.4 version leave some points
unclear, especially section 4 about termination. I tried to get
information from Apple, but at least at the german telephone sites
there was no much help. Does anybody knows an email contact at apple
for official information ("email@hidden" did come back)?
I don't have the license handy. Do you have a link or can you
paste in that section?
The legals are here: http://images.apple.com/legal/sla/docs/xcode.pdf
The section I found unclear is:
"4. Termination. ... In addition, Apple reserves the right to
terminate this Licence if a new version of Apple's operating system
software or the Developer Software is released wich is incompatible
with this version of the Developer Software. Upon the termination of
this Licence, you shall cease all use of the Developer Software and
destroy all copies, full or partial, of the Developer Software."
What is meant by "incompatible"? A update from 5.4.3 to 5.4.4 or to
6.0? Does this imply deployed applications too? There is no
mentioning how do you get notice of a termination at all. And as I
would interpret this section this would even apply if you do not
upate your development system.
This is not a very trustable ground for developing to-be-sold
software upon. I rather would like to pay for software I am free to
use as long as I like (and on any platform I like)!
That one is easy: that is NOT the WebObjects license. That is the
license for the Xcode Developer Tools. The WebObjects license is
completely different and very liberal. You will see it when you run
the WebObjects installer.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Learn WO at WOWODC'09 East in Montréal this August!
http://www.wocommunity.org/wowodc09/east
http://arstechnica.com/apple/news/2009/07/webobjects-sliced-from-106but-prognosis-of-death-premature.ars
_______________________________________________
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