• 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
Re: Wonder build issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder build issue?


  • Subject: Re: Wonder build issue?
  • From: Timothy Worman <email@hidden>
  • Date: Thu, 08 May 2014 00:31:22 -0700

On May 7, 2014, at 11:26 PM, Ray Kiddy <email@hidden> wrote:

> On Wed, 07 May 2014 19:56:45 -0700
> Timothy Worman <email@hidden> wrote:
>
>> All:
>>
>> After running this:
>>
>> ant clean frameworks; sudo ant frameworks.install
>>
>> I get the following errors:
>>
>> BUILD FAILED
>> /Users/worman/Source/wonder/build.xml:18: The following error
>> occurred while executing this
>> line: /Users/worman/Source/wonder/Build/build/build.xml:1509: The
>> following error occurred while executing this
>> line: /Users/worman/Source/wonder/Build/build/build.xml:1500: The
>> following error occurred while executing this
>> line: /Users/worman/Source/wonder/Build/build/build.xml:58: The
>> following error occurred while executing this
>> line: /Users/worman/Source/wonder/Build/build/generic.xml:526: /var/root/Roots/ERJars.framework
>> does not exist.
>>
>
> Very weird. I got this to work by doing:
>
> 	sudo ant -Dwo.external.root=/home/ray/Roots frameworks.install
>
> I do not know _why_ we would have to do this, though. I believe that
> this worked at some time in the past. Does anyone else have any
> theories about when this stopped working?
>
> And frankly, it seems odd that one could have ever run "sudo ant" and
> gotten a correct value for ${user.home}. Than again, it's been a long
> day. Maybe I am squinting at this wrong.
>
> - ray

If you:
1. sudo -s (to gain root privs)
2. cd
3. pwd

The output should reflect your user home not root’s home. For me it was /Users/worman. That is just the way sudo works. It doesn’t clobber your environment variables - at least not on OS X-nix. So, the build scripts should work with sudo. They definitely changed at some point because I have always built wonder this way and the BUILD.txt also instructs building this way. My wolips.properties and build.properties have not changed in a long time so I don’t think it is that.

Tim

> It appears `ant clean frameworks` is successful - build to ~/Roots
>> looks normal. It seems to be failing because it is looking in the
>> root user’s home for ERJars.framework. This looks good:
>>
>> global.framework.build:
>>    [mkdir] Created dir: /Users/worman/Roots/ERJars.framework
>>
>> global.dummy:
>> [woframework] Installing ERJars in /Users/worman/Roots
>>      [jar] Building jar: /Users/worman/Roots/ERJars-6.0.jar
>>
>> global.dummy:
>>     [echo] -------------------------------------
>>     [echo] ERJars.framework done
>>     [echo] -------------------------------------
>>
>> Possibly the `sudo	` is causing something to interpret ‘home'
>> as root’s home instead of the my home? This has never happened before
>> and I’d love to know if I’ve suffered a self-inflicted wound.
>> Otherwise, I’d love to fix this up - or know what the fix-up is!
>>
>> If I do `sudo ls ~` my user home is returned, not /var/root so I’m
>> pretty sure it isn’t an issue with my environment.
>>
>> Tim


 _______________________________________________
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


  • Follow-Ups:
    • Re: Wonder build issue?
      • From: Ray Kiddy <email@hidden>
References: 
 >Wonder build issue? (From: Timothy Worman <email@hidden>)
 >Re: Wonder build issue? (From: Ray Kiddy <email@hidden>)

  • Prev by Date: Re: Wonder build issue?
  • Next by Date: Re: ERPDFGeneration problem
  • Previous by thread: Re: Wonder build issue?
  • Next by thread: Re: Wonder build issue?
  • Index(es):
    • Date
    • Thread