Re: Struts 2.0.0 - STATUS

2006-08-20 Thread Bob Lee

On 8/20/06, Ted Husted <[EMAIL PROTECTED]> wrote:


Hopefully, for 2.0.1, we can have an implementation of the new API, so
that we can start phasing that in as the default API for 2.1.



The new API is actually about 90% implemented and checked in, though it
still needs to be hooked in.

Bob


Re: Struts 2.0.0 - STATUS

2006-08-20 Thread Ted Husted

Since the nightly builds for 2.0.0 are only generating JARs, I posted
the latest snapshots.

* http://people.apache.org/builds/struts/2.0.0/

I'm planning to tie up the loose ends on the documentation, followup
on the taglib docs proposal, and then go ahead and tag 2.0.0.

Hopefully, for 2.0.1, we can have an implementation of the new API, so
that we can start phasing that in as the default API for 2.1.

The snapshot also includes a full copy of the documentation that I
assembled by hand. I used httrack to snag a copy of the cwiki website,
fudged the other website references to point to the local copy, and
zipped it up. Obviously, we'd want to find a way to create a full site
distribution automatically, but this approach should at least get us
through the day.

-Ted.

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



DO NOT REPLY [Bug 39020] - Validator validwhen :Cannot make dependance between two different index in an Array

2006-08-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39020





--- Additional Comments From [EMAIL PROTECTED]  2006-08-21 02:40 ---
Please add your comment to STR-2802 in JIRA.  Struts is no longer using 
Bugzilla.

https://issues.apache.org/struts/browse/STR-2802

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 39020] - Validator validwhen :Cannot make dependance between two different index in an Array

2006-08-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39020





--- Additional Comments From [EMAIL PROTECTED]  2006-08-21 02:35 ---
Is there any workaround for this bug? I have a similar requirement (need to
check for presence of EITHER one field or at least one item in an array field
(items selected from an HTML list), but have run into the same issue.
Is there any other way to configure the validator to do this kind of check, at
least until this bug gets fixed?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: s2 nightlies for j4 compatibility

2006-08-20 Thread James Mitchell
Yes, that is the end goal.  I've added some maven config to begin  
this process, but haven't finished it yet.



--
James Mitchell
678.910.8017




On Aug 20, 2006, at 8:04 PM, Ted Husted wrote:

On 8/20/06, Patrick Lightbody <[EMAIL PROTECTED]>  
wrote:

Any reason we can't use Maven itself to build the jars?
I believe I had that working at some point.


We're not building the JARs per se, but running the compiled Java 5
JARs through a filter.

I'm sure the process can be rolled into the Maven build, once someone
has the time to go to the trouble.

-Ted.

-
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: S1 build problems

2006-08-20 Thread Martin Cooper

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


On 8/20/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
> I'm following the instructions on the wiki:
> http://wiki.apache.org/struts/StrutsMaintenanceMaven
...
> True, I don't have a JDK 1.3 installed, only 1.5, but I hope I don't
need
> one.

Which part of the instructions, and which module is having trouble?



The very first thing under Local Install, where it says to just type 'mvn'.
That's all I'm doing. It's Core that's failing. I  just tried building S2 as
well, and got the exact same thing.

--
Martin Cooper


It works fine here:


$ mvn clean install -Papps,itest

--
Wendy

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




Re: S1 build problems

2006-08-20 Thread Wendy Smoak

On 8/20/06, Martin Cooper <[EMAIL PROTECTED]> wrote:

I'm following the instructions on the wiki:
http://wiki.apache.org/struts/StrutsMaintenanceMaven

...

True, I don't have a JDK 1.3 installed, only 1.5, but I hope I don't need
one.


Which part of the instructions, and which module is having trouble?
It works fine here:

$ mvn clean install -Papps,itest

--
Wendy

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



Re: s2 nightlies for j4 compatibility

2006-08-20 Thread Ted Husted

On 8/20/06, Patrick Lightbody <[EMAIL PROTECTED]> wrote:

Any reason we can't use Maven itself to build the jars?
I believe I had that working at some point.


We're not building the JARs per se, but running the compiled Java 5
JARs through a filter.

I'm sure the process can be rolled into the Maven build, once someone
has the time to go to the trouble.

-Ted.

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



Re: [s2] Snippet Macro

2006-08-20 Thread Patrick Lightbody
Ted,
Can you email me the changed files? I'll get them checked in once I have them 
in my inbox.
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=37908&messageID=81289#81289


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



Re: s2 nightlies for j4 compatibility

2006-08-20 Thread Patrick Lightbody
Any reason we can't use Maven itself to build the jars? I believe I had that 
working at some point.
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=40424&messageID=81288#81288


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



S1 build problems

2006-08-20 Thread Martin Cooper

I'm following the instructions on the wiki:

http://wiki.apache.org/struts/StrutsMaintenanceMaven

to get going on a new machine, and I'm getting a strange error:

[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\dev\asf\struts\struts1\core\target\surefire-reports
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.5', but ' 1.3' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.

True, I don't have a JDK 1.3 installed, only 1.5, but I hope I don't need
one.

Anyone have any ideas?

--
Martin Cooper


IRC #struts on freenode

2006-08-20 Thread Wendy Smoak

If anyone is on IRC, we have a channel:  #struts on chat.freenode.net .

It now (well, if I'm online,) has a strutsbot, though it doesn't know
much yet and isn't *nearly*  as talented as fajita on #apache.  Drop
by and teach it a few things. :)

--
Wendy
http://wiki.wsmoak.net/cgi-bin/wiki.pl?FreenodeJavabot

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



Re: [s2] taglib and tld file -- PROPOSAL!

2006-08-20 Thread Ted Husted

eOK, I sorted out my issues with the maven-taglib plugin (needed to
specify the version), and we have that up and running now.

* http://struts.apache.org/2.x/

There are two issues I've found so far (and filed with the
maven-taglib project).

First, the plugin generates two sets of docs. An ominus "reference
sheet" and a set of javadoc-like "tlddocs". The reference sheet works
great, but it's one page for the entire taglib. Once we add the
example code, it will be a little-bit on the huge size :)

* http://struts.apache.org/2.x/tagreference.html

The tlddocs would work great too, except that the line-wrapping for
the example code is being lost. If that worked, then we could utilize
the tlddocs, same as javadocs.

* http://struts.apache.org/2.x/tlddoc/index.html

Second, we have the one Struts Tags taglib, which is cool, but once we
add all the examples, the TLD file too will be a little-bit on the
huge size :(

One workaround would be to use XML entities to include the example
code from separate files. But, when I tried that, the plugin ignored
the entities.

So far, I only added the example code for two tags, just so we could
see what it looks like.

*  http://struts.apache.org/2.x/tagreference.html#doubleselect
*  http://struts.apache.org/2.x/tagreference.html#subset

If the "example" line wrapping issue on the tlddoc versions is fixed,
so that  the examples displayed like the tag reference, then we would
be very close to where we were before:

* http://wiki.opensymphony.com/display/WW/doubleselect
* http://wiki.opensymphony.com/display/WW/subset

So, if we follow this tact, the action plan would look like:

* Update TLD from WW head and revise class references
** (/s/com.opensymphony.webwork/org.apache.struts2)

* Update TLD with snippets from Javadocs
** Remove example snippets from Javadocs (to avoid maintenance)

* Refer to Tag Reference (and Javadocs) from wiki docs
** Remove old tag reference pages

* When creating a distribution, update references in the wiki docs to
point to a local copy of the Tag and Java references. (ugh!)

* Work with maven-taglib team to fix "no-wrap example" and "ignores
enities" issues with tlddocs
(http://sourceforge.net/tracker/index.php?func=detail&aid=1543474&group_id=93991&atid=606303).

So, moving forward, we would maintain the struts-tags.tld, embedding
the example code there, and let the plugin generate the tag reference
and tag API docs. We would not need to maintain the xdoclet code, or
create a reference page in the wiki for each tag.

If we convince Maven or the plugin to observe XML entities, we can
move the example elements to separate files, making the rest of the
TLD more maintainable.

If anyone would like to explore another approach, now is the time to
jump in and make it so. One obvious alternative would be to try to use
the xdoclet plugin to do things as they were done before, or maintain
an minimal ant buildfile to do the same. I'm not opposed to any of
that, but I don't have the bandwidth to research it myself. If someone
wants to try an alternative to the maven-taglib plugin, now is the
time to volunteer.

-Ted.

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



[s1] Commons-Lang

2006-08-20 Thread Paul Benedict
Because Struts does alot of Spring manipulation on URIs, would it make sense to 
add Commons Lang as a dependency? This way we don't have homegrown string 
parsing done everytime. Thoughts for s2 too?


-
Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.

Re: [s2] Snippet Macro

2006-08-20 Thread Ted Husted

On 8/20/06, tm jee <[EMAIL PROTECTED]> wrote:

shouldn't it be "com.opensymphony..." instead?


Yep. It should be fixed now.

-T.

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