No, it does not work. I get few error messages in terms of genericDataSource class. So the release version needs struts-legacy.jar
see the error messages below--- ------------------------------------------------------------------------------------------ /usr/local/struts/src/src/share/org/apache/struts/util/GenericDataSource.java:78: package org.apache.struts.legacy does not exist [javac] public class GenericDataSource extends org.apache.struts.legacy.GenericDataSource { [javac] ^ [javac] /usr/local/struts/src/src/share/org/apache/struts/action/ActionServlet.java:779: cannot resolve symbol [javac] symbol : method close () [javac] location: class org.apache.struts.util.GenericDataSource [javac] ((GenericDataSource) dataSource).close(); ---------------------------------------------------------------------------------------------- I have one more question regarding building. When I build using ant dist, I get lots of warning messages. What is the reason behind those messages? Here is one of the warning messages... i get almost 200 of such messages. ----------------------------------------------------------------------------------------------- /usr/local/struts/src/src/share/org/apache/struts/taglib/html/BaseInputTag.java:242: warning: EVAL_BODY_TAG in javax.servlet.jsp.tagext.BodyTag has been deprecated [javac] return (EVAL_BODY_TAG); [javac] ^ [javac] /usr/local/struts/src/src/share/org/apache/struts/taglib/html/BaseFieldTag.java:190: warning: EVAL_BODY_TAG in javax.servlet.jsp.tagext.BodyTag has been deprecated [javac] return (EVAL_BODY_TAG); /usr/local/struts/src/src/share/org/apache/struts/tiles/TilesUtilImpl.java:193: warning: org.apache.struts.tiles.ComponentDefinitionsFactory in org.apache.struts.tiles has been deprecated [javac] if( factory instanceof ComponentDefinitionsFactory ) [javac] ^ [javac] /usr/local/struts/src/src/share/org/apache/struts/tiles/TilesUtilImpl.java:195: warning: org.apache.struts.tiles.ComponentDefinitionsFactory in org.apache.struts.tiles has been deprecated [javac] factory = new ComponentDefinitionsFactoryWrapper( (ComponentDefinitionsFactory)factory ); ------------------------------------------------------------------------------------------------ Thanks Abhishek On Tue, 2004-05-18 at 09:24, Joe Germuska wrote: > At 6:38 PM -0700 5/17/04, Abhishek Khandelwal wrote: > >Hi, > >I have another issue with building struts. > > > >The source code does not come with struts-legacy.jar > >in contrib/struts-legacy/dist/ directory > > > >But the top level build.xml and build.properties file needs > >struts-legacy.jar. > > > >What is the way to do it? Is it a bug in struts released source code? > > All the files in contrib/struts-legacy were removed from CVS about 9 > months ago. > > http://cvs.apache.org/viewcvs.cgi/jakarta-struts/contrib/struts-legacy/src/java/org/apache/struts/legacy/Attic/ > > I don't know exactly why that was done, but I wouldn't think you'd > actually need them to compile Struts. They are just provided as a > way to provide minimal support to people who rely on Struts to manage > their JDBC datasources -- a strategy which is deprecated as these > days most servlet containers provide the same functionality better. > > If you just need the struts-legacy JAR, you can get it from > http://ibiblio.org/maven/struts/jars/ > > Probably those lines should just be removed from the build.xml and > build.properties -- maybe you can do that and report on whether it > still builds! > > Joe --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]