Building Struts 1.0.1rc1: Missing xalan

2002-01-01 Thread David M. Karr

I'd like to experiment with some ideas for modifying the "html:radio" tag.
Before I make changes, I'm first trying to build Struts1.0.1rc1 OOTB.

The "build.xml" script talks about setting "jdbc20ext.jar" and "servlet.jar",
which I've done (pointing to my Tomcat4.0.1b2 distribution), but when I try to
build it after setting those, I get the following (excerpts):

DEPRECATED - xslp processor is deprecated. Use trax or xalan instead.
java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory
java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor

So, apparently it needs Xalan too.  Was the information about this accidently
left out of the "build.xml" prolog?  What version of Xalan is required, and how
exactly do I make it available to the build script?  Is it just supposed to be
in the CLASSPATH (I sort of doubt this)?

-- 
===
David M. Karr  ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Need Solution

2002-01-01 Thread Arron Bates

This is really for the struts-user list.

However... the error you have pasted here has nothing to do with the 
username property, but with the bean's property for "institution". More 
specifically, struts can't find it. Could be that you're getter method 
for the institution property is not public or something similar.

The user mailing list is full of friendly chaps that would love to help 
you out on this.
This list is for the cranky and cynical :)


Arron.


RAO Sreenivasa Kagitam wrote:

>>Hi,
>>
>>We are trying to do small application by using Strut frame work.
>>
>>We have coded a sample jsp with defined tag "text".This tag is wroking
>>only for the property as "username". It is not working, if you give
>>differnet name other than "username". We have taken the example given by
>>you(logon.jsp).
>>
>>Here is the Error what we are getting (We are using Weblogic6.1 as the
>>Application server)
>>  Call
>>org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.
>>String,*.do/java.lang.String)
>> >Poller not started for production server.>
>>
>>
>> >WebLogic Admin Server "myserver" for domain "testDomain" running
>>  in Production Mode>
>>
>><[WebAppServletContext(3972952,DefaultWebApp,/DefaultWebApp)] Root cause
>>of ServletEx
>>  ception
>>  javax.servlet.jsp.JspException: No getter method for property
>>institution of bean org.apache.struts.taglib.html.BEAN
>>  at
>>org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
>>  at
>>org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:18
>>8)
>>  at
>>jsp_servlet.__visaautoreversal._jspService(__visaautoreversal.java:213)
>>  at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>>  at
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
>>va:265)
>>  at
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
>>va:200)
>>  at
>>weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServlet
>>Context.java:2456)
>>  at
>>weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.ja
>>va:2039)
>>  at
>>weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
>>  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>>
>>Here with i am also enclosing the source file(logon.jsp)
>> <> 
>>
>>Could you please let us know at the earliest,If we are going in a wrong
>>direction.
>>
>>Regards,
>>Sreenivas.
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
>>For additional commands, e-mail: 
>>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Need Solution

2002-01-01 Thread RAO Sreenivasa Kagitam


> Hi,
> 
> We are trying to do small application by using Strut frame work.
> 
> We have coded a sample jsp with defined tag "text".This tag is wroking
> only for the property as "username". It is not working, if you give
> differnet name other than "username". We have taken the example given by
> you(logon.jsp).
> 
> Here is the Error what we are getting (We are using Weblogic6.1 as the
> Application server)
>   Call
> org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.
> String,*.do/java.lang.String)
>   Poller not started for production server.>
> 
> 
>   WebLogic Admin Server "myserver" for domain "testDomain" running
>   in Production Mode>
> 
> <[WebAppServletContext(3972952,DefaultWebApp,/DefaultWebApp)] Root cause
> of ServletEx
>   ception
>   javax.servlet.jsp.JspException: No getter method for property
> institution of bean org.apache.struts.taglib.html.BEAN
>   at
> org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
>   at
> org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:18
> 8)
>   at
> jsp_servlet.__visaautoreversal._jspService(__visaautoreversal.java:213)
>   at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>   at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> va:265)
>   at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> va:200)
>   at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServlet
> Context.java:2456)
>   at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.ja
> va:2039)
>   at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
>   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> 
> Here with i am also enclosing the source file(logon.jsp)
>  <> 
> 
> Could you please let us know at the earliest,If we are going in a wrong
> direction.
> 
> Regards,
> Sreenivas.



logon.jsp
Description: Binary data

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


DO NOT REPLY [Bug 5649] - Missing jars in binary downloads

2002-01-01 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=5649

Missing jars in binary downloads





--- Additional Comments From [EMAIL PROTECTED]  2002-01-01 16:33 ---
Could you be more specific? I downloaded fresh copies of the Struts 1.0 binary, 
the nightly build from 12/31, and the 1.0.1 release candidated, and don't see 
anything missing. 

Struts 1.0 and 1.0.1 need fewer JARs than the nightly build, since we moved 
some things to the Commons. But the Commons JARs are in the nightly build 
binary.

-Ted.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread Erik Hatcher

Good ol' "default excludes":

http://jakarta.apache.org/ant/manual/dirtasks.html

(at the bottom of that page)

Erik


- Original Message -
From: "Martin Cooper" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 01, 2002 4:39 PM
Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml


> Ah, OK. I didn't realise that.
>
> --
> Martin Cooper
>
>
> - Original Message -
> From: "Vincent Massol" <[EMAIL PROTECTED]>
> To: "'Struts Developers List'" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 01, 2002 1:17 PM
> Subject: RE: cvs commit: jakarta-struts/contrib/scaffold build.xml
>
>
> >
> >
> > > -Original Message-
> > > From: Martin Cooper [mailto:[EMAIL PROTECTED]]
> > > Sent: 01 January 2002 21:16
> > > To: Struts Developers List
> > > Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
> > >
> > > I haven't actually tried this, but it looks like the source zip would
> > also
> > > include all the 'CVS' directories in the tree, along with their
> > contents.
> > > If
> > > that's the case, you might want to add an 'exclude' in the fileset,
> > since
> > > we
> > > wouldn't want those files in the distribution.
> > >
> >
> > Thanks Martin but no ... the Ant zip task excludes the CVS directories
> > by default.
> >
> > -Vincent
> >
> > > --
> > > Martin Cooper
> > >
> > >
> > > - Original Message -
> > > From: <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, January 01, 2002 1:03 PM
> > > Subject: cvs commit: jakarta-struts/contrib/scaffold build.xml
> > >
> > >
> > > > vmassol 02/01/01 13:03:51
> > > >
> > > >   Modified:contrib/scaffold build.xml
> > > >   Log:
> > > >   added source zip to distribution file
> > > >
> > > >   Revision  ChangesPath
> > > >   1.3   +23 -2 jakarta-struts/contrib/scaffold/build.xml
> > > >
> > > >   Index: build.xml
> > > >
> > ===
> > > >   RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
> > > >   retrieving revision 1.2
> > > >   retrieving revision 1.3
> > > >   diff -u -r1.2 -r1.3
> > > >   --- build.xml 28 Dec 2001 13:34:56 - 1.2
> > > >   +++ build.xml 1 Jan 2002 21:03:50 - 1.3
> > > >   @@ -57,7 +57,7 @@
> > > >
> > > >@author mailto:[EMAIL PROTECTED]";>Ted Husted
> > > >@author mailto:[EMAIL PROTECTED]";>Vincent
> > Massol
> > > >   -@version $Id: build.xml,v 1.2 2001/12/28 13:34:56 vmassol Exp
> > $
> > > >   +@version $Id: build.xml,v 1.3 2002/01/01 21:03:50 vmassol Exp
> > $
> > > >
> > >
> > 
> > ==
> > > ==
> > > =
> > > >-->
> > > >
> > > >   @@ -135,6 +135,10 @@
> > > > > > value="${project.name.file}-sample"/>
> > > >
> > > >
> > > >   +
> > > >   + > > value="${project.name.file}-src"/>
> > > >   +
> > > >   +
> > > >
> > > >   -
> > > >   + > > >   + description="Generates all distributables (binary, source,
> > > sample)">
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >   + > > zipfile="${target.source.dir}/${target.source.name}.zip">
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >
> > > >
> > > >
> > > >   @@ -410,6 +428,9 @@
> > > >
> > > >
> > > >
> > > >   +
> > > >   +
> > > >   +
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > 
> > > > For additional commands, e-mail:
> > > 
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:    > > [EMAIL PROTECTED]>
> > > For additional commands, e-mail:  > > [EMAIL PROTECTED]>
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5649] - Missing jars in binary downloads

2002-01-01 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=5649

Missing jars in binary downloads

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5649] New: - Missing jars in binary downloads

2002-01-01 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=5649

Missing jars in binary downloads

   Summary: Missing jars in binary downloads
   Product: Struts
   Version: 1.0 Final
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Documentation
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Missing /lib and webapps/ directories and file content including strut-
blank.war etc... in the binary downloads,  appears to be a duplicate structure 
of the 1.0.1 patch.  Could not find original 1.0 binaries in the archives

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5648] New: - Example tour error: CheckLoginTag

2002-01-01 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=5648

Example tour error: CheckLoginTag

   Summary: Example tour error: CheckLoginTag
   Product: Struts
   Version: 1.0 Final
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Minor
  Priority: Other
 Component: Example
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


In the mainMenu.jsp section, there are various references to 'login' that 
should be changed to 'logon':
CheckLoginTag.java
login.jsp
login.do

and in the SubscriptionForm.java section there is a reference to LoginForm.java

Thanks!

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread Ted Husted

Having two distributions for Artimus just doesn't seem useful. It seems
sufficient to just have the WAR, and include the source in that. 

> jakarta-artimus.war (with source intact under WEB-INF/src)

I've always thought we should do the same thing with the Struts samples,
so those WARs could be downloaded and then examined in place. 

The best thing might be for Scaffolding to be distributed like Struts or
Velocity, or any other programming package. The current sample WAR isn't
useful, and could be discarded. But we would still need a slot for the
unit tests. So, I guess that implies a binary ZIP with the docs and any
sample WARs, a -src ZIP, and the JAR.

Though, I still very much like the idea of just bundling it as WAR with
the source intact, with unit tests as the "application". Other
applications based on the package could go into their own distributions,
like Artimus.

But, Vincent believes the new layout will be more useful, and I trust
his judgment. 

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Building Java web applications with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread Vincent Massol



> -Original Message-
> From: Martin Cooper [mailto:[EMAIL PROTECTED]]
> Sent: 01 January 2002 21:53
> To: Struts Developers List
> Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
> 
> I think what might make the most sense is:
> 
> jakarta-scaffold.jar
> jakarta-scaffold-src.zip
> jakarta-artimus.war
> jakarta-artimus-src.zip
> 
> Note that the binary distribution of Scaffold is just the jar file,
and
> the
> binary distribution of Artimus is just the war file.
> 

Fine, but where is the sample WAR application for Scaffold ?
-Vincent

> --
> Martin Cooper
> 
> 
> - Original Message -
> From: "Vincent Massol" <[EMAIL PROTECTED]>
> To: "'Struts Developers List'" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 01, 2002 1:37 PM
> Subject: RE: cvs commit: jakarta-struts/contrib/scaffold build.xml
> 
> 
> >
> >
> > > -Original Message-
> > > From: Ted Husted [mailto:[EMAIL PROTECTED]]
> > > Sent: 01 January 2002 21:26
> > > To: Struts Developers List
> > > Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
> > >
> > > I just ran it, and it doesn't include the CVS directories.
> > >
> > > It does nest the scaffold-src.zip inside jakarta-scaffold.zip
though,
> > > which is probably going to confuse people.
> > >
> > > Vincent, how about if we go with a jakarta-scaffold.jar and
> > > jakarta-scaffold-src.zip in the dist folder.
> > >
> >
> > Where do you put the sample WAR ? In jakarta-scaffold-src.zip ? I
did
> > not want to separate the src from the distribution as I thought it
was
> > not needed and could be handy for users of scaffold, especially in
the
> > current state of scaffold which has very little documentation.
> >
> > In other words, here is what I am advocating :
> >
> > jakarta-scaffold.zip (the main and only distributable file)
> >   |_ lib
> > |_ scaffold.jar
> >   |_ doc
> > |_ api
> >   |_ (javadoc files)
> >   |_ scaffold-sample.war
> >   |_ scaffold-src.zip
> >
> > If I understand correctly, you would prefer to have just the jar
> > standalone for persons who don't need sample nor documentation nor
> > source and a zip containing the rest, as in :
> >
> > jakarta-scaffold.jar
> > jakarta-scaffold-src.zip
> >   |_ scaffold-src.zip
> >   |_ scaffold-sample.war
> >
> > I'm not sure what you intend to have in Jakarta-scaffold-src.zip ?
The
> > expanded directories ? Then, where do you put the sample WAR ? In a
dist
> > subdirectory ? Somewhere else ?
> >
> > -Vincent
> >
> > > For Artimus, which is an application rather than a development
> > package,
> > > can we keep the src folders where they are, and just ZIP up the
WAR.
> > > There's probably not much use for a binary distribution of
Artimus.
> > >
> > > -Ted.
> > >
> > > Martin Cooper wrote:
> > > >
> > > > I haven't actually tried this, but it looks like the source zip
> > would
> > > also
> > > > include all the 'CVS' directories in the tree, along with their
> > > contents. If
> > > > that's the case, you might want to add an 'exclude' in the
fileset,
> > > since we
> > > > wouldn't want those files in the distribution.
> > > >
> > > > --
> > > > Martin Cooper
> > > >
> > > > - Original Message -
> > > > From: <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Tuesday, January 01, 2002 1:03 PM
> > > > Subject: cvs commit: jakarta-struts/contrib/scaffold build.xml
> > > >
> > > > > vmassol 02/01/01 13:03:51
> > > > >
> > > > >   Modified:contrib/scaffold build.xml
> > > > >   Log:
> > > > >   added source zip to distribution file
> > > > >
> > > > >   Revision  ChangesPath
> > > > >   1.3   +23 -2
jakarta-struts/contrib/scaffold/build.xml
> > > > >
> > > > >   Index: build.xml
> > > > >
> > ===
> > > > >   RCS file:
/home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
> > > > >   retrieving revision 1.2
> > > > >   retrieving revision 1.3
> > > > >   diff -u -r1.2 -r1.3
> > > > >   --- build.xml 28 Dec 2001 13:34:56 - 1.2
> > > > >   +++ build.xml 1 Jan 2002 21:03:50 - 1.3
> > > > >   @@ -57,7 +57,7 @@
> > > > >
> > > > >@author mailto:[EMAIL PROTECTED]";>Ted Husted
> > > > >@author mailto:[EMAIL PROTECTED]";>Vincent
> > Massol
> > > > >   -@version $Id: build.xml,v 1.2 2001/12/28 13:34:56
vmassol
> > Exp $
> > > > >   +@version $Id: build.xml,v 1.3 2002/01/01 21:03:50
vmassol
> > Exp $
> > > > >
> > > >
> > >
> >

> > ==
> > > ==
> > > > =
> > > > >-->
> > > > >
> > > > >   @@ -135,6 +135,10 @@
> > > > > > > > value="${project.name.file}-sample"/>
> > > > >
> > > > >
> > > > >   +
> > > > >   + > > > value="${project.name.file}-src"/>
> > > > >   +
> > > > >   +
> > > > >
> > > > >   -
> > > > >   + > > > >   + description="Generates all distributables (binary,
source,
> > > > sample)">
> > > > >   +
> > > > > 

Re: cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread Martin Cooper

I think what might make the most sense is:

jakarta-scaffold.jar
jakarta-scaffold-src.zip
jakarta-artimus.war
jakarta-artimus-src.zip

Note that the binary distribution of Scaffold is just the jar file, and the
binary distribution of Artimus is just the war file.

--
Martin Cooper


- Original Message -
From: "Vincent Massol" <[EMAIL PROTECTED]>
To: "'Struts Developers List'" <[EMAIL PROTECTED]>
Sent: Tuesday, January 01, 2002 1:37 PM
Subject: RE: cvs commit: jakarta-struts/contrib/scaffold build.xml


>
>
> > -Original Message-
> > From: Ted Husted [mailto:[EMAIL PROTECTED]]
> > Sent: 01 January 2002 21:26
> > To: Struts Developers List
> > Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
> >
> > I just ran it, and it doesn't include the CVS directories.
> >
> > It does nest the scaffold-src.zip inside jakarta-scaffold.zip though,
> > which is probably going to confuse people.
> >
> > Vincent, how about if we go with a jakarta-scaffold.jar and
> > jakarta-scaffold-src.zip in the dist folder.
> >
>
> Where do you put the sample WAR ? In jakarta-scaffold-src.zip ? I did
> not want to separate the src from the distribution as I thought it was
> not needed and could be handy for users of scaffold, especially in the
> current state of scaffold which has very little documentation.
>
> In other words, here is what I am advocating :
>
> jakarta-scaffold.zip (the main and only distributable file)
>   |_ lib
> |_ scaffold.jar
>   |_ doc
> |_ api
>   |_ (javadoc files)
>   |_ scaffold-sample.war
>   |_ scaffold-src.zip
>
> If I understand correctly, you would prefer to have just the jar
> standalone for persons who don't need sample nor documentation nor
> source and a zip containing the rest, as in :
>
> jakarta-scaffold.jar
> jakarta-scaffold-src.zip
>   |_ scaffold-src.zip
>   |_ scaffold-sample.war
>
> I'm not sure what you intend to have in Jakarta-scaffold-src.zip ? The
> expanded directories ? Then, where do you put the sample WAR ? In a dist
> subdirectory ? Somewhere else ?
>
> -Vincent
>
> > For Artimus, which is an application rather than a development
> package,
> > can we keep the src folders where they are, and just ZIP up the WAR.
> > There's probably not much use for a binary distribution of Artimus.
> >
> > -Ted.
> >
> > Martin Cooper wrote:
> > >
> > > I haven't actually tried this, but it looks like the source zip
> would
> > also
> > > include all the 'CVS' directories in the tree, along with their
> > contents. If
> > > that's the case, you might want to add an 'exclude' in the fileset,
> > since we
> > > wouldn't want those files in the distribution.
> > >
> > > --
> > > Martin Cooper
> > >
> > > - Original Message -
> > > From: <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, January 01, 2002 1:03 PM
> > > Subject: cvs commit: jakarta-struts/contrib/scaffold build.xml
> > >
> > > > vmassol 02/01/01 13:03:51
> > > >
> > > >   Modified:contrib/scaffold build.xml
> > > >   Log:
> > > >   added source zip to distribution file
> > > >
> > > >   Revision  ChangesPath
> > > >   1.3   +23 -2 jakarta-struts/contrib/scaffold/build.xml
> > > >
> > > >   Index: build.xml
> > > >
> ===
> > > >   RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
> > > >   retrieving revision 1.2
> > > >   retrieving revision 1.3
> > > >   diff -u -r1.2 -r1.3
> > > >   --- build.xml 28 Dec 2001 13:34:56 - 1.2
> > > >   +++ build.xml 1 Jan 2002 21:03:50 - 1.3
> > > >   @@ -57,7 +57,7 @@
> > > >
> > > >@author mailto:[EMAIL PROTECTED]";>Ted Husted
> > > >@author mailto:[EMAIL PROTECTED]";>Vincent
> Massol
> > > >   -@version $Id: build.xml,v 1.2 2001/12/28 13:34:56 vmassol
> Exp $
> > > >   +@version $Id: build.xml,v 1.3 2002/01/01 21:03:50 vmassol
> Exp $
> > > >
> > >
> >
> 
> ==
> > ==
> > > =
> > > >-->
> > > >
> > > >   @@ -135,6 +135,10 @@
> > > > > > value="${project.name.file}-sample"/>
> > > >
> > > >
> > > >   +
> > > >   + > > value="${project.name.file}-src"/>
> > > >   +
> > > >   +
> > > >
> > > >   -
> > > >   + > > >   + description="Generates all distributables (binary, source,
> > > sample)">
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >   + > zipfile="${target.source.dir}/${target.source.name}.zip">
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >   +
> > > >
> > > >
> > > >
> > > >   @@ -410,6 +428,9 @@
> > > >
> > > >
> > > >
> > > >   +
> > > >   +
> > > >   +
> > > >
> > > >
> > > >
> > > >
> > >

RE: cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread Vincent Massol



> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: 01 January 2002 21:26
> To: Struts Developers List
> Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
> 
> I just ran it, and it doesn't include the CVS directories.
> 
> It does nest the scaffold-src.zip inside jakarta-scaffold.zip though,
> which is probably going to confuse people.
> 
> Vincent, how about if we go with a jakarta-scaffold.jar and
> jakarta-scaffold-src.zip in the dist folder.
> 

Where do you put the sample WAR ? In jakarta-scaffold-src.zip ? I did
not want to separate the src from the distribution as I thought it was
not needed and could be handy for users of scaffold, especially in the
current state of scaffold which has very little documentation.

In other words, here is what I am advocating :

jakarta-scaffold.zip (the main and only distributable file)
  |_ lib
|_ scaffold.jar
  |_ doc
|_ api
  |_ (javadoc files)
  |_ scaffold-sample.war
  |_ scaffold-src.zip

If I understand correctly, you would prefer to have just the jar
standalone for persons who don't need sample nor documentation nor
source and a zip containing the rest, as in :

jakarta-scaffold.jar
jakarta-scaffold-src.zip
  |_ scaffold-src.zip
  |_ scaffold-sample.war

I'm not sure what you intend to have in Jakarta-scaffold-src.zip ? The
expanded directories ? Then, where do you put the sample WAR ? In a dist
subdirectory ? Somewhere else ?

-Vincent

> For Artimus, which is an application rather than a development
package,
> can we keep the src folders where they are, and just ZIP up the WAR.
> There's probably not much use for a binary distribution of Artimus.
> 
> -Ted.
> 
> Martin Cooper wrote:
> >
> > I haven't actually tried this, but it looks like the source zip
would
> also
> > include all the 'CVS' directories in the tree, along with their
> contents. If
> > that's the case, you might want to add an 'exclude' in the fileset,
> since we
> > wouldn't want those files in the distribution.
> >
> > --
> > Martin Cooper
> >
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, January 01, 2002 1:03 PM
> > Subject: cvs commit: jakarta-struts/contrib/scaffold build.xml
> >
> > > vmassol 02/01/01 13:03:51
> > >
> > >   Modified:contrib/scaffold build.xml
> > >   Log:
> > >   added source zip to distribution file
> > >
> > >   Revision  ChangesPath
> > >   1.3   +23 -2 jakarta-struts/contrib/scaffold/build.xml
> > >
> > >   Index: build.xml
> > >
===
> > >   RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
> > >   retrieving revision 1.2
> > >   retrieving revision 1.3
> > >   diff -u -r1.2 -r1.3
> > >   --- build.xml 28 Dec 2001 13:34:56 - 1.2
> > >   +++ build.xml 1 Jan 2002 21:03:50 - 1.3
> > >   @@ -57,7 +57,7 @@
> > >
> > >@author mailto:[EMAIL PROTECTED]";>Ted Husted
> > >@author mailto:[EMAIL PROTECTED]";>Vincent
Massol
> > >   -@version $Id: build.xml,v 1.2 2001/12/28 13:34:56 vmassol
Exp $
> > >   +@version $Id: build.xml,v 1.3 2002/01/01 21:03:50 vmassol
Exp $
> > >
> >
>

==
> ==
> > =
> > >-->
> > >
> > >   @@ -135,6 +135,10 @@
> > > > value="${project.name.file}-sample"/>
> > >
> > >
> > >   +
> > >   + > value="${project.name.file}-src"/>
> > >   +
> > >   +
> > >
> > >   -
> > >   + > >   + description="Generates all distributables (binary, source,
> > sample)">
> > >   +
> > >   +
> > >   +
> > >   +
> > >   + zipfile="${target.source.dir}/${target.source.name}.zip">
> > >   +
> > >   +
> > >   +
> > >   +
> > >   +
> > >   +
> > >   +
> > >
> > >
> > >
> > >   @@ -410,6 +428,9 @@
> > >
> > >
> > >
> > >   +
> > >   +
> > >   +
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > 
> > > For additional commands, e-mail:
> > 
> > >
> >
> > --
> > To unsubscribe, e-mail:    [EMAIL PROTECTED]>
> > For additional commands, e-mail:  [EMAIL PROTECTED]>
> 
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Building Java web applications with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/
> 
> --
> To unsubscribe, e-mail:    [EMAIL PROTECTED]>
> For additional commands, e-mail:  [EMAIL PROTECTED]>
> 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread Martin Cooper

Ah, OK. I didn't realise that.

--
Martin Cooper


- Original Message -
From: "Vincent Massol" <[EMAIL PROTECTED]>
To: "'Struts Developers List'" <[EMAIL PROTECTED]>
Sent: Tuesday, January 01, 2002 1:17 PM
Subject: RE: cvs commit: jakarta-struts/contrib/scaffold build.xml


>
>
> > -Original Message-
> > From: Martin Cooper [mailto:[EMAIL PROTECTED]]
> > Sent: 01 January 2002 21:16
> > To: Struts Developers List
> > Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
> >
> > I haven't actually tried this, but it looks like the source zip would
> also
> > include all the 'CVS' directories in the tree, along with their
> contents.
> > If
> > that's the case, you might want to add an 'exclude' in the fileset,
> since
> > we
> > wouldn't want those files in the distribution.
> >
>
> Thanks Martin but no ... the Ant zip task excludes the CVS directories
> by default.
>
> -Vincent
>
> > --
> > Martin Cooper
> >
> >
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, January 01, 2002 1:03 PM
> > Subject: cvs commit: jakarta-struts/contrib/scaffold build.xml
> >
> >
> > > vmassol 02/01/01 13:03:51
> > >
> > >   Modified:contrib/scaffold build.xml
> > >   Log:
> > >   added source zip to distribution file
> > >
> > >   Revision  ChangesPath
> > >   1.3   +23 -2 jakarta-struts/contrib/scaffold/build.xml
> > >
> > >   Index: build.xml
> > >
> ===
> > >   RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
> > >   retrieving revision 1.2
> > >   retrieving revision 1.3
> > >   diff -u -r1.2 -r1.3
> > >   --- build.xml 28 Dec 2001 13:34:56 - 1.2
> > >   +++ build.xml 1 Jan 2002 21:03:50 - 1.3
> > >   @@ -57,7 +57,7 @@
> > >
> > >@author mailto:[EMAIL PROTECTED]";>Ted Husted
> > >@author mailto:[EMAIL PROTECTED]";>Vincent
> Massol
> > >   -@version $Id: build.xml,v 1.2 2001/12/28 13:34:56 vmassol Exp
> $
> > >   +@version $Id: build.xml,v 1.3 2002/01/01 21:03:50 vmassol Exp
> $
> > >
> >
> 
> ==
> > ==
> > =
> > >-->
> > >
> > >   @@ -135,6 +135,10 @@
> > > > value="${project.name.file}-sample"/>
> > >
> > >
> > >   +
> > >   + > value="${project.name.file}-src"/>
> > >   +
> > >   +
> > >
> > >   -
> > >   + > >   + description="Generates all distributables (binary, source,
> > sample)">
> > >   +
> > >   +
> > >   +
> > >   +
> > >   + > zipfile="${target.source.dir}/${target.source.name}.zip">
> > >   +
> > >   +
> > >   +
> > >   +
> > >   +
> > >   +
> > >   +
> > >
> > >
> > >
> > >   @@ -410,6 +428,9 @@
> > >
> > >
> > >
> > >   +
> > >   +
> > >   +
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > 
> > > For additional commands, e-mail:
> > 
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:    > [EMAIL PROTECTED]>
> > For additional commands, e-mail:  > [EMAIL PROTECTED]>
> >
>
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread Ted Husted

I just ran it, and it doesn't include the CVS directories. 

It does nest the scaffold-src.zip inside jakarta-scaffold.zip though,
which is probably going to confuse people. 

Vincent, how about if we go with a jakarta-scaffold.jar and
jakarta-scaffold-src.zip in the dist folder.

For Artimus, which is an application rather than a development package,
can we keep the src folders where they are, and just ZIP up the WAR.
There's probably not much use for a binary distribution of Artimus.

-Ted.

Martin Cooper wrote:
> 
> I haven't actually tried this, but it looks like the source zip would also
> include all the 'CVS' directories in the tree, along with their contents. If
> that's the case, you might want to add an 'exclude' in the fileset, since we
> wouldn't want those files in the distribution.
> 
> --
> Martin Cooper
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 01, 2002 1:03 PM
> Subject: cvs commit: jakarta-struts/contrib/scaffold build.xml
> 
> > vmassol 02/01/01 13:03:51
> >
> >   Modified:contrib/scaffold build.xml
> >   Log:
> >   added source zip to distribution file
> >
> >   Revision  ChangesPath
> >   1.3   +23 -2 jakarta-struts/contrib/scaffold/build.xml
> >
> >   Index: build.xml
> >   ===
> >   RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
> >   retrieving revision 1.2
> >   retrieving revision 1.3
> >   diff -u -r1.2 -r1.3
> >   --- build.xml 28 Dec 2001 13:34:56 - 1.2
> >   +++ build.xml 1 Jan 2002 21:03:50 - 1.3
> >   @@ -57,7 +57,7 @@
> >
> >@author mailto:[EMAIL PROTECTED]";>Ted Husted
> >@author mailto:[EMAIL PROTECTED]";>Vincent Massol
> >   -@version $Id: build.xml,v 1.2 2001/12/28 13:34:56 vmassol Exp $
> >   +@version $Id: build.xml,v 1.3 2002/01/01 21:03:50 vmassol Exp $
> >
> 
> =
> >-->
> >
> >   @@ -135,6 +135,10 @@
> > value="${project.name.file}-sample"/>
> >
> >
> >   +
> >   + value="${project.name.file}-src"/>
> >   +
> >   +
> >
> >   -
> >   + >   + description="Generates all distributables (binary, source,
> sample)">
> >   +
> >   +
> >   +
> >   +
> >   +
> >   +
> >   +
> >   +
> >   +
> >   +
> >   +
> >   +
> >
> >
> >
> >   @@ -410,6 +428,9 @@
> >
> >
> >
> >   +
> >   +
> >   +
> >
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Building Java web applications with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread Vincent Massol



> -Original Message-
> From: Martin Cooper [mailto:[EMAIL PROTECTED]]
> Sent: 01 January 2002 21:16
> To: Struts Developers List
> Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
> 
> I haven't actually tried this, but it looks like the source zip would
also
> include all the 'CVS' directories in the tree, along with their
contents.
> If
> that's the case, you might want to add an 'exclude' in the fileset,
since
> we
> wouldn't want those files in the distribution.
> 

Thanks Martin but no ... the Ant zip task excludes the CVS directories
by default.

-Vincent

> --
> Martin Cooper
> 
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 01, 2002 1:03 PM
> Subject: cvs commit: jakarta-struts/contrib/scaffold build.xml
> 
> 
> > vmassol 02/01/01 13:03:51
> >
> >   Modified:contrib/scaffold build.xml
> >   Log:
> >   added source zip to distribution file
> >
> >   Revision  ChangesPath
> >   1.3   +23 -2 jakarta-struts/contrib/scaffold/build.xml
> >
> >   Index: build.xml
> >
===
> >   RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
> >   retrieving revision 1.2
> >   retrieving revision 1.3
> >   diff -u -r1.2 -r1.3
> >   --- build.xml 28 Dec 2001 13:34:56 - 1.2
> >   +++ build.xml 1 Jan 2002 21:03:50 - 1.3
> >   @@ -57,7 +57,7 @@
> >
> >@author mailto:[EMAIL PROTECTED]";>Ted Husted
> >@author mailto:[EMAIL PROTECTED]";>Vincent
Massol
> >   -@version $Id: build.xml,v 1.2 2001/12/28 13:34:56 vmassol Exp
$
> >   +@version $Id: build.xml,v 1.3 2002/01/01 21:03:50 vmassol Exp
$
> >
>

==
> ==
> =
> >-->
> >
> >   @@ -135,6 +135,10 @@
> > value="${project.name.file}-sample"/>
> >
> >
> >   +
> >   + value="${project.name.file}-src"/>
> >   +
> >   +
> >
> >   -
> >   + >   + description="Generates all distributables (binary, source,
> sample)">
> >   +
> >   +
> >   +
> >   +
> >   + zipfile="${target.source.dir}/${target.source.name}.zip">
> >   +
> >   +
> >   +
> >   +
> >   +
> >   +
> >   +
> >
> >
> >
> >   @@ -410,6 +428,9 @@
> >
> >
> >
> >   +
> >   +
> >   +
> >
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
> 
> 
> --
> To unsubscribe, e-mail:    [EMAIL PROTECTED]>
> For additional commands, e-mail:  [EMAIL PROTECTED]>
> 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread Martin Cooper

I haven't actually tried this, but it looks like the source zip would also
include all the 'CVS' directories in the tree, along with their contents. If
that's the case, you might want to add an 'exclude' in the fileset, since we
wouldn't want those files in the distribution.

--
Martin Cooper


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 01, 2002 1:03 PM
Subject: cvs commit: jakarta-struts/contrib/scaffold build.xml


> vmassol 02/01/01 13:03:51
>
>   Modified:contrib/scaffold build.xml
>   Log:
>   added source zip to distribution file
>
>   Revision  ChangesPath
>   1.3   +23 -2 jakarta-struts/contrib/scaffold/build.xml
>
>   Index: build.xml
>   ===
>   RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
>   retrieving revision 1.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- build.xml 28 Dec 2001 13:34:56 - 1.2
>   +++ build.xml 1 Jan 2002 21:03:50 - 1.3
>   @@ -57,7 +57,7 @@
>
>@author mailto:[EMAIL PROTECTED]";>Ted Husted
>@author mailto:[EMAIL PROTECTED]";>Vincent Massol
>   -@version $Id: build.xml,v 1.2 2001/12/28 13:34:56 vmassol Exp $
>   +@version $Id: build.xml,v 1.3 2002/01/01 21:03:50 vmassol Exp $
>

=
>-->
>
>   @@ -135,6 +135,10 @@
>
>
>
>   +
>   +
>   +
>   +
>
>   -
>   +   + description="Generates all distributables (binary, source,
sample)">
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>
>
>
>   @@ -410,6 +428,9 @@
>
>
>
>   +
>   +
>   +
>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/scaffold status.txt

2002-01-01 Thread vmassol

vmassol 02/01/01 13:09:32

  Modified:contrib/scaffold status.txt
  Log:
  update for change "Added source zip inside the scaffold main distributable"
  
  Revision  ChangesPath
  1.3   +4 -0  jakarta-struts/contrib/scaffold/status.txt
  
  Index: status.txt
  ===
  RCS file: /home/cvs/jakarta-struts/contrib/scaffold/status.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- status.txt1 Jan 2002 13:44:50 -   1.2
  +++ status.txt1 Jan 2002 21:09:32 -   1.3
  @@ -8,6 +8,10 @@
   StatementUtils
* :TODO: Refactor executeUpdate methods like getCollection methods.
   
  +01-Jan-2002
  +---
  ++ Added source zip inside the scaffold main distributable
  +
   31-Dec-2001
   ---
   + Modified ModelHelper to extend BaseHelperAction
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: [scaffold] New build + a few updates

2002-01-01 Thread Vincent Massol

Done.

> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: 01 January 2002 20:58
> To: Struts Developers List
> Subject: Re: [scaffold] New build + a few updates
> 
> Vincent Massol wrote:
> > No, that's something I forgot to add during my refactoring. I'll add
it.
> > What I have in mind is simply to zip the whole tree.
> 
> +1
> 
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Building Java web applications with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/
> 
> --
> To unsubscribe, e-mail:    [EMAIL PROTECTED]>
> For additional commands, e-mail:  [EMAIL PROTECTED]>
> 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/scaffold build.xml

2002-01-01 Thread vmassol

vmassol 02/01/01 13:03:51

  Modified:contrib/scaffold build.xml
  Log:
  added source zip to distribution file
  
  Revision  ChangesPath
  1.3   +23 -2 jakarta-struts/contrib/scaffold/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml 28 Dec 2001 13:34:56 -  1.2
  +++ build.xml 1 Jan 2002 21:03:50 -   1.3
  @@ -57,7 +57,7 @@
   
   @author mailto:[EMAIL PROTECTED]";>Ted Husted
   @author mailto:[EMAIL PROTECTED]";>Vincent Massol
  -@version $Id: build.xml,v 1.2 2001/12/28 13:34:56 vmassol Exp $
  +@version $Id: build.xml,v 1.3 2002/01/01 21:03:50 vmassol Exp $
 =
   -->
   
  @@ -135,6 +135,10 @@
   
   
   
  +
  +
  +
  +
   
  -
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
   
   
   
  @@ -410,6 +428,9 @@
   
   
   
  +
  +
  +
   
   
   
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: [scaffold] New build + a few updates

2002-01-01 Thread Ted Husted

Vincent Massol wrote:
> No, that's something I forgot to add during my refactoring. I'll add it.
> What I have in mind is simply to zip the whole tree.

+1

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Building Java web applications with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: [scaffold] New build + a few updates

2002-01-01 Thread Vincent Massol



> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: 01 January 2002 19:13
> To: Struts Developers List
> Subject: Re: [scaffold] New build + a few updates
> 
> I updated Artimus to use the latest scaffold.jar and other
dependencies.
> 
> Is there a separate source build for scaffold now? The
> jakarta-scaffold.zip doesn't include the source.
> 

No, that's something I forgot to add during my refactoring. I'll add it.
What I have in mind is simply to zip the whole tree.

Thanks
-Vincent

> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Building Java web applications with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/
> 
> 
> Vincent Massol wrote:
> >
> > Hi,
> >
> > I have made the following modifications to the contrib/scaffold
project
> > :
> >
> > + Modified build directory structure
> > + Moved to latest versions of Struts, Lucene
> > + Added dependency on Commons Beanutils jar
> > + Corrected typo in LICENSE (replaced Tomcat by Scaffold)
> > + Added manifest with version information in scaffold jar
> >
> > Please have a look and tell me if you like it. If you don't, we'll
> > revert to what it was before.
> >
> > Please also bear in mind that I have not modified Artimus so it
won't
> > probably fit, especially with the new Commons Beanutils jar
dependency.
> >
> > Thanks
> > -Vincent
> >
> > --
> > 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]>
> 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/WEB-INF/src/conf Resources.properties

2002-01-01 Thread husted

husted  02/01/01 11:45:05

  Removed: contrib/artimus/WEB-INF/src/conf Resources.properties
  Log:
  Correct reference to application properties file.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/WEB-INF/src/conf application.properties

2002-01-01 Thread husted

husted  02/01/01 11:44:45

  Added:   contrib/artimus/WEB-INF/src/conf application.properties
  Log:
  Correct reference to application properties file.
  
  Revision  ChangesPath
  1.1  
jakarta-struts/contrib/artimus/WEB-INF/src/conf/application.properties
  
  Index: application.properties
  ===
  # @author Ted Husted
  # @version $Revision: 1.1 $ $Date: 2002/01/01 19:44:45 $
  # @requires validator:errors
  # root errors
  errors.header=
  errors.footer=
  errors.required={0} is required.
  error.detail={0}
  error.general=The process did not complete. Details should follow.
  # -- data --
  data.access.denied=Access denied.
  data.access.error=Unable to access database.
  data.access.empty=Requested records were not found.
  data.record.inserted=Record {0} inserted.
  data.record.updated=Record {0} updated.
  data.record.deleted=Record {0} deleted.
  # -- access ---
  access.missing.parameter=Missing parameter.
  # -- rss ---
  rss.access.error=Unable to access channel resource. Please try again later.
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/WEB-INF web.xml build.html

2002-01-01 Thread husted

husted  02/01/01 11:44:11

  Modified:contrib/artimus/WEB-INF web.xml build.html
  Log:
  Correct reference to application properties file.
  
  Revision  ChangesPath
  1.2   +1 -1  jakarta-struts/contrib/artimus/WEB-INF/web.xml
  
  Index: web.xml
  ===
  RCS file: /home/cvs/jakarta-struts/contrib/artimus/WEB-INF/web.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- web.xml   10 Nov 2001 12:04:12 -  1.1
  +++ web.xml   1 Jan 2002 19:44:11 -   1.2
  @@ -12,7 +12,7 @@
   org.apache.struts.action.ActionServlet
   
 application
  -  ApplicationResources
  +  application
   
   
 config
  
  
  
  1.2   +1 -0  jakarta-struts/contrib/artimus/WEB-INF/build.html
  
  Index: build.html
  ===
  RCS file: /home/cvs/jakarta-struts/contrib/artimus/WEB-INF/build.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.html1 Jan 2002 18:57:53 -   1.1
  +++ build.html1 Jan 2002 19:44:11 -   1.2
  @@ -6,6 +6,7 @@
   commons-beanutils.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-beanutils/v1.2/";>Jakarta
 Commons BeanUtils 1.2
   commons-collections.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-collections/v1.0/";>Jakarta
 Commons Collections 1.0
   commons-digester.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-digester/v1.1.1/";>Jakarta
 Commons Digester 1.1.1
  +scaffold.jar - http://jakarta.apache.org/builds/jakarta-struts/nightly/";>Jakarta Struts nightly 
build (see contrib folder)
   struts.jar - http://jakarta.apache.org/builds/jakarta-struts/nightly/";>Jakarta Struts nightly 
build
   lucene.jar - http://jakarta.apache.org/builds/jakarta-lucene/release/v1.2-rc2/";>Jakarta 
Lucene 1.2 RC 2
   poolman.jar - http://codestudio.com/#download";>PoolMan 2.0.4
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: [scaffold] New build + a few updates

2002-01-01 Thread Ted Husted

I updated Artimus to use the latest scaffold.jar and other dependencies. 

Is there a separate source build for scaffold now? The
jakarta-scaffold.zip doesn't include the source. 

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Building Java web applications with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/


Vincent Massol wrote:
> 
> Hi,
> 
> I have made the following modifications to the contrib/scaffold project
> :
> 
> + Modified build directory structure
> + Moved to latest versions of Struts, Lucene
> + Added dependency on Commons Beanutils jar
> + Corrected typo in LICENSE (replaced Tomcat by Scaffold)
> + Added manifest with version information in scaffold jar
> 
> Please have a look and tell me if you like it. If you don't, we'll
> revert to what it was before.
> 
> Please also bear in mind that I have not modified Artimus so it won't
> probably fit, especially with the new Commons Beanutils jar dependency.
> 
> Thanks
> -Vincent
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/scaffold build.html

2002-01-01 Thread husted

husted  02/01/01 10:58:10

  Modified:contrib/scaffold build.html
  Log:
  Update build.html file with links to required JARs.
  
  Revision  ChangesPath
  1.2   +10 -10jakarta-struts/contrib/scaffold/build.html
  
  Index: build.html
  ===
  RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.html1 Jan 2002 15:02:25 -   1.1
  +++ build.html1 Jan 2002 18:58:10 -   1.2
  @@ -3,22 +3,22 @@
   
   See the build-properites.xml for requisite JARs.
   
  -commons-beanutils.jar - http://jakarta.apache.org/commons";>jakarta.apache.org/commons
  -commons-collections.jar - http://jakarta.apache.org/commons";>jakarta.apache.org/commons
  -commons-digester.jar - http://jakarta.apache.org/commons";>jakarta.apache.org/commons
  -struts.jar (nightly build) - http://jakarta.apache.org/struts";>jakarta.apache.org/struts
  -lucene.jar - http://jakarta.apache.org/lucene";>jakarta.apache.org/lucene
  +commons-beanutils.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-beanutils/v1.2/";>Jakarta
 Commons BeanUtils 1.2
  +commons-collections.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-collections/v1.0/";>Jakarta
 Commons Collections 1.0
  +commons-digester.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-digester/v1.1.1/";>Jakarta
 Commons Digester 1.1.1
  +struts.jar - http://jakarta.apache.org/builds/jakarta-struts/nightly/";>Jakarta Struts nightly 
build
  +lucene.jar - http://jakarta.apache.org/builds/jakarta-lucene/release/v1.2-rc2/";>Jakarta 
Lucene 1.2 RC 2
  +poolman.jar - http://codestudio.com/#download";>PoolMan 2.0.4
   servlet.jar
   jdbc20ext.jar
  -poolman.jar - http://codestudio.com";>codestudio.com
   
   
   See the build-properites.xml for optional resources.
   
  -cactus.jar - http://jakarta.apache.org/cactus";>jakarta.apache.org/cactus
  -cactus.ant.jar - http://jakarta.apache.org/cactus";>jakarta.apache.org/cactus
  -junit.jar - http://junit.org/";>junit.org
  -commons-httpclient.jar - http://jakarta.apache.org/commons";>jakarta.apache.org/commons
  +cactus.jar - http://jakarta.apache.org/builds/jakarta-cactus/release/v1.2/";>Jakarta Cactus 
1.2
  +cactus.ant.jar - http://jakarta.apache.org/builds/jakarta-cactus/release/v1.2/";>Jakarta Cactus 
Ant 1.2
  +junit.jar - http://junit.org/";>Junit 3.7 (select download 
link)
  +commons-httpclient.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-httpclient/v2.0/";>Jakarta
 Commons HttpClient 2.0
   aspectjrt.jar
   
   
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/WEB-INF build.html

2002-01-01 Thread husted

husted  02/01/01 10:57:53

  Added:   contrib/artimus/WEB-INF build.html
  Log:
  Add build.html file with links to required JARs.
  
  Revision  ChangesPath
  1.1  jakarta-struts/contrib/artimus/WEB-INF/build.html
  
  Index: build.html
  ===
  
  
  
  See the build.xml for requisite JARs.
  
  commons-beanutils.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-beanutils/v1.2/";>Jakarta
 Commons BeanUtils 1.2
  commons-collections.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-collections/v1.0/";>Jakarta
 Commons Collections 1.0
  commons-digester.jar - http://jakarta.apache.org/builds/jakarta-commons/release/commons-digester/v1.1.1/";>Jakarta
 Commons Digester 1.1.1
  struts.jar - http://jakarta.apache.org/builds/jakarta-struts/nightly/";>Jakarta Struts nightly 
build
  lucene.jar - http://jakarta.apache.org/builds/jakarta-lucene/release/v1.2-rc2/";>Jakarta 
Lucene 1.2 RC 2
  poolman.jar - http://codestudio.com/#download";>PoolMan 2.0.4
  validator.jar - http://home.earthlink.net/~dwinterfeldt/archive/";>Struts Validator
  
  
  Also these tld's from the Struts distribution (above) placed in the /WEB-INF/lib 
folder with the JARs
  
  struts-bean.tld
  struts-html.tld
  struts-logic.tld
  
  
  
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/WEB-INF/lib index.html

2002-01-01 Thread husted

husted  02/01/01 07:07:25

  Removed: contrib/artimus/WEB-INF/lib index.html
  Log:
  Remove /WEB-INF/lib/index.html which has been replaced with /WEB-INF/build.html.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/WEB-INF build.xml status.txt

2002-01-01 Thread husted

husted  02/01/01 07:06:23

  Modified:contrib/artimus/WEB-INF build.xml status.txt
  Log:
  Add build.html page to document where relevant JARs can be obtained.
  
  Revision  ChangesPath
  1.2   +5 -3  jakarta-struts/contrib/artimus/WEB-INF/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-struts/contrib/artimus/WEB-INF/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 10 Nov 2001 12:04:12 -  1.1
  +++ build.xml 1 Jan 2002 15:06:23 -   1.2
  @@ -1,16 +1,18 @@
   
  -
  +
   
  -
  +
   
   
   
   
   
   
  +
  +
   
   
   
  
  
  
  1.2   +5 -0  jakarta-struts/contrib/artimus/WEB-INF/status.txt
  
  Index: status.txt
  ===
  RCS file: /home/cvs/jakarta-struts/contrib/artimus/WEB-INF/status.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- status.txt10 Nov 2001 12:04:12 -  1.1
  +++ status.txt1 Jan 2002 15:06:23 -   1.2
  @@ -32,6 +32,11 @@
   - Unit tests
   
   
  +31-DEC-01
  +-
  ++ article.http.Form: Change reset to use setters.
  +
  +
   06-NOV-01
   -
   + Rename article/Model,key/Model to Access (i.e. Data Access).
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/scaffold build.html

2002-01-01 Thread husted

husted  02/01/01 07:02:25

  Added:   contrib/scaffold build.html
  Log:
  Add build.html page to document where relevant JARs can be obtained.
  
  Revision  ChangesPath
  1.1  jakarta-struts/contrib/scaffold/build.html
  
  Index: build.html
  ===
  
  
  
  See the build-properites.xml for requisite JARs.
  
  commons-beanutils.jar - http://jakarta.apache.org/commons";>jakarta.apache.org/commons
  commons-collections.jar - http://jakarta.apache.org/commons";>jakarta.apache.org/commons
  commons-digester.jar - http://jakarta.apache.org/commons";>jakarta.apache.org/commons
  struts.jar (nightly build) - http://jakarta.apache.org/struts";>jakarta.apache.org/struts
  lucene.jar - http://jakarta.apache.org/lucene";>jakarta.apache.org/lucene
  servlet.jar
  jdbc20ext.jar
  poolman.jar - http://codestudio.com";>codestudio.com
  
  
  See the build-properites.xml for optional resources.
  
  cactus.jar - http://jakarta.apache.org/cactus";>jakarta.apache.org/cactus
  cactus.ant.jar - http://jakarta.apache.org/cactus";>jakarta.apache.org/cactus
  junit.jar - http://junit.org/";>junit.org
  commons-httpclient.jar - http://jakarta.apache.org/commons";>jakarta.apache.org/commons
  aspectjrt.jar
  
  
  Also these tld's from the Struts distribution (above)
  
  struts-bean.tld
  struts-html.tld
  struts-logic.tld
  
  
  
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/styles global.css

2002-01-01 Thread husted

husted  02/01/01 06:44:05

  Added:   contrib/artimus/styles global.css
  Log:
  Add style sheet folder.
  
  Revision  ChangesPath
  1.1  jakarta-struts/contrib/artimus/styles/global.css
  
  Index: global.css
  ===
  body {
background-color:#FF;
color:#00;
font-family:verdana;
font-size:10pt;
text-align:center;
  }
  
  .author {
font-style:italic;
font-size:8pt;
  }
  
  table.parent {
width:600px;
border-width:1px;
border-style:solid;
border-color:#00;
border-collapse:collapse;
padding:0px,0px,0px,0px;
  }
  
  table.child {
width:98%;
  }
  
  input {
font-family:verdana;
font-size:10pt;
  }
  
  h2 {
font-family:arial;
  }
  
  td {
font-family:verdana;
font-size:10pt;
  }
  
  td.options {
background-color:#CC;
text-align:center;
font-size:8pt;
padding-top:4px;
padding-bottom:4px;
border-width:1px;
border-style:solid;
border-color:#00;
margin:0px,0px,0px,0px;
  }
  
  a {
color:#336699;
font-weight:bold;
  }
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5646] New: - Add constructor for ActionError to take Object[] for parameters

2002-01-01 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=5646

Add constructor for ActionError to take Object[] for parameters

   Summary: Add constructor for ActionError to take Object[] for
parameters
   Product: Struts
   Version: Nightly Build
  Platform: All
OS/Version: All
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Standard Actions
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


In the current version of ActionError, the constructors take a key and up to 
four objects that are used as substitution parameters in the message specified 
in the resource bundle. I think a constructor should be added that takes an 
Object[] so that if you have more than four, the ActionError class can support 
it. Even if you don't plan to use all of the parameters in the Object[] for the 
message, you can do something like:

The date field {0} must fall between {2} and {4}.

Notice that the parameters 1 and 3 are not used in this message, but may be by 
other clients, such as ERP systems.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/search Engine.java

2002-01-01 Thread husted

husted  02/01/01 05:46:17

  Modified:contrib/artimus/WEB-INF/src/java/org/apache/artimus/search
Engine.java
  Log:
  Update Artimus for latest changes to Scaffolding, including reliance on the nightly 
build and latest Lucene release candidate.
  
  Revision  ChangesPath
  1.2   +18 -18
jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/search/Engine.java
  
  Index: Engine.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/search/Engine.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Engine.java   10 Nov 2001 12:04:13 -  1.1
  +++ Engine.java   1 Jan 2002 13:46:17 -   1.2
  @@ -5,23 +5,23 @@
   
   import java.util.Collection;
   
  -import com.lucene.analysis.Analyzer;
  -import com.lucene.analysis.StopAnalyzer;
  +import org.apache.lucene.analysis.Analyzer;
  +import org.apache.lucene.analysis.StopAnalyzer;
   
  -import com.lucene.document.Document;
  -import com.lucene.document.Field;
  +import org.apache.lucene.document.Document;
  +import org.apache.lucene.document.Field;
   
  -import com.lucene.index.IndexReader;
  -import com.lucene.index.IndexWriter;
  -import com.lucene.index.Term;
  -
  -import com.lucene.queryParser.QueryParser;
  -import com.lucene.queryParser.ParseException;
  -
  -import com.lucene.search.Hits;
  -import com.lucene.search.IndexSearcher;
  -import com.lucene.search.Query;
  -import com.lucene.search.Searcher;
  +import org.apache.lucene.index.IndexReader;
  +import org.apache.lucene.index.IndexWriter;
  +import org.apache.lucene.index.Term;
  +
  +import org.apache.lucene.queryParser.QueryParser;
  +import org.apache.lucene.queryParser.ParseException;
  +
  +import org.apache.lucene.search.Hits;
  +import org.apache.lucene.search.IndexSearcher;
  +import org.apache.lucene.search.Query;
  +import org.apache.lucene.search.Searcher;
   
   import org.apache.scaffold.model.ModelException;
   import org.apache.scaffold.model.ModelParameterException;
  @@ -33,8 +33,8 @@
* Search engine methods for Articles application.
* 
* @author Ted Husted
  - * @version $Revision: 1.1 $ $Date: 2001/11/10 12:04:13 $
  - */
  + * @version $Revision: 1.2 $ $Date: 2002/01/01 13:46:17 $
  +**/
   public final class Engine {
   
   /**
  @@ -224,4 +224,4 @@
* information on the Apache Software Foundation, please see
* .
*
  - */
  +**/
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/http CreateIndex.java

2002-01-01 Thread husted

husted  02/01/01 05:46:07

  Modified:contrib/artimus/WEB-INF/src/java/org/apache/artimus/http
CreateIndex.java
  Log:
  Update Artimus for latest changes to Scaffolding, including reliance on the nightly 
build and latest Lucene release candidate.
  
  Revision  ChangesPath
  1.2   +9 -9  
jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/http/CreateIndex.java
  
  Index: CreateIndex.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/http/CreateIndex.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CreateIndex.java  10 Nov 2001 12:04:13 -  1.1
  +++ CreateIndex.java  1 Jan 2002 13:46:07 -   1.2
  @@ -18,9 +18,9 @@
   import org.apache.struts.action.ActionMapping;
   import org.apache.struts.action.ActionServlet;
   
  -import com.lucene.document.Document;
  -import com.lucene.document.Field;
  -import com.lucene.index.IndexWriter;
  +import org.apache.lucene.document.Document;
  +import org.apache.lucene.document.Field;
  +import org.apache.lucene.index.IndexWriter;
   
   import org.apache.artimus.article.http.Form;
   import org.apache.artimus.search.Engine;
  @@ -30,8 +30,8 @@
   /**
* Create search engine indexes used by application.
* @author Ted Husted
  - * @version $Revision: 1.1 $ $Date: 2001/11/10 12:04:13 $
  - */
  + * @version $Revision: 1.2 $ $Date: 2002/01/01 13:46:07 $
  +**/
   public final class CreateIndex extends Action {
   
   // - Instances Variables
  @@ -100,9 +100,9 @@
   
   
   /*
  - * $Header: 
/home/cvs/jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/http/CreateIndex.java,v
 1.1 2001/11/10 12:04:13 husted Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/11/10 12:04:13 $
  + * $Header: 
/home/cvs/jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/http/CreateIndex.java,v
 1.2 2002/01/01 13:46:07 husted Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/01/01 13:46:07 $
*
* 
*
  @@ -158,5 +158,5 @@
* information on the Apache Software Foundation, please see
* .
*
  - */
  +**/
   
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/article Access.java

2002-01-01 Thread husted

husted  02/01/01 05:45:43

  Modified:contrib/artimus/WEB-INF/src/java/org/apache/artimus/article
Access.java
  Log:
  Update Artimus for latest changes to Scaffolding, including reliance on the nightly 
build.
  
  Revision  ChangesPath
  1.2   +10 -10
jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/article/Access.java
  
  Index: Access.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/article/Access.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Access.java   10 Nov 2001 12:04:12 -  1.1
  +++ Access.java   1 Jan 2002 13:45:43 -   1.2
  @@ -21,13 +21,13 @@
   
   import org.apache.scaffold.search.LuceneUtils;
   import org.apache.artimus.search.Engine;
  -import com.lucene.document.Document;
  -import com.lucene.document.Field;
  -import com.lucene.index.IndexWriter;
  -import com.lucene.index.Term;
  +import org.apache.lucene.document.Document;
  +import org.apache.lucene.document.Field;
  +import org.apache.lucene.index.IndexWriter;
  +import org.apache.lucene.index.Term;
   
  -// import com.lucene.search.Hits;
  -// import com.lucene.search.Query;
  +// import org.apache.lucene.search.Hits;
  +// import org.apache.lucene.search.Query;
   
   
   /**
  @@ -41,8 +41,8 @@
* This class could be based on an interface if another
* (non-SQL) type of access was needed.
* @author Ted Husted
  - * @version $Revision: 1.1 $ $Date: 2001/11/10 12:04:12 $
  - */
  + * @version $Revision: 1.2 $ $Date: 2002/01/01 13:45:43 $
  +**/
   public final class Access {
   
   
  @@ -54,7 +54,7 @@
* thereby encapsulating the implementation.
* 
* @exception ModelException if SQL error occurs
  - */
  +**/
   public static final void createTable()
   throws ModelException {
   try {
  @@ -379,4 +379,4 @@
* information on the Apache Software Foundation, please see
* .
*
  - */
  +**/
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/scaffold status.txt

2002-01-01 Thread husted

husted  02/01/01 05:44:50

  Modified:contrib/scaffold status.txt
  Log:
  + Modified ModelHelper to extend BaseHelperAction
  + Added BaseHelperAction
  + ModelDetailHelper - update JavaDocs.
  + Added SetModelHelper - standard action to set ModelBean as session attribute.
  + Added RemoveModelHelper - standard action to remove session attribute.
  + Added FindForwardAction - Scan parameters for a matching forward name.
  + ModelResult, ModelResultBase - Change parameter names in signature.
  
  Revision  ChangesPath
  1.2   +11 -0 jakarta-struts/contrib/scaffold/status.txt
  
  Index: status.txt
  ===
  RCS file: /home/cvs/jakarta-struts/contrib/scaffold/status.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- status.txt23 Dec 2001 19:32:50 -  1.1
  +++ status.txt1 Jan 2002 13:44:50 -   1.2
  @@ -8,6 +8,17 @@
   StatementUtils
* :TODO: Refactor executeUpdate methods like getCollection methods.
   
  +31-Dec-2001
  +---
  ++ Modified ModelHelper to extend BaseHelperAction
  ++ Added BaseHelperAction
  ++ ModelDetailHelper - update JavaDocs.
  ++ Added SetModelHelper - standard action to set ModelBean as session attribute.
  ++ Added RemoveModelHelper - standard action to remove session attribute.
  ++ Added FindForwardAction - Scan parameters for a matching forward name.
  ++ ModelResult, ModelResultBase - Change parameter names in signature. 
  +
  +
   23-Dec-2001
   ---
   + Modified build directory structure
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/sql ResultSetUtils.java StatementUtils.java

2002-01-01 Thread husted

husted  02/01/01 05:44:36

  Modified:contrib/scaffold/src/framework/main/org/apache/scaffold/sql
ResultSetUtils.java StatementUtils.java
  Log:
  + Modified ModelHelper to extend BaseHelperAction
  + Added BaseHelperAction
  + ModelDetailHelper - update JavaDocs.
  + Added SetModelHelper - standard action to set ModelBean as session attribute.
  + Added RemoveModelHelper - standard action to remove session attribute.
  + Added FindForwardAction - Scan parameters for a matching forward name.
  + ModelResult, ModelResultBase - Change parameter names in signature.
  
  Revision  ChangesPath
  1.3   +31 -33
jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/sql/ResultSetUtils.java
  
  Index: ResultSetUtils.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/sql/ResultSetUtils.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ResultSetUtils.java   28 Dec 2001 13:34:58 -  1.2
  +++ ResultSetUtils.java   1 Jan 2002 13:44:36 -   1.3
  @@ -22,17 +22,15 @@
   import java.util.Map;
   
   import org.apache.commons.beanutils.BeanUtils;
  -// import org.apache.commons.beanutil.BeanUtils;
   import org.apache.commons.beanutils.PropertyUtils;
  -// import org.apache.commons.beanutil.PropertyUtils;
   
   
  -/**
  - * General purpose utility methods related to ResultSets
  - * 
  - * @author Ted Husted
  - * @version $Revision: 1.2 $ $Date: 2001/12/28 13:34:58 $
  - */
  + /**
  +  * General purpose utility methods related to ResultSets
  +  * 
  +  * @author Ted Husted
  +  * @version $Revision: 1.3 $ $Date: 2002/01/01 13:44:36 $
  + **/
public class ResultSetUtils {
   
   /**
  @@ -69,7 +67,7 @@
*  access to the property accessor method
* @exception InvocationTargetException if the property accessor method
*  throws an exception
  - */
  +**/
   public static void setProperties(Object bean, Map properties)
   throws IllegalAccessException, InvocationTargetException {
   
  @@ -80,7 +78,7 @@
   if (debug >= 1)
   System.out.println("BeanUtils.populate(" + bean + ", " +
  properties + ")");
  -*/
  +   **/
   
   // Loop through the property name/value pairs to be set
   Iterator names = properties.keySet().iterator();
  @@ -99,14 +97,14 @@
   /*
   if (debug >= 1)
   System.out.println("getPropertyDescriptor: " + t);
  -*/
  +   **/
   descriptor = null;
   }
   if (descriptor == null) {
   /*
   if (debug >= 1)
   System.out.println("No such property, skipping");
  -*/
  +   **/
   continue;
   }
   
  @@ -114,7 +112,7 @@
   if (debug >= 1)
   System.out.println("Property descriptor is '" +
  descriptor + "'");
  -*/
  +   **/
   
   // Identify the relevant setter method (if there is one)
   Method setter = descriptor.getWriteMethod();
  @@ -122,7 +120,7 @@
   /*
   if (debug >= 1)
   System.out.println("No setter method, skipping");
  -*/
  +   **/
   continue;
   }
   
  @@ -135,13 +133,13 @@
   System.out.println("  name='" + name + "', value.class='" +
  (value == null ? "NONE" :
  value.getClass().getName()) + "'");
  -*/
  +   **/
   /*
   if (debug >= 1)
   System.out.println("Setting to " +
  (parameters[0] == null ? "NULL" :
   "'" + parameters[0] + "'"));
  -*/
  +   **/
   
   // Invoke the setter method
   setter.invoke(bean,args);
  @@ -150,7 +148,7 @@
   /*
   if (debug >= 1)
   System.out.println("");
  -*/
  +   **/
   
   }
   
  @@ -162,7 +160,7 @@
* @param target An instance of the bean to populate
* @exception SQLException if an exception is thrown while setting
* property values, populating the bean, or accessing the ResultSet
  - */
  +**/
public static Collection getCollection(Object target, ResultSet resultSet)
   throws SQLException {
   
  @@ -297,20 +295,20 @@
   return ((Collection) list);
}
   
  -/**
  - * Return a ArrayList of beans populated for

cvs commit: jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/search LuceneUtils.java

2002-01-01 Thread husted

husted  02/01/01 05:44:26

  Modified:contrib/scaffold/src/framework/main/org/apache/scaffold/search
LuceneUtils.java
  Log:
  + Modified ModelHelper to extend BaseHelperAction
  + Added BaseHelperAction
  + ModelDetailHelper - update JavaDocs.
  + Added SetModelHelper - standard action to set ModelBean as session attribute.
  + Added RemoveModelHelper - standard action to remove session attribute.
  + Added FindForwardAction - Scan parameters for a matching forward name.
  + ModelResult, ModelResultBase - Change parameter names in signature.
  
  Revision  ChangesPath
  1.3   +23 -24
jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/search/LuceneUtils.java
  
  Index: LuceneUtils.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/search/LuceneUtils.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LuceneUtils.java  28 Dec 2001 13:34:58 -  1.2
  +++ LuceneUtils.java  1 Jan 2002 13:44:26 -   1.3
  @@ -14,19 +14,18 @@
   import org.apache.lucene.search.Hits;
   
   import org.apache.commons.beanutils.BeanUtils;
  -// import org.apache.commons.beanutil.BeanUtils;
   
   import org.apache.scaffold.model.ModelException;
   import org.apache.scaffold.model.ModelPopulateException;
   
   
  -/**
  - * General purpose utility methods related to Hits
  - *
  - * @author Craig R. McClanahan
  - * @author Ted Husted
  - * @version $Revision: 1.2 $ $Date: 2001/12/28 13:34:58 $
  - */
  + /**
  +  * General purpose utility methods related to Hits
  +  *
  +  * @author Craig R. McClanahan
  +  * @author Ted Husted
  +  * @version $Revision: 1.3 $ $Date: 2002/01/01 13:44:26 $
  + **/
public class LuceneUtils {
   
   /**
  @@ -43,7 +42,7 @@
*
* @exception ModelMapException if an exception is thrown while setting
*property values
  - */
  +**/
   public static void populate(Object bean, Document document)
   throws ModelException {
   
  @@ -68,20 +67,20 @@
   }
   
   
  -   /**
  - * Return a ArrayList of hits by looping and calling populate.
  - * No assumptions are made about fields in document. Each is
  - * processed with a separate call to populate. Whatever fields
  - * in each document that match the target bean will be
  - * transferred.
  - *
  - * @param hits The Hits whose documents are to be used
  - * to populate bean properties
  - * @param target An instance of the bean to populate
  - *
  - * @exception ModelMapException if an exception is thrown while setting
  - * property values, populating the bean, or accessing the Hits
  - */
  +/**
  +  * Return a ArrayList of hits by looping and calling populate.
  +  * No assumptions are made about fields in document. Each is
  +  * processed with a separate call to populate. Whatever fields
  +  * in each document that match the target bean will be
  +  * transferred.
  +  *
  +  * @param hits The Hits whose documents are to be used
  +  * to populate bean properties
  +  * @param target An instance of the bean to populate
  +  *
  +  * @exception ModelMapException if an exception is thrown while setting
  +  * property values, populating the bean, or accessing the Hits
  + **/
public static Collection getCollection(Object target, Hits hits)
   throws ModelException {
   
  @@ -162,4 +161,4 @@
* information on the Apache Software Foundation, please see
* .
*
  - */
  +**/
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/model ModelResult.java ModelResultBase.java

2002-01-01 Thread husted

husted  02/01/01 05:44:17

  Modified:contrib/scaffold/src/framework/main/org/apache/scaffold/model
ModelResult.java ModelResultBase.java
  Log:
  + Modified ModelHelper to extend BaseHelperAction
  + Added BaseHelperAction
  + ModelDetailHelper - update JavaDocs.
  + Added SetModelHelper - standard action to set ModelBean as session attribute.
  + Added RemoveModelHelper - standard action to remove session attribute.
  + Added FindForwardAction - Scan parameters for a matching forward name.
  + ModelResult, ModelResultBase - Change parameter names in signature.
  
  Revision  ChangesPath
  1.3   +4 -4  
jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/model/ModelResult.java
  
  Index: ModelResult.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/model/ModelResult.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ModelResult.java  28 Dec 2001 13:34:57 -  1.2
  +++ ModelResult.java  1 Jan 2002 13:44:17 -   1.3
  @@ -18,7 +18,7 @@
* Wrappers for interate and size are provided so that they
* can be accessed as getIterate and getSize.
* @author Ted Husted
  - * @version $Revision: 1.2 $ $Date: 2001/12/28 13:34:57 $
  + * @version $Revision: 1.3 $ $Date: 2002/01/01 13:44:17 $
*/
   public interface ModelResult {
   
  @@ -72,11 +72,11 @@
   
   
   /**
  - * Set the description as "column = key".
  + * Set the description as "field = value".
* @param description1 The attribute description
* @param description2 The value description
*/
  -public void setDescription(String key, String column);
  +public void setDescription(String value, String field);
   
   
   /**
  @@ -166,7 +166,7 @@
*Alternately, this acknowlegement may appear in the software itself,
*if and wherever such third-party acknowlegements normally appear.
*
  - * 4. The names "The Jakarta Project", "Scaffold", and "Apache Software
  + * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
*Foundation" must not be used to endorse or promote products derived
*from this software without prior written permission. For written
*permission, please contact [EMAIL PROTECTED]
  
  
  
  1.3   +8 -8  
jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/model/ModelResultBase.java
  
  Index: ModelResultBase.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/model/ModelResultBase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ModelResultBase.java  28 Dec 2001 13:34:57 -  1.2
  +++ ModelResultBase.java  1 Jan 2002 13:44:17 -   1.3
  @@ -14,7 +14,7 @@
* used "as-is" to manage a collection of beans
* returned from the resource layer.
* @author Ted Husted
  - * @version $Revision: 1.2 $ $Date: 2001/12/28 13:34:57 $
  + * @version $Revision: 1.3 $ $Date: 2002/01/01 13:44:17 $
*/
   public class ModelResultBase implements ModelResult {
   
  @@ -57,7 +57,7 @@
   
   /**
* The search description as a phrase,
  - * ie: column = key
  + * ie: field = value
*/
   private String description = null;
   
  @@ -81,16 +81,16 @@
   
   
   /**
  - * Set the description as "column = key".
  + * Set the description as "field = value".
* @param description1 The attribute description
* @param description2 The value description
*/
  -public void setDescription(String key, String column) {
  -if ((key==null) || ("".equals(key))) {
  -this.description = column + PARAM_EQUALS + PARAM_ANY;
  +public void setDescription(String value, String field) {
  +if ((value==null) || ("".equals(value))) {
  +this.description = field + PARAM_EQUALS + PARAM_ANY;
   }
   else {
  -this.description = column + PARAM_EQUALS + key;
  +this.description = field + PARAM_EQUALS + value;
   }
   }
   
  @@ -265,7 +265,7 @@
*Alternately, this acknowlegement may appear in the software itself,
*if and wherever such third-party acknowlegements normally appear.
*
  - * 4. The names "The Jakarta Project", "Scaffold", and "Apache Software
  + * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
*Foundation" must not be used to endorse or promote products derived
*from this software without prior written permission. For written
*permission, please contact [EMAIL PROTECTED]
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http BaseHelperAction.java FindForwardAction.java RemoveAttribute.java SetModelHelper.java ContinueAction.java HelperAction.java MasterDetailHelper.java ModelHelper.java RelayAction.java

2002-01-01 Thread husted

husted  02/01/01 05:44:05

  Modified:contrib/scaffold/src/framework/main/org/apache/scaffold/http
ContinueAction.java HelperAction.java
MasterDetailHelper.java ModelHelper.java
RelayAction.java
  Added:   contrib/scaffold/src/framework/main/org/apache/scaffold/http
BaseHelperAction.java FindForwardAction.java
RemoveAttribute.java SetModelHelper.java
  Log:
  + Modified ModelHelper to extend BaseHelperAction
  + Added BaseHelperAction
  + ModelDetailHelper - update JavaDocs.
  + Added SetModelHelper - standard action to set ModelBean as session attribute.
  + Added RemoveModelHelper - standard action to remove session attribute.
  + Added FindForwardAction - Scan parameters for a matching forward name.
  + ModelResult, ModelResultBase - Change parameter names in signature.
  
  Revision  ChangesPath
  1.3   +7 -7  
jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http/ContinueAction.java
  
  Index: ContinueAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http/ContinueAction.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ContinueAction.java   28 Dec 2001 13:34:57 -  1.2
  +++ ContinueAction.java   1 Jan 2002 13:44:04 -   1.3
  @@ -21,8 +21,8 @@
* Useful for prototyping flow during development,
* and for creating blank forms for new input.
* @author Ted Husted
  - * @version $Revision: 1.2 $ $Date: 2001/12/28 13:34:57 $
  - */
  + * @version $Revision: 1.3 $ $Date: 2002/01/01 13:44:04 $
  +**/
   public final class ContinueAction extends Action {
   
   /**
  @@ -32,7 +32,7 @@
* @param response The HTTP response we are creating
* @exception IOException if an input/output error occurs
* @exception ServletException if a servlet exception occurs
  - */
  +**/
   public ActionForward perform(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
  @@ -47,9 +47,9 @@
   
   
   /*
  - * $Header: 
/home/cvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http/ContinueAction.java,v
 1.2 2001/12/28 13:34:57 vmassol Exp $
  - * $Revision: 1.2 $
  - * $Date: 2001/12/28 13:34:57 $
  + * $Header: 
/home/cvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http/ContinueAction.java,v
 1.3 2002/01/01 13:44:04 husted Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/01/01 13:44:04 $
*
* 
*
  @@ -105,7 +105,7 @@
* information on the Apache Software Foundation, please see
* .
*
  - */
  +**/
   
   
   
  
  
  
  1.3   +12 -12
jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http/HelperAction.java
  
  Index: HelperAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http/HelperAction.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HelperAction.java 28 Dec 2001 13:34:57 -  1.2
  +++ HelperAction.java 1 Jan 2002 13:44:04 -   1.3
  @@ -41,8 +41,8 @@
* and an error condition is detected.
* 
* @author Ted Husted
  - * @version $Revision: 1.2 $ $Date: 2001/12/28 13:34:57 $
  - */
  + * @version $Revision: 1.3 $ $Date: 2002/01/01 13:44:04 $
  +**/
   public class HelperAction extends Action {
   
   
  @@ -54,7 +54,7 @@
* is returned.
* @author  François Rey (FREY - [EMAIL PROTECTED])
* @author  Eric Bariaux (EBRX - [EMAIL PROTECTED])
  - */
  +**/
   public Locale getLocale(HttpServletRequest request) {
   Locale result = null;
   HttpSession session = request.getSession();
  @@ -70,7 +70,7 @@
   
   /**
* Return the application resources for this web application, if any.
  - */
  +**/
   public MessageResources getMessageResources() {
   return servlet.getResources();
   }
  @@ -79,14 +79,14 @@
   /**
* Number of replacement parameters permitted in Struts 1.0.
* See also saveConfirm.
  - */
  +**/
   public static int CONFIRM_MAX = 5; // (Message Key, plus 1..4)
   
   
   /**
* Retrieves a base messages and up to four replaceable
* parameters from a List, and adds them as an ActionError.
  - */
  +**/
   public boolean saveMessage(ActionErrors errors, List messages) {
   if ((messages==null) || (messages.size()==0)) {
   return false;
  @@ -138,7 +138,7 @@
* @param helper The object instantiated from type given as parameter.