• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

!


  • Subject: !
  • From: Susanne Schneider <email@hidden>
  • Date: Thu, 30 Jul 2009 10:36:12 +0200

Hi Amiel,

many thanks for your reply, that did the trick! The problem was that I put too less info in the wolips.properties file. Your reference was very helpful!

Amiel Montecillo schrieb:


On Thu, Jul 30, 2009 at 1:54 AM, Chuck Hill <email@hidden <mailto:email@hidden>> wrote:

    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.


Yes it has a problem automatically creating in windows. (I felt the pain before) not sure if its still the case with the latest versions. Here's my wolips.properties file for reference. It should be located in C:\Documents and Settings\{user}\Library\Application Support\WOLips folder.


It wasn't created. And as there has been problems with spaces on windows, I put the file into "C:\Users\Susanne\Library\WOLips" (working on Vista) and adjusted the reference in the ant file.

wo.system.root=F\:/Apple
wo.system.frameworks=F\:/Apple/Library/Frameworks
wo.bootstrapjar=F\:/Apple/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
wo.extensions=F\:/Apple/Local/Library/WebObjects/Extensions
wo.user.root=F\:/Amiel
wo.local.frameworks=F\:/Apple/Local/Library/Frameworks
wo.apps.root=F\:/Apple/Library/WebObjects/JavaApplications
wo.local.root=F\:/Apple/Local

And yes the "\" after the drive letter is needed in windos. Maybe Chuck can enlighten me why that is. ;)

By the way, I omitted the "\" after the drive letter and it works nevertheless?



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?

The message is coming from the following stacktrace:

BUILD FAILED
org.objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not find wobuild.properties. Run the buildfile: woproperties.xml first.
at org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(Unknown Source)
at org.objectstyle.woproject.ant.AppFormat.buildFrameworkPaths(Unknown Source)
at org.objectstyle.woproject.ant.AppFormat.preparePaths(Unknown Source)
at org.objectstyle.woproject.ant.AppFormat.prepare(Unknown Source)
at org.objectstyle.woproject.ant.AppFormat.<init>(Unknown Source)
at org.objectstyle.woproject.ant.WOApplication.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)



Maybe the renaming of the file wobuild.properties -> wolips.properties hasn't made it into the Java error message?




        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.

Good to know. But for the classpath reference I am not sure. I will give it a try to remove the variables.
I have seen in the Wiki tutorial for using multiple versions of WO that you can adjust the name of the wolips.properties file in the WOLips preferences. Do you need to enter only the name or the full path?


        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 <mailto: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.

See my answer to Pierre for this.

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
    <mailto:email@hidden>)
    Help/Unsubscribe/Update your Subscription:
    This email sent to email@hidden <mailto:email@hidden>




-- socket error: unable to connect to 127.0.0.1

Again, thank all of you for your help!

Susanne
--
Susanne Schneider
Coordinator secuTrial Development

iAS interActive Systems GmbH
Dieffenbachstraße 33 c, D-10967 Berlin

fon    +49(0)30 22 50 50 - 498
fax    +49(0)30 22 50 50 - 451
mail   email@hidden
web    http://www.interActive-Systems.de

----------------------------------------------------
Geschäftsführer: Dr. Marko Reschke, Thomas Fritzsche
Sitz der Gesellschaft: Berlin
Amtsgericht Berlin Charlottenburg, HRB 106103B
----------------------------------------------------
_______________________________________________
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


References: 
 >Ant build in WO 5.4 not working (Windows) (From: Susanne Schneider <email@hidden>)
 >Re: Ant build in WO 5.4 not working (Windows) (From: Chuck Hill <email@hidden>)
 >Re: Ant build in WO 5.4 not working (Windows) (From: Susanne Schneider <email@hidden>)
 >Re: Ant build in WO 5.4 not working (Windows) (From: Chuck Hill <email@hidden>)
 >Re: Ant build in WO 5.4 not working (Windows) (From: Amiel Montecillo <email@hidden>)

  • Prev by Date: Re: Ant build in WO 5.4 not working (Windows)
  • Next by Date: Re: Ant build in WO 5.4 not working (Windows)
  • Previous by thread: Re: Ant build in WO 5.4 not working (Windows)
  • Next by thread: Re: Ant build in WO 5.4 not working (Windows)
  • Index(es):
    • Date
    • Thread