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

2006-03-28 Thread hermod.opstvedt
Hi

I am using the Maven build and have not run into any problems at all.

Hermod

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 2:12 AM
To: Struts Users Mailing List
Subject: Re: Building SHALE??? The instructions don't work!


On 3/27/06, Hiller, Dean <[EMAIL PROTECTED]> wrote:

> Cool, you rock!  I saw references to this mysterious "maven repository" but
> could not find it as the docs I was looking at did not have references to
> it.

Just be aware that Shale and Maven 1 don't get along very well.  The
Maven build is primarily there to build the website.  I haven't
checked lately if the jars it produces match the ones from the Ant
build.  I think Gary mentioned that an XML file or two is missing from
one of them, and most of the unit tests are disabled.

Let us know if you still need help.  At this point I assume one of: 
Ant, Maven, nightly builds or snapshots was sufficient. :)  Apologies
once again for the difficulties; we'll work on the htmlunit dependency
and the docs to make this easier.

--
Wendy

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


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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



Re: Building SHALE??? The instructions don't work!

2006-03-27 Thread Wendy Smoak
On 3/27/06, Hiller, Dean <[EMAIL PROTECTED]> wrote:

> Cool, you rock!  I saw references to this mysterious "maven repository" but
> could not find it as the docs I was looking at did not have references to
> it.

Just be aware that Shale and Maven 1 don't get along very well.  The
Maven build is primarily there to build the website.  I haven't
checked lately if the jars it produces match the ones from the Ant
build.  I think Gary mentioned that an XML file or two is missing from
one of them, and most of the unit tests are disabled.

Let us know if you still need help.  At this point I assume one of: 
Ant, Maven, nightly builds or snapshots was sufficient. :)  Apologies
once again for the difficulties; we'll work on the htmlunit dependency
and the docs to make this easier.

--
Wendy

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



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

2006-03-27 Thread Hiller, Dean
Cool, you rock!  I saw references to this mysterious "maven repository" but
could not find it as the docs I was looking at did not have references to
it.
Thanks,
dean

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

Hi

I don't see the problem - Why do you want to use the ant build, when the
Maven build functions ok.

Hermod


-Opprinnelig melding-
Fra: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sendt: 27. mars 2006 20:38
Til: Struts Users Mailing List
Emne: Re: Building SHALE??? The instructions don't work!

On 3/27/06, Hiller, Dean <[EMAIL PROTECTED]> wrote:

> 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.

I don't think attachments will come through on the list, but you
shouldn't have to make many changes to the build properties.  In fact,
it expects a certain directory structure (the one it constructs under
'lib' when you run 'ant download-dependencies') so defining the
properties by pointing them at local installs of various libraries may
not work.

I'm able to build it by simply copying build.properties.sample to
build.properties (and setting htmlunit.home, but you've dealt with
that,) and then executing 'ant release'.

If it's not working, please let us know what changes you made to
build.properties, what commands you executed, and what errors you're
getting.

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

Do you need to build it yourself?  If not, there are nightly builds
available here:
   http://cvs.apache.org/builds/struts/nightly/struts-shale/

and snapshots are available in Maven repositories:
   m2:
http://cvs.apache.org/maven-snapshot-repository/org/apache/struts/shale/
   m1: http://cvs.apache.org/repository/org.apache.struts.shale/

HTH,
--
Wendy

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


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



Re: Building SHALE??? The instructions don't work!

2006-03-27 Thread Craig McClanahan
On 3/27/06, Hermod Opstvedt <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I don't see the problem - Why do you want to use the ant build, when the
> Maven build functions ok.
>
> Hermod


You may or may not get something that matches the official builds, which are
done with Ant.

Craig

-Opprinnelig melding-
> Fra: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sendt: 27. mars 2006 20:38
> Til: Struts Users Mailing List
> Emne: Re: Building SHALE??? The instructions don't work!
>
> On 3/27/06, Hiller, Dean <[EMAIL PROTECTED]> wrote:
>
> > 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.
>
> I don't think attachments will come through on the list, but you
> shouldn't have to make many changes to the build properties.  In fact,
> it expects a certain directory structure (the one it constructs under
> 'lib' when you run 'ant download-dependencies') so defining the
> properties by pointing them at local installs of various libraries may
> not work.
>
> I'm able to build it by simply copying build.properties.sample to
> build.properties (and setting htmlunit.home, but you've dealt with
> that,) and then executing 'ant release'.
>
> If it's not working, please let us know what changes you made to
> build.properties, what commands you executed, and what errors you're
> getting.
>
> > Any ideas?  I am just trying to get those mock objects for mocking
> > ServletContext and such.
>
> Do you need to build it yourself?  If not, there are nightly builds
> available here:
>http://cvs.apache.org/builds/struts/nightly/struts-shale/
>
> and snapshots are available in Maven repositories:
>m2:
> http://cvs.apache.org/maven-snapshot-repository/org/apache/struts/shale/
>m1: http://cvs.apache.org/repository/org.apache.struts.shale/
>
> HTH,
> --
> Wendy
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


SV: Building SHALE??? The instructions don't work!

2006-03-27 Thread Hermod Opstvedt
Hi

I don't see the problem - Why do you want to use the ant build, when the
Maven build functions ok.

Hermod


-Opprinnelig melding-
Fra: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sendt: 27. mars 2006 20:38
Til: Struts Users Mailing List
Emne: Re: Building SHALE??? The instructions don't work!

On 3/27/06, Hiller, Dean <[EMAIL PROTECTED]> wrote:

> 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.

I don't think attachments will come through on the list, but you
shouldn't have to make many changes to the build properties.  In fact,
it expects a certain directory structure (the one it constructs under
'lib' when you run 'ant download-dependencies') so defining the
properties by pointing them at local installs of various libraries may
not work.

I'm able to build it by simply copying build.properties.sample to
build.properties (and setting htmlunit.home, but you've dealt with
that,) and then executing 'ant release'.

If it's not working, please let us know what changes you made to
build.properties, what commands you executed, and what errors you're
getting.

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

Do you need to build it yourself?  If not, there are nightly builds
available here:
   http://cvs.apache.org/builds/struts/nightly/struts-shale/

and snapshots are available in Maven repositories:
   m2:
http://cvs.apache.org/maven-snapshot-repository/org/apache/struts/shale/
   m1: http://cvs.apache.org/repository/org.apache.struts.shale/

HTH,
--
Wendy

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


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



Re: Building SHALE??? The instructions don't work!

2006-03-27 Thread Wendy Smoak
On 3/27/06, Hiller, Dean <[EMAIL PROTECTED]> wrote:

> 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.

I don't think attachments will come through on the list, but you
shouldn't have to make many changes to the build properties.  In fact,
it expects a certain directory structure (the one it constructs under
'lib' when you run 'ant download-dependencies') so defining the
properties by pointing them at local installs of various libraries may
not work.

I'm able to build it by simply copying build.properties.sample to
build.properties (and setting htmlunit.home, but you've dealt with
that,) and then executing 'ant release'.

If it's not working, please let us know what changes you made to
build.properties, what commands you executed, and what errors you're
getting.

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

Do you need to build it yourself?  If not, there are nightly builds
available here:
   http://cvs.apache.org/builds/struts/nightly/struts-shale/

and snapshots are available in Maven repositories:
   m2: http://cvs.apache.org/maven-snapshot-repository/org/apache/struts/shale/
   m1: http://cvs.apache.org/repository/org.apache.struts.shale/

HTH,
--
Wendy

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



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

2006-03-27 Thread Gary VanMatre

Try running the build from the test-framwork folder.
 
C:\AAROOT\areas\jakarta\shale-framework-20060327\test-framework\ant clean dist test
 
 
Gary
 
-- Original message -- From: "Hiller, Dean" <[EMAIL PROTECTED]> 

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. > > > 
 
--- Begin Message ---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]--- End Message ---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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

2006-03-27 Thread Hiller, Dean
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]

Re: Building SHALE??? The instructions don't work!

2006-03-27 Thread Craig McClanahan
On 3/27/06, Hiller, Dean <[EMAIL PROTECTED]> wrote:
>
> I was following the instructions here
> 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!

2006-03-27 Thread Wendy Smoak
On 3/27/06, Hiller, Dean <[EMAIL PROTECTED]> wrote:

> I was following the instructions here
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Building SHALE??? The instructions don't work!

2006-03-27 Thread Hiller, Dean
I was following the instructions here
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.