Re: Wonder build issue?
Re: Wonder build issue?
- Subject: Re: Wonder build issue?
- From: Ray Kiddy <email@hidden>
- Date: Wed, 07 May 2014 23:26:12 -0700
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
> 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