Fw: [s2] Requirements(O/T as relates to build environment for Struts2)

2006-11-16 Thread Martin Gainty
Hello again-
Sorry for bothering you on this but I cant seem to get a clean build from this 
distro
 
 I re-downloaded and decompressed struts-2.0.11-showcase-2.0.1.war
 
struts-2.0.1\apps\struts2-showcase-2.0.1\META-INF\maven\org.apache.struts\struts2-showcase\pom.xml
 attempted to run pom.xml 
 where the 1st instruction attempts to d'load struts2-apps-2.0.1.pom from 
  
http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-apps/2.0.1
 
 yet 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-apps/
 displays no 2.0.1 folder
 
 [INFO] Scanning for projects...
 Downloading: 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-apps/2.0.1/struts2-apps-2.0.1.pom
 [WARNING] Unable to get resource from repository apache.snapshots 
(http://people.apache.org/repo/m2-snapshot-repository)
 
 Also
 I dont see any build  configs for building war 
struts-2.0.11-showcase-2.0.1.war
 
 Advice?
 Martin--
 This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
 designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
 this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
 contents
> - Original Message - 
> From: "Wendy Smoak" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Sent: Thursday, November 16, 2006 9:51 AM
> Subject: Re: [s2] Requirements(O/T as relates to build environment for 
> Struts2)
> 
> 
>> On 11/16/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
>> 
>>> here is the my distributionManagement to include in the 
>>> xwork-2.0-SNAPSHOT.jar
>>>
>>>  
>>> 
>>> apache-site
>>> 
>>> 
>>> scp://people.apache.org/repo/m2-snapshot-repository/org/apache/struts
>>> 
>>> file://C:/Struts/Struts-2.0/struts-2.0.0/lib/xwork-2.0-SNAPSHOT.jar
>>> 
>>> 
>>>
>>> I can rebuild the individual jars (struts2-core-2.0.1.jar) but I dont see 
>>> any option to rebuild the web archives
>>> specifically struts2-showcase-2.0.1.war
>> 
>>  has to do with publishing the project
>> website... this change won't do what you intended.
>> 
>> Is there some reaon you need to use 2.0.0?  Struts 2.0.1 was voted
>> beta quality and is available from the download page.
>> http://struts.apache.org/downloads.html
>> 
>> -- 
>> Wendy
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>>

Re: [s2] Requirements(O/T as relates to build environment for Struts2)

2006-11-16 Thread Wendy Smoak

On 11/16/06, Martin Gainty <[EMAIL PROTECTED]> wrote:


here is the my distributionManagement to include in the xwork-2.0-SNAPSHOT.jar

 

apache-site


scp://people.apache.org/repo/m2-snapshot-repository/org/apache/struts

file://C:/Struts/Struts-2.0/struts-2.0.0/lib/xwork-2.0-SNAPSHOT.jar



I can rebuild the individual jars (struts2-core-2.0.1.jar) but I dont see any 
option to rebuild the web archives
specifically struts2-showcase-2.0.1.war


 has to do with publishing the project
website... this change won't do what you intended.

Is there some reaon you need to use 2.0.0?  Struts 2.0.1 was voted
beta quality and is available from the download page.
http://struts.apache.org/downloads.html

--
Wendy

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



Re: [s2] Requirements(O/T as relates to build environment for Struts2)

2006-11-16 Thread Martin Gainty
I unzipped to struts-2.0.0-SNAPSHOT\src
and modified the pom.xml distributionManagement task as follows from 


to--

scp://people.apache.org/repo/m2-snapshot-repository/org/apache/struts

here is the my distributionManagement to include in the xwork-2.0-SNAPSHOT.jar

 

apache-site


scp://people.apache.org/repo/m2-snapshot-repository/org/apache/struts

file://C:/Struts/Struts-2.0/struts-2.0.0/lib/xwork-2.0-SNAPSHOT.jar



I can rebuild the individual jars (struts2-core-2.0.1.jar) but I dont see any 
option to rebuild the web archives
specifically struts2-showcase-2.0.1.war

Thanks
Martin --
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
- Original Message - 
From: "Wendy Smoak" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Wednesday, November 15, 2006 7:15 PM
Subject: Re: [s2] Requirements(O/T as relates to build environment for Struts2)


> On 11/15/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
> 
>> I need to build Struts2 so when I go to Struts-2 folder and execute mvn (2nd 
>> generation maven against pom.xml)
>> (I modified pom.xml to accomodate existing jars)
> 
> How?
> 
>> so when I execute maven in folder where pom.xml is located
>> struts-2.0.0-SNAPSHOT/src>mvn
>> struts-2.0.0-SNAPSHOT\src\core\src\main\java\org\apache\struts2\dispatcher\StrutsRequestWrapper.java:[74,79]
>>  incompatible types
>> found   : com.opensymphony.xwork2.util.ValueStack
>> required: com.opensymphony.xwork2.util.OgnlValueStack
> 
> My guess is that you're building against the wrong version of XWork.
> IIRC, there was no tag for the XWork version that shipped with Struts
> 2.0.0.
> 
> This was fixed in the Struts 2.0.1 build, which depends on the
> 2.0-beta-1 version of XWork.
> 
> For Struts 2.0.0, the dependency is on xwork-core:2.0-SNAPSHOT which
> means if you build it now, Maven will pull down the very latest code.
> And that's unlikely to work since there have been so many changes.
> 
> If you really need to build Struts 2.0.0, you'll probably want to take
> the XWork jar that shipped with it, and install it into your local
> repository under some other name, then change the Struts pom.xml to
> use that version.
> 
> -- 
> Wendy
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Re: [s2] Requirements(O/T as relates to build environment for Struts2)

2006-11-15 Thread Wendy Smoak

On 11/15/06, Martin Gainty <[EMAIL PROTECTED]> wrote:


I need to build Struts2 so when I go to Struts-2 folder and execute mvn (2nd 
generation maven against pom.xml)
(I modified pom.xml to accomodate existing jars)


How?


so when I execute maven in folder where pom.xml is located
struts-2.0.0-SNAPSHOT/src>mvn
struts-2.0.0-SNAPSHOT\src\core\src\main\java\org\apache\struts2\dispatcher\StrutsRequestWrapper.java:[74,79]
 incompatible types
found   : com.opensymphony.xwork2.util.ValueStack
required: com.opensymphony.xwork2.util.OgnlValueStack


My guess is that you're building against the wrong version of XWork.
IIRC, there was no tag for the XWork version that shipped with Struts
2.0.0.

This was fixed in the Struts 2.0.1 build, which depends on the
2.0-beta-1 version of XWork.

For Struts 2.0.0, the dependency is on xwork-core:2.0-SNAPSHOT which
means if you build it now, Maven will pull down the very latest code.
And that's unlikely to work since there have been so many changes.

If you really need to build Struts 2.0.0, you'll probably want to take
the XWork jar that shipped with it, and install it into your local
repository under some other name, then change the Struts pom.xml to
use that version.

--
Wendy

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



Re: [s2] Requirements(O/T as relates to build environment for Struts2)

2006-11-15 Thread Martin Gainty

I need to build Struts2 so when I go to Struts-2 folder and execute mvn (2nd 
generation maven against pom.xml)
(I modified pom.xml to accomodate existing jars)

   

apache-site


scp://people.apache.org/repo/m2-snapshot-repository/org/apache/struts



so when I execute maven in folder where pom.xml is located

struts-2.0.0-SNAPSHOT/src>mvn

struts-2.0.0-SNAPSHOT\src\core\src\main\java\org\apache\struts2\dispatcher\StrutsRequestWrapper.java:[74,79]
 incompatible types
found   : com.opensymphony.xwork2.util.ValueStack
required: com.opensymphony.xwork2.util.OgnlValueStack

struts-2.0.0-SNAPSHOT\src\core\src\main\java\org\apache\struts2\components\template\FreemarkerTemplateEngine.java:[48,26]
 cannot find symbol
symbol  : variable ClassLoaderUtil
location: class org.apache.struts2.components.template.FreemarkerTemplateEngine

struts-2.0.0-SNAPSHOT\src\core\src\main\java\org\apache\struts2\views\util\UrlHelper.java:[250,83]
 incompatible types
found   : com.opensymphony.xwork2.util.ValueStack
required: com.opensymphony.xwork2.util.OgnlValueStack

struts-2.0.0-SNAPSHOT\src\core\src\main\java\org\apache\struts2\sitemesh\VelocityPageFilter.java:[70,32]
 
createContext(com.opensymphony.xwork2.util.OgnlValueStack,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
 in org.apache.struts2.views.velocity.VelocityManager cannot be applied to 
(com.opensymphony.xwork2.util.ValueStack,javax.servlet.http.Http
ServletRequest,javax.servlet.http.HttpServletResponse)

where to acquire com.opensymphony.xwork2.util.Ognl* classes?

Thanks,
Martin --

This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents

- Original Message - 
From: "Martin Gainty" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Wednesday, November 15, 2006 2:48 PM
Subject: Re: [s2] Requirements


> The new mirrors work well
> 
> Please let us allo know when your next book on Struts is published
> I very much enjoyed reading 'Struts in Action'
> 
> Many Thanks,
> Martin --
> This e-mail communication and any attachments may contain confidential and 
> privileged information for the use of the 
> designated recipients named above. If you are not the intended recipient, you 
> are hereby notified that you have received
> this communication in error and that any review, disclosure, dissemination, 
> distribution or copying of it or its 
> contents
> - Original Message - 
> From: "Ted Husted" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" ; "Martin Gainty" 
> <[EMAIL PROTECTED]>
> Sent: Wednesday, November 15, 2006 1:43 PM
> Subject: Re: [s2] Requirements
> 
> 
>> On 11/15/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
>>> Attempts to decompress struts-2.0.1-all.zip produce
>>> struts-2.0.1-all.zip is not valid archive ??
>> 
>> There must have been a glitch in the file transfer. I can guarantee
>> that it's been downloaded and decompressed many times by many people.
>> 
>>> Are there Alternative locations with valid struts-2.* archives?
>> 
>> It's being mirrored. If you try again, it will probably be served by a
>> different mirror.
>> 
>> -Ted.
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>>

Re: [s2] Requirements

2006-11-15 Thread Martin Gainty
The new mirrors work well

Please let us allo know when your next book on Struts is published
I very much enjoyed reading 'Struts in Action'

Many Thanks,
Martin --
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
- Original Message - 
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" ; "Martin Gainty" 
<[EMAIL PROTECTED]>
Sent: Wednesday, November 15, 2006 1:43 PM
Subject: Re: [s2] Requirements


> On 11/15/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
>> Attempts to decompress struts-2.0.1-all.zip produce
>> struts-2.0.1-all.zip is not valid archive ??
> 
> There must have been a glitch in the file transfer. I can guarantee
> that it's been downloaded and decompressed many times by many people.
> 
>> Are there Alternative locations with valid struts-2.* archives?
> 
> It's being mirrored. If you try again, it will probably be served by a
> different mirror.
> 
> -Ted.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Re: [s2] Requirements

2006-11-15 Thread Ted Husted

On 11/15/06, Martin Gainty <[EMAIL PROTECTED]> wrote:

Attempts to decompress struts-2.0.1-all.zip produce
struts-2.0.1-all.zip is not valid archive ??


There must have been a glitch in the file transfer. I can guarantee
that it's been downloaded and decompressed many times by many people.


Are there Alternative locations with valid struts-2.* archives?


It's being mirrored. If you try again, it will probably be served by a
different mirror.

-Ted.

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



Re: [s2] Requirements

2006-11-15 Thread Martin Gainty
Attempts to decompress struts-2.0.1-all.zip produce
struts-2.0.1-all.zip is not valid archive ??

Are there Alternative locations with valid struts-2.* archives?

Many Thanks,
-M

This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
- Original Message - 
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Wednesday, November 15, 2006 7:31 AM
Subject: Re: [s2] Requirements


> On 11/14/06, Ted Husted <[EMAIL PROTECTED]> wrote:
>> It's on the Getting Started page now,
>>
>> * http://struts.apache.org/WW/home.html#Home-PlatformRequirements
>>
>> -T.
> 
> Better yet: http://struts.apache.org/2.x/index.html#Platform Requirements
> 
> -T.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Re: [s2] Requirements

2006-11-15 Thread Dion Gillard

Cool. Thanks Ted!

On 11/15/06, Ted Husted <[EMAIL PROTECTED]> wrote:


On 11/14/06, Ted Husted <[EMAIL PROTECTED]> wrote:
> It's on the Getting Started page now,
>
> * http://struts.apache.org/WW/home.html#Home-PlatformRequirements
>
> -T.

Better yet: http://struts.apache.org/2.x/index.html#Platform Requirements

-T.

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





--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.


Re: [s2] Requirements

2006-11-15 Thread Ted Husted

On 11/14/06, Ted Husted <[EMAIL PROTECTED]> wrote:

It's on the Getting Started page now,

* http://struts.apache.org/WW/home.html#Home-PlatformRequirements

-T.


Better yet: http://struts.apache.org/2.x/index.html#Platform Requirements

-T.

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



Re: [s2] Requirements

2006-11-14 Thread Ted Husted

It's on the Getting Started page now,

* http://struts.apache.org/WW/home.html#Home-PlatformRequirements

-T.

On 11/14/06, Dion Gillard <[EMAIL PROTECTED]> wrote:

Not really.

I would have thought it would be spelled out somewhere a little more obvious
and with less technical detail, e.g.:

*"Apache Struts 2 is an elegant, extensible framework,* well suited for
creating enterprise-ready Java web applications. It extends and enhances
various technologies from J2EE 1.4."

Digging about the project dependencies page seems roundabout.

On 11/11/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> On 11/9/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
>
> > Is there doco somewhere on the minimum requirements for S2?
>
> Does this help?
>
> http://struts.apache.org/2.x/struts2-core/dependencies.html
>
> --
> Wendy


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



Re: [s2] Requirements

2006-11-14 Thread Dion Gillard

Not really.

I would have thought it would be spelled out somewhere a little more obvious
and with less technical detail, e.g.:

*"Apache Struts 2 is an elegant, extensible framework,* well suited for
creating enterprise-ready Java web applications. It extends and enhances
various technologies from J2EE 1.4."

Digging about the project dependencies page seems roundabout.

On 11/11/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:


On 11/9/06, Dion Gillard <[EMAIL PROTECTED]> wrote:

> Is there doco somewhere on the minimum requirements for S2?

Does this help?

http://struts.apache.org/2.x/struts2-core/dependencies.html

--
Wendy

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





--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.


Re: [s2] Requirements

2006-11-10 Thread Laurie Harper

Wendy Smoak wrote:

On 11/10/06, Laurie Harper <[EMAIL PROTECTED]> wrote:


Hmm, I'm surprised the report doesn't already distinguish deps marked
'optional' in the POM. Would it be sufficient to prefix the description
of each dependency with something like '[Optional: required when using
feature X]'?


We don't control the description, it comes from the pom in the repository.

For example, commons-lang 2.1
http://repo1.maven.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.pom 


Oops, good point. I was thinking you could include a description in the 
 element at point of use. I'll be quiet now :-)


L.


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



Re: [s2] Requirements

2006-11-10 Thread Wendy Smoak

On 11/10/06, Laurie Harper <[EMAIL PROTECTED]> wrote:


Hmm, I'm surprised the report doesn't already distinguish deps marked
'optional' in the POM. Would it be sufficient to prefix the description
of each dependency with something like '[Optional: required when using
feature X]'?


We don't control the description, it comes from the pom in the repository.

For example, commons-lang 2.1
http://repo1.maven.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.pom

--
Wendy

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



Re: [s2] Requirements

2006-11-10 Thread Laurie Harper

Wendy Smoak wrote:

On 11/10/06, Don Brown <[EMAIL PROTECTED]> wrote:


Sure, it should look better, but it still wouldn't split out optional
and required dependencies.  For example, it shows Rife Continuations
as required but it is very much optional.


My guess is that it would require some work in whichever Maven plugin
produces that report.


Hmm, I'm surprised the report doesn't already distinguish deps marked 
'optional' in the POM. Would it be sufficient to prefix the description 
of each dependency with something like '[Optional: required when using 
feature X]'?


L.


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



Re: [s2] Requirements

2006-11-10 Thread Wendy Smoak

On 11/10/06, Don Brown <[EMAIL PROTECTED]> wrote:


Sure, it should look better, but it still wouldn't split out optional
and required dependencies.  For example, it shows Rife Continuations
as required but it is very much optional.


My guess is that it would require some work in whichever Maven plugin
produces that report.

--
Wendy

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



Re: [s2] Requirements

2006-11-10 Thread Don Brown

Sure, it should look better, but it still wouldn't split out optional
and required dependencies.  For example, it shows Rife Continuations
as required but it is very much optional.

Don

On 11/10/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

On 11/10/06, Don Brown <[EMAIL PROTECTED]> wrote:
> Hmm...that list is very deceptive as it doesn't break down which
> dependencies are optional and which are required.  Only a couple are
> actually required, while the rest are either fully optional or only
> required if a certain plugin is used.  Any way we could clean that up?

Haven't a lot of the optional dependencies moved out to plugins?  The
page was last published on 10/8.  I'd re-publish it and see if it
looks better now.

--
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: [s2] Requirements

2006-11-10 Thread Wendy Smoak

On 11/10/06, Don Brown <[EMAIL PROTECTED]> wrote:

Hmm...that list is very deceptive as it doesn't break down which
dependencies are optional and which are required.  Only a couple are
actually required, while the rest are either fully optional or only
required if a certain plugin is used.  Any way we could clean that up?


Haven't a lot of the optional dependencies moved out to plugins?  The
page was last published on 10/8.  I'd re-publish it and see if it
looks better now.

--
Wendy

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



Re: [s2] Requirements

2006-11-10 Thread Don Brown

Hmm...that list is very deceptive as it doesn't break down which
dependencies are optional and which are required.  Only a couple are
actually required, while the rest are either fully optional or only
required if a certain plugin is used.  Any way we could clean that up?

Don

On 11/10/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

On 11/9/06, Dion Gillard <[EMAIL PROTECTED]> wrote:

> Is there doco somewhere on the minimum requirements for S2?

Does this help?

http://struts.apache.org/2.x/struts2-core/dependencies.html

--
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: [s2] Requirements

2006-11-10 Thread Wendy Smoak

On 11/9/06, Dion Gillard <[EMAIL PROTECTED]> wrote:


Is there doco somewhere on the minimum requirements for S2?


Does this help?

http://struts.apache.org/2.x/struts2-core/dependencies.html

--
Wendy

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



[s2] Requirements

2006-11-09 Thread Dion Gillard

Is there doco somewhere on the minimum requirements for S2?

e.g.:

servlet 2.1
jsp 1.0
jdk 1.2
jdbc 1.2
jee 2.3

etc?
--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.