You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by Henning Eriksson <he...@educ.umu.se> on 2010/03/02 11:51:15 UTC
Problems building widget
Hi,
After my latest download of Wookie there is problems building a widget.
I tried to create a widget with ant seed-widget and that works fine. But
when I try to build the widget with ant I get following message:
Buildfile: build.xml
_validate:
BUILD FAILED
/Users/henning/Project/wookie/widgets/build.xml:30: Please run your ant
targets from within the root directory of Wookie to ensure your
environment is correctly set up.
Total time: 0 seconds
In an earlier version it works.
Best regards,
Henning Eriksson
UmeƄ University, Sweden
Re: Problems building widget
Posted by Ross Gardler <rg...@apache.org>.
On 02/03/2010 10:51, Henning Eriksson wrote:
> Hi,
>
> After my latest download of Wookie there is problems building a widget.
> I tried to create a widget with ant seed-widget and that works fine. But
> when I try to build the widget with ant I get following message:
>
> Buildfile: build.xml
>
> _validate:
>
> BUILD FAILED
> /Users/henning/Project/wookie/widgets/build.xml:30: Please run your ant
> targets from within the root directory of Wookie to ensure your
> environment is correctly set up.
>
> Total time: 0 seconds
>
> In an earlier version it works.
I recently added the above error message during a training session when
people were getting confused as to where to run the scripts.
You don't say how you are trying to build the build the widget or from
what directory. In general the more information you can provide the
easier it is for us to reproduce and thus debug the problem.
After a little experimentation I was able to reproduce this problem, and
indeed it is a bug.
I'll fix in SVN very soon, but I have some in progress work that
prevents me committing the fix right now.
As a workaround you can make things work by adding:
<property name="deployToDev" value="true"/>
As the first line in the "build-widget" target of the root build.xml file
Ross