You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hiller, Dean" <DH...@carrieraccess.com> on 2006/03/27 20:00:21 UTC
Building SHALE??? The instructions don't work!
I was following the instructions here....
http://struts.apache.org/struts-shale/building.html
<http://struts.apache.org/struts-shale/building.html>
They don't work. Can someone please update them so they do? Here is my
short ant log....
Buildfile: build.xml
clean-release:
[echo] jdk15.present=true
[delete] Deleting directory
C:\AAROOT\areas\jakarta\shale-framework-20060327\
dist
clean:
execute.14.libraries:
[echo] Executing clean on module core-library
clean:
[delete] Deleting directory
C:\AAROOT\areas\jakarta\shale-framework-20060327\
core-library\target
[delete] Deleting directory
C:\AAROOT\areas\jakarta\shale-framework-20060327\
core-library\dist
[echo] Executing clean on module clay-plugin
clean:
[echo] Executing clean on module test-framework
BUILD FAILED
C:\AAROOT\areas\jakarta\shale-framework-20060327\build.xml:340: The
following er
ror occurred while executing this line:
C:\AAROOT\areas\jakarta\shale-framework-20060327\build.xml:941: The
following er
ror occurred while executing this line:
C:\AAROOT\areas\jakarta\shale-framework-20060327\test-framework\build.xml:48
: C:
\AAROOT\areas\jakarta\shale-framework-20060327\test-framework\${htmlunit.hom
e}\l
ib not found.
Re: Building SHALE??? The instructions don't work!
Posted by Craig McClanahan <cr...@apache.org>.
On 3/27/06, Hiller, Dean <DH...@carrieraccess.com> wrote:
>
> I was following the instructions here....
> http://struts.apache.org/struts-shale/building.html
> <http://struts.apache.org/struts-shale/building.html>
>
>
>
> They don't work. Can someone please update them so they do? Here is my
> short ant log....
The current build process has a bug in it when the "htmlunit.home' property
does not point at a directory that contains an HtmlUnit release. You can
avoid this by either
* Downloading HtmlUnit 1.6 from SourceForge, installing it, and
then pointing this property at the correct directory, or
* Create an empty directory "foo", create a "lib" directory inside
it, and point "htmlunit.home" at directory "foo".
In the latter case, you won't get the test framework base classes for
HtmlUnit based testing (the compile script has conditionals built in), but
you'll get everything else.
Craig
Buildfile: build.xml
>
>
>
> clean-release:
>
> [echo] jdk15.present=true
>
> [delete] Deleting directory
> C:\AAROOT\areas\jakarta\shale-framework-20060327\
>
> dist
>
>
>
> clean:
>
>
>
> execute.14.libraries:
>
> [echo] Executing clean on module core-library
>
>
>
> clean:
>
> [delete] Deleting directory
> C:\AAROOT\areas\jakarta\shale-framework-20060327\
>
> core-library\target
>
> [delete] Deleting directory
> C:\AAROOT\areas\jakarta\shale-framework-20060327\
>
> core-library\dist
>
> [echo] Executing clean on module clay-plugin
>
>
>
> clean:
>
> [echo] Executing clean on module test-framework
>
>
>
> BUILD FAILED
>
> C:\AAROOT\areas\jakarta\shale-framework-20060327\build.xml:340: The
> following er
>
> ror occurred while executing this line:
>
> C:\AAROOT\areas\jakarta\shale-framework-20060327\build.xml:941: The
> following er
>
> ror occurred while executing this line:
>
>
> C:\AAROOT\areas\jakarta\shale-framework-20060327\test-framework\build.xml:48
> : C:
>
> \AAROOT\areas\jakarta\shale-framework-20060327\test-framework\${
> htmlunit.hom
> e}\l
>
> ib not found.
>
>
>
Re: Building SHALE??? The instructions don't work!
Posted by Wendy Smoak <ws...@gmail.com>.
On 3/27/06, Hiller, Dean <DH...@carrieraccess.com> wrote:
> I was following the instructions here....
> http://struts.apache.org/struts-shale/building.html
> <http://struts.apache.org/struts-shale/building.html>
...
> \AAROOT\areas\jakarta\shale-framework-20060327\test-framework\${htmlunit.home}\lib not found.
Sorry about that. The HtmlUnit dependency should be optional, but it
isn't. :(
We're currently tracking a bug ticket for this:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38627
For now, you can either modify the test-framework build.xml as
suggested in the bug ticket, or provide an htmlunit.home property
pointing at an installation of either HtmlUnit 1.6 or 1.7.
Here's a link to download HtmlUnit 1.7:
http://prdownloads.sourceforge.net/htmlunit/htmlunit-1.7.zip?download
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org