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
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 * http://www.apache.org/. * - */ +**/ 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. * p * @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.
cvs commit: jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/model ModelResult.java ModelResultBase.java
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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/search LuceneUtils.java
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 * http://www.apache.org/. * - */ +**/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/http CreateIndex.java
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 * http://www.apache.org/. * - */ +**/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/artimus/WEB-INF/src/java/org/apache/artimus/search Engine.java
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. * p * @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 * http://www.apache.org/. * - */ +**/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 5646] New: - Add constructor for ActionError to take Object[] for parameters
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5646. 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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/scaffold build.html
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 === html body pSee the build-properites.xml for requisite JARs./p ul licommons-beanutils.jar - a href=http://jakarta.apache.org/commons;jakarta.apache.org/commons/a/li licommons-collections.jar - a href=http://jakarta.apache.org/commons;jakarta.apache.org/commons/a/li licommons-digester.jar - a href=http://jakarta.apache.org/commons;jakarta.apache.org/commons/a/li listruts.jar (nightly build) - a href=http://jakarta.apache.org/struts;jakarta.apache.org/struts/a/li lilucene.jar - a href=http://jakarta.apache.org/lucene;jakarta.apache.org/lucene/a/li liservlet.jar/li lijdbc20ext.jar/li lipoolman.jar - a href=http://codestudio.com;codestudio.com/a/li /ul pSee the build-properites.xml for optional resources./p ul licactus.jar - a href=http://jakarta.apache.org/cactus;jakarta.apache.org/cactus/a/li licactus.ant.jar - a href=http://jakarta.apache.org/cactus;jakarta.apache.org/cactus/a/li lijunit.jar - a href=http://junit.org/;junit.org/a/li licommons-httpclient.jar - a href=http://jakarta.apache.org/commons;jakarta.apache.org/commons/a/li liaspectjrt.jar/li /ul pAlso these tld's from the Struts distribution (above)/p ul listruts-bean.tld/li listruts-html.tld/li listruts-logic.tld/li /ul /body /html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/artimus/WEB-INF build.xml status.txt
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 @@ !-- @author Ted Husted -@version $Revision: 1.1 $ $Date: 2001/11/10 12:04:12 $ +@version $Revision: 1.2 $ $Date: 2002/01/01 15:06:23 $ -- -project name=artimus basedir=. default=compile +project name=artimus basedir=. default=project property name=project.title value=Artimus/ -property name=project.version value=1.0/ +property name=project.version value=0.2/ property name=dist.name value=artimus/ !-- Build working classpath -- path id=project.class.path pathelement path =lib/commons-digester.jar/ +pathelement path =lib/commons-beanutils.jar/ +pathelement path =lib/commons-collections.jar/ pathelement path =lib/lucene.jar/ pathelement path =lib/poolman.jar/ pathelement path =lib/scaffold.jar/ 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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/artimus/WEB-INF/lib index.html
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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/scaffold build.html
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 @@ pSee the build-properites.xml for requisite JARs./p ul -licommons-beanutils.jar - a href=http://jakarta.apache.org/commons;jakarta.apache.org/commons/a/li -licommons-collections.jar - a href=http://jakarta.apache.org/commons;jakarta.apache.org/commons/a/li -licommons-digester.jar - a href=http://jakarta.apache.org/commons;jakarta.apache.org/commons/a/li -listruts.jar (nightly build) - a href=http://jakarta.apache.org/struts;jakarta.apache.org/struts/a/li -lilucene.jar - a href=http://jakarta.apache.org/lucene;jakarta.apache.org/lucene/a/li +licommons-beanutils.jar - a href=http://jakarta.apache.org/builds/jakarta-commons/release/commons-beanutils/v1.2/;Jakarta Commons BeanUtils 1.2/a/li +licommons-collections.jar - a href=http://jakarta.apache.org/builds/jakarta-commons/release/commons-collections/v1.0/;Jakarta Commons Collections 1.0/a/li +licommons-digester.jar - a href=http://jakarta.apache.org/builds/jakarta-commons/release/commons-digester/v1.1.1/;Jakarta Commons Digester 1.1.1/a/li +listruts.jar - a href=http://jakarta.apache.org/builds/jakarta-struts/nightly/;Jakarta Struts nightly build/a/li +lilucene.jar - a href=http://jakarta.apache.org/builds/jakarta-lucene/release/v1.2-rc2/;Jakarta Lucene 1.2 RC 2/a/li +lipoolman.jar - a href=http://codestudio.com/#download;PoolMan 2.0.4/a/li liservlet.jar/li lijdbc20ext.jar/li -lipoolman.jar - a href=http://codestudio.com;codestudio.com/a/li /ul pSee the build-properites.xml for optional resources./p ul -licactus.jar - a href=http://jakarta.apache.org/cactus;jakarta.apache.org/cactus/a/li -licactus.ant.jar - a href=http://jakarta.apache.org/cactus;jakarta.apache.org/cactus/a/li -lijunit.jar - a href=http://junit.org/;junit.org/a/li -licommons-httpclient.jar - a href=http://jakarta.apache.org/commons;jakarta.apache.org/commons/a/li +licactus.jar - a href=http://jakarta.apache.org/builds/jakarta-cactus/release/v1.2/;Jakarta Cactus 1.2/a/li +licactus.ant.jar - a href=http://jakarta.apache.org/builds/jakarta-cactus/release/v1.2/;Jakarta Cactus Ant 1.2/a/li +lijunit.jar - a href=http://junit.org/;Junit 3.7 (select download link)/a/li +licommons-httpclient.jar - a href=http://jakarta.apache.org/builds/jakarta-commons/release/commons-httpclient/v2.0/;Jakarta Commons HttpClient 2.0/a/li liaspectjrt.jar/li /ul -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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. -- 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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/artimus/WEB-INF web.xml build.html
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 @@ servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name - param-valueApplicationResources/param-value + param-valueapplication/param-value /init-param init-param param-nameconfig/param-name 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 @@ licommons-beanutils.jar - a href=http://jakarta.apache.org/builds/jakarta-commons/release/commons-beanutils/v1.2/;Jakarta Commons BeanUtils 1.2/a/li licommons-collections.jar - a href=http://jakarta.apache.org/builds/jakarta-commons/release/commons-collections/v1.0/;Jakarta Commons Collections 1.0/a/li licommons-digester.jar - a href=http://jakarta.apache.org/builds/jakarta-commons/release/commons-digester/v1.1.1/;Jakarta Commons Digester 1.1.1/a/li +liscaffold.jar - a href=http://jakarta.apache.org/builds/jakarta-struts/nightly/;Jakarta Struts nightly build (see contrib folder)/a/li listruts.jar - a href=http://jakarta.apache.org/builds/jakarta-struts/nightly/;Jakarta Struts nightly build/a/li lilucene.jar - a href=http://jakarta.apache.org/builds/jakarta-lucene/release/v1.2-rc2/;Jakarta Lucene 1.2 RC 2/a/li lipoolman.jar - a href=http://codestudio.com/#download;PoolMan 2.0.4/a/li -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/artimus/WEB-INF/src/conf application.properties
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=ul errors.footer=/ulhr errors.required=li{0} is required./li error.detail=li{0}/li error.general=libThe process did not complete. Details should follow./b/li # -- data -- data.access.denied=liAccess denied./li data.access.error=liUnable to access database./li data.access.empty=liRequested records were not found./li data.record.inserted=liRecord {0} inserted./li data.record.updated=liRecord {0} updated./li data.record.deleted=liRecord {0} deleted./li # -- access --- access.missing.parameter=liMissing parameter./li # -- rss --- rss.access.error=liUnable to access channel resource. Please try again later./li -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/artimus/WEB-INF/src/conf Resources.properties
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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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 a href=mailto:[EMAIL PROTECTED];Ted Husted/a @author a href=mailto:[EMAIL PROTECTED];Vincent Massol/a -@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 $ = -- project name=Scaffold default=dist basedir=. @@ -135,6 +135,10 @@ property name=target.sample.name value=${project.name.file}-sample/ property name=target.sample.dir value=${target.dir}/ +!-- Name of the source zip that is included in the main scaffold zip -- +property name=target.source.name value=${project.name.file}-src/ +property name=target.source.dir value=${target.dir}/ + !-- Names of deliverables @@ -395,7 +399,21 @@ Generate distributables -- -target name=dist depends=jar,javadoc,sample +target name=dist depends=jar,javadoc,sample + description=Generates all distributables (binary, source, sample) + +!-- Copy the source to the distribution area so that they are included + in the release -- +mkdir dir=${target.source.dir}/ + +zip zipfile=${target.source.dir}/${target.source.name}.zip +fileset dir=. +include name=conf/**/ +include name=src/**/ +include name=*/ +exclude name=build.properties/ +/fileset +/zip mkdir dir=${dist.main.dir}/ @@ -410,6 +428,9 @@ zipfileset dir=. prefix=doc include name=LICENSE/ /zipfileset +fileset dir=${target.source.dir} +include name=${target.source.name}.zip/ +/fileset /zip /target -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [scaffold] New build + a few updates
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: mailto:struts-dev- [EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-dev- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/contrib/scaffold status.txt
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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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. -- 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 a href=mailto:[EMAIL PROTECTED];Ted Husted/a @author a href=mailto:[EMAIL PROTECTED];Vincent Massol/a -@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 $ = -- project name=Scaffold default=dist basedir=. @@ -135,6 +135,10 @@ property name=target.sample.name value=${project.name.file}-sample/ property name=target.sample.dir value=${target.dir}/ +!-- Name of the source zip that is included in the main scaffold zip -- +property name=target.source.name value=${project.name.file}-src/ +property name=target.source.dir value=${target.dir}/ + !-- Names of deliverables @@ -395,7 +399,21 @@ Generate distributables -- -target name=dist depends=jar,javadoc,sample +target name=dist depends=jar,javadoc,sample + description=Generates all distributables (binary, source, sample) + +!-- Copy the source to the distribution area so that they are included + in the release -- +mkdir dir=${target.source.dir}/ + +zip zipfile=${target.source.dir}/${target.source.name}.zip +fileset dir=. +include name=conf/**/ +include name=src/**/ +include name=*/ +exclude name=build.properties/ +/fileset +/zip mkdir dir=${dist.main.dir}/ @@ -410,6 +428,9 @@ zipfileset dir=. prefix=doc include name=LICENSE/ /zipfileset +fileset dir=${target.source.dir} +include name=${target.source.name}.zip/ +/fileset /zip /target -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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 a href=mailto:[EMAIL PROTECTED];Ted Husted/a @author a href=mailto:[EMAIL PROTECTED];Vincent Massol/a -@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 $ == == = -- project name=Scaffold default=dist basedir=. @@ -135,6 +135,10 @@ property name=target.sample.name value=${project.name.file}-sample/ property name=target.sample.dir value=${target.dir}/ +!-- Name of the source zip that is included in the main scaffold zip -- +property name=target.source.name value=${project.name.file}-src/ +property name=target.source.dir value=${target.dir}/ + !-- Names of deliverables @@ -395,7 +399,21 @@ Generate distributables -- -target name=dist depends=jar,javadoc,sample +target name=dist depends=jar,javadoc,sample + description=Generates all distributables (binary, source, sample) + +!-- Copy the source to the distribution area so that they are included + in the release -- +mkdir dir=${target.source.dir}/ + +zip zipfile=${target.source.dir}/${target.source.name}.zip +fileset dir=. +include name=conf/**/ +include name=src/**/ +include name=*/ +exclude name=build.properties/ +/fileset +/zip mkdir dir=${dist.main.dir}/ @@ -410,6 +428,9 @@ zipfileset dir=. prefix=doc include name=LICENSE/ /zipfileset +fileset dir=${target.source.dir} +include name=${target.source.name}.zip/ +/fileset /zip /target -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-dev- [EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-dev- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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. 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 a href=mailto:[EMAIL PROTECTED];Ted Husted/a @author a href=mailto:[EMAIL PROTECTED];Vincent Massol/a -@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 $ = -- project name=Scaffold default=dist basedir=. @@ -135,6 +135,10 @@ property name=target.sample.name value=${project.name.file}-sample/ property name=target.sample.dir value=${target.dir}/ +!-- Name of the source zip that is included in the main scaffold zip -- +property name=target.source.name value=${project.name.file}-src/ +property name=target.source.dir value=${target.dir}/ + !-- Names of deliverables @@ -395,7 +399,21 @@ Generate distributables -- -target name=dist depends=jar,javadoc,sample +target name=dist depends=jar,javadoc,sample + description=Generates all distributables (binary, source, sample) + +!-- Copy the source to the distribution area so that they are included + in the release -- +mkdir dir=${target.source.dir}/ + +zip zipfile=${target.source.dir}/${target.source.name}.zip +fileset dir=. +include name=conf/**/ +include name=src/**/ +include name=*/ +exclude name=build.properties/ +/fileset +/zip mkdir dir=${dist.main.dir}/ @@ -410,6 +428,9 @@ zipfileset dir=. prefix=doc include name=LICENSE/ /zipfileset +fileset dir=${target.source.dir} +include name=${target.source.name}.zip/ +/fileset /zip /target -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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 a href=mailto:[EMAIL PROTECTED];Ted Husted/a @author a href=mailto:[EMAIL PROTECTED];Vincent Massol/a -@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 $ == == = -- project name=Scaffold default=dist basedir=. @@ -135,6 +135,10 @@ property name=target.sample.name value=${project.name.file}-sample/ property name=target.sample.dir value=${target.dir}/ +!-- Name of the source zip that is included in the main scaffold zip -- +property name=target.source.name value=${project.name.file}-src/ +property name=target.source.dir value=${target.dir}/ + !-- Names of deliverables @@ -395,7 +399,21 @@ Generate distributables -- -target name=dist depends=jar,javadoc,sample +target name=dist depends=jar,javadoc,sample + description=Generates all distributables (binary, source, sample) + +!-- Copy the source to the distribution area so that they are included + in the release -- +mkdir dir=${target.source.dir}/ + +zip zipfile=${target.source.dir}/${target.source.name}.zip +fileset dir=. +include name=conf/**/ +include name=src/**/ +include name=*/ +exclude name=build.properties/ +/fileset +/zip mkdir dir=${dist.main.dir}/ @@ -410,6 +428,9 @@ zipfileset dir=. prefix=doc include name=LICENSE/ /zipfileset +fileset dir=${target.source.dir} +include name=${target.source.name}.zip/ +/fileset /zip /target -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-dev- [EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-dev- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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 a href=mailto:[EMAIL PROTECTED];Ted Husted/a @author a href=mailto:[EMAIL PROTECTED];Vincent Massol/a -@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 $ == == = -- project name=Scaffold default=dist basedir=. @@ -135,6 +135,10 @@ property name=target.sample.name value=${project.name.file}-sample/ property name=target.sample.dir value=${target.dir}/ +!-- Name of the source zip that is included in the main scaffold zip -- +property name=target.source.name value=${project.name.file}-src/ +property name=target.source.dir value=${target.dir}/ + !-- Names of deliverables @@ -395,7 +399,21 @@ Generate distributables -- -target name=dist depends=jar,javadoc,sample +target name=dist depends=jar,javadoc,sample + description=Generates all distributables (binary, source, sample) + +!-- Copy the source to the distribution area so that they are included + in the release -- +mkdir dir=${target.source.dir}/ + +zip zipfile=${target.source.dir}/${target.source.name}.zip +fileset dir=. +include name=conf/**/ +include name=src/**/ +include name=*/ +exclude name=build.properties/ +/fileset +/zip mkdir dir=${dist.main.dir}/ @@ -410,6 +428,9 @@ zipfileset dir=. prefix=doc include name=LICENSE/ /zipfileset +fileset dir=${target.source.dir} +include name=${target.source.name}.zip/ +/fileset /zip
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. -- 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 a href=mailto:[EMAIL PROTECTED];Ted Husted/a @author a href=mailto:[EMAIL PROTECTED];Vincent Massol/a -@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 $ == == = -- project name=Scaffold default=dist basedir=. @@ -135,6 +135,10 @@ property name=target.sample.name value=${project.name.file}-sample/ property name=target.sample.dir value=${target.dir}/ +!-- Name of the source zip that is included in the main scaffold zip -- +property name=target.source.name value=${project.name.file}-src/ +property name=target.source.dir value=${target.dir}/ + !-- Names of deliverables @@ -395,7 +399,21 @@ Generate distributables -- -target name=dist depends=jar,javadoc,sample +target name=dist depends=jar,javadoc,sample + description=Generates all distributables (binary, source, sample) + +!-- Copy the source to the distribution area so that they are included + in the release -- +mkdir dir=${target.source.dir}/ + +zip
RE: cvs commit: jakarta-struts/contrib/scaffold build.xml
-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 a href=mailto:[EMAIL PROTECTED];Ted Husted/a @author a href=mailto:[EMAIL PROTECTED];Vincent Massol/a -@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 $ == == = -- project name=Scaffold default=dist basedir=. @@ -135,6 +135,10 @@ property name=target.sample.name value=${project.name.file}-sample/ property name=target.sample.dir value=${target.dir}/ +!-- Name of the source zip that is included in the main scaffold zip -- +property name=target.source.name value=${project.name.file}-src/ +property name=target.source.dir value=${target.dir}/ + !-- Names of deliverables @@ -395,7 +399,21 @@ Generate distributables -- -
Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 5648] New: - Example tour error: CheckLoginTag
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5648. 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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 5649] New: - Missing jars in binary downloads
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5649. 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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 5649] - Missing jars in binary downloads
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5649. 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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
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 a href=mailto:[EMAIL PROTECTED];Ted Husted/a @author a href=mailto:[EMAIL PROTECTED];Vincent Massol/a -@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 $ == == = -- project name=Scaffold default=dist basedir=. @@ -135,6 +135,10 @@ property name=target.sample.name value=${project.name.file}-sample/ property name=target.sample.dir value=${target.dir}/ +!-- Name of the source zip that is included in the main scaffold zip -- +property name=target.source.name value=${project.name.file}-src/ +property name=target.source.dir value=${target.dir}/ + !-- Names of deliverables @@ -395,7 +399,21 @@ Generate distributables -- -target name=dist depends=jar,javadoc,sample +target name=dist depends=jar,javadoc,sample + description=Generates all distributables (binary, source, sample) + +!-- Copy the source to the distribution area so that they are included + in the release -- +mkdir dir=${target.source.dir}/ + +zip zipfile=${target.source.dir}/${target.source.name}.zip +fileset dir=. +include name=conf/**/ +include name=src/**/ +include name=*/ +exclude name=build.properties/ +/fileset +/zip mkdir dir=${dist.main.dir}/ @@ -410,6 +428,9 @@ zipfileset dir=. prefix=doc include name=LICENSE/ /zipfileset +fileset dir=${target.source.dir} +include name=${target.source.name}.zip/ +/fileset /zip /target -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-dev- [EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-dev- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For
DO NOT REPLY [Bug 5649] - Missing jars in binary downloads
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5649. 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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need Solution
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) Dec 31, 2001 6:42:22 PM IST Notice Management Application Poller not started for production server. Dec 31, 2001 6:42:22 PM IST Notice WebLogicServer ListenThread listening on port 7001 Dec 31, 2001 6:42:23 PM IST Notice WebLogicServer Started WebLogic Admin Server myserver for domain testDomain running in Production Mode Dec 31, 2001 6:44:09 PM IST Error HTTP [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) 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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need Solution
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) Dec 31, 2001 6:42:22 PM IST Notice Management Application Poller not started for production server. Dec 31, 2001 6:42:22 PM IST Notice WebLogicServer ListenThread listening on port 7001 Dec 31, 2001 6:42:23 PM IST Notice WebLogicServer Started WebLogic Admin Server myserver for domain testDomain running in Production Mode Dec 31, 2001 6:44:09 PM IST Error HTTP [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) 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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Building Struts 1.0.1rc1: Missing xalan
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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]