Title: RE: Building SHALE??? The instructions don't work!

I commented it out and get compile errors.  Weird thing is it says it is missing FacesContext(from javax.faces) and VariableResolver(from org.apache.shale.faces).  I have attached my build.properties which I believe are all correct.

Any ideas?  I am just trying to get those mock objects for mocking ServletContext and such.
Thanks,
dean

-----Original Message-----
From: Craig McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 27, 2006 11:16 AM
To: Struts Users Mailing List
Subject: Re: Building SHALE??? The instructions don't work!

On 3/27/06, Hiller, Dean <[EMAIL PROTECTED]> 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.
>
>
>

 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to