Yes, I got the latest stable release source code. I guess Struts-1.2 is not released yet. Only nightly builds are available?
Abhishek On Tue, 2004-05-18 at 11:15, Matthias Wessendorf wrote: > mmm, strange > > http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/st > ruts/util/ > contains no GenericDataSource.java > > GenericDS was removed, like joe tolds. > (for struts-1.2) > > did you get CVS-based sources (nightly_build (1.2))? > > or did you load src of struts-1.1, which contains legacy.jar (incl. > GenericDS) > > i guess you have 1.1 > (public class GenericDataSource extends > org.apache.struts.legacy.GenericDataSource ... ) > > Cheers, > Matze > > > > -----Original Message----- > > From: Abhishek Khandelwal [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, May 18, 2004 7:59 PM > > To: Struts Developers List > > Subject: Re: building struts from source code > > > > > > 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/Generic > > DataSource.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/Actio > > nServlet.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/TilesU > > tilImpl.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/TilesU > > tilImpl.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] > > > > > --------------------------------------------------------------------- > 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]