I am sorry for posting this question second time on this list. Earlier I posted this question before I subscribed to the list. So I am thinking that I may have missed if any one replied to this email.
Now I am subscribed to the list. Thanks for help! ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 27, 2003 7:43 PM Subject: Unable to compile > Hi , > > I have recently downloaded the struts source distribution from CVS > using anonymous login. I have also downloaded all the required jar files > for the building the Struts source. I have modified the sample > build.properties file to point to right locations for the required jar > files. > > I am using Eclipse 2.1 and in built Ant plugin to build. > > I am getting following errors when I try to build. > > What am I missing? > > Thanks a lot for the help! > > prepare.library: > > [copy] Warning: struts-config_1_2.dtd modified in the future. > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library\classes\org\apache > \struts\resources > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > compile.library: > > [javac] Warning: org\apache\struts\action\Action.java modified in the > future. > > [javac] Warning: org\apache\struts\action\ActionMessage.java modified in > the future. > > [javac] Warning: org\apache\struts\action\ActionResources.properties > modified in the future. > > [javac] Warning: org\apache\struts\action\ActionServlet.java modified in > the future. > > [javac] Warning: org\apache\struts\action\ActionServletWrapper.java > modified in the future. > > [javac] Warning: org\apache\struts\action\ExceptionHandler.java modified > in the future. > > [javac] Warning: org\apache\struts\action\RequestProcessor.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\DispatchAction.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\ForwardAction.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\IncludeAction.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\LocalStrings.properties > modified in the future. > > [javac] Warning: org\apache\struts\actions\LookupDispatchAction.java > modified in the future. > > [javac] Warning: org\apache\struts\actions\SwitchAction.java modified in > the future. > > [javac] Warning: org\apache\struts\config\ActionConfig.java modified in > the future. > > [javac] Warning: org\apache\struts\config\ConfigHelper.java modified in > the future. > > [javac] Warning: org\apache\struts\config\ConfigHelperInterface.java > modified in the future. > > [javac] Warning: org\apache\struts\config\ControllerConfig.java modified > in the future. > > [javac] Warning: org\apache\struts\config\impl\ModuleConfigImpl.java > modified in the future. > > [javac] Warning: org\apache\struts\config\ModuleConfigFactory.java > modified in the future. > > [javac] Warning: org\apache\struts\Globals.java modified in the future. > > [javac] Warning: org\apache\struts\taglib\bean\CookieTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\DefineTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\HeaderTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\IncludeTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\MessageTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\package.html modified in > the future. > > [javac] Warning: org\apache\struts\taglib\bean\PageTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\bean\ParameterTag.java > modified in the future. > > [javac] Warning: org\apache\struts\taglib\bean\ResourceTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\SizeTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\bean\StrutsTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\WriteTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\html\BaseFieldTag.java > modified in the future. > > [javac] Warning: org\apache\struts\taglib\html\BaseHandlerTag.java > modified in the future. > > [javac] Warning: org\apache\struts\taglib\html\BaseTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\html\CheckboxTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\html\ErrorsTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\html\FormTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\html\HiddenTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\html\HtmlTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\html\ImageTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\html\ImgTag.java modified in > the future. > > [javac] Warning: > org\apache\struts\taglib\html\JavascriptValidatorTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\html\LinkTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\html\MessagesTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\html\MultiboxTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\html\OptionsCollectionTag.java > modified in the future. > > [javac] Warning: org\apache\struts\taglib\html\OptionsTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\html\OptionTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\html\RewriteTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\html\SelectTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\logic\CompareTagBase.java > modified in the future. > > [javac] Warning: org\apache\struts\taglib\logic\EmptyTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\logic\ForwardTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\logic\IterateTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\logic\MatchTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\logic\MessagesPresentTag.java > modified in the future. > > [javac] Warning: org\apache\struts\taglib\logic\package.html modified in > the future. > > [javac] Warning: org\apache\struts\taglib\logic\PresentTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\logic\RedirectTag.java > modified in the future. > > [javac] Warning: org\apache\struts\taglib\TagUtils.java modified in the > future. > > [javac] Warning: org\apache\struts\taglib\tiles\DefinitionTag.java > modified in the future. > > [javac] Warning: org\apache\struts\taglib\tiles\InsertTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\tiles\PutListTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\tiles\PutTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\tiles\util\TagUtils.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\ActionController.java modified > in the future. > > [javac] Warning: > org\apache\struts\tiles\actions\DefinitionDispatcherAction.java modified > in the future. > > [javac] Warning: org\apache\struts\tiles\actions\TilesAction.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\beans\MenuItem.java modified in > the future. > > [javac] Warning: org\apache\struts\tiles\beans\SimpleMenuItem.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\ComponentContext.java modified > in the future. > > [javac] Warning: org\apache\struts\tiles\ComponentDefinition.java > modified in the future. > > [javac] Warning: > org\apache\struts\tiles\definition\ComponentDefinitionsFactoryWrapper.ja > va modified in the future. > > [javac] Warning: > org\apache\struts\tiles\definition\ReloadableDefinitionsFactory.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\DefinitionAttribute.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\DefinitionNameAttribute.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\DefinitionsFactoryConfig.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\DefinitionsUtil.java modified > in the future. > > [javac] Warning: org\apache\struts\tiles\DirectStringAttribute.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\package.html modified in the > future. > > [javac] Warning: org\apache\struts\tiles\PathAttribute.java modified in > the future. > > [javac] Warning: org\apache\struts\tiles\TilesPlugin.java modified in > the future. > > [javac] Warning: org\apache\struts\tiles\TilesUtil.java modified in the > future. > > [javac] Warning: org\apache\struts\tiles\TilesUtilImpl.java modified in > the future. > > [javac] Warning: org\apache\struts\tiles\TilesUtilStrutsImpl.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\TilesUtilStrutsModulesImpl.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\UntypedAttribute.java modified > in the future. > > [javac] Warning: > org\apache\struts\tiles\xmlDefinition\I18nFactorySet.java modified in > the future. > > [javac] Warning: org\apache\struts\tiles\xmlDefinition\XmlAttribute.java > modified in the future. > > [javac] Warning: org\apache\struts\tiles\xmlDefinition\XmlParser.java > modified in the future. > > [javac] Warning: > org\apache\struts\upload\DiskMultipartRequestHandler.java modified in > the future. > > [javac] Warning: org\apache\struts\util\LabelValueBean.java modified in > the future. > > [javac] Warning: org\apache\struts\util\MessageResources.java modified > in the future. > > [javac] Warning: org\apache\struts\util\RequestUtils.java modified in > the future. > > [javac] Warning: org\apache\struts\util\TokenProcessor.java modified in > the future. > > [javac] Warning: > org\apache\struts\validator\DynaValidatorActionForm.java modified in the > future. > > [javac] Warning: org\apache\struts\validator\DynaValidatorForm.java > modified in the future. > > [javac] Warning: org\apache\struts\validator\FieldChecks.java modified > in the future. > > [javac] Warning: org\apache\struts\validator\Resources.java modified in > the future. > > [javac] Warning: org\apache\struts\validator\ValidatorForm.java modified > in the future. > > [javac] Warning: org\apache\struts\validator\validwhen\ValidWhen.java > modified in the future. > > [javac] Warning: > org\apache\struts\validator\validwhen\ValidWhenLexer.java modified in > the future. > > [javac] Warning: org\apache\struts\validator\validwhen\ValidWhenParser.g > modified in the future. > > [javac] Warning: > org\apache\struts\validator\validwhen\ValidWhenParser.java modified in > the future. > > [javac] Warning: > org\apache\struts\validator\validwhen\ValidWhenParserTokenTypes.java > modified in the future. > > [javac] Warning: > org\apache\struts\validator\validwhen\ValidWhenParserTokenTypes.txt > modified in the future. > > [javac] Compiling 264 source files to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library\classes > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\actio > n\ActionServlet.java:116: cannot resolve symbol > > [javac] symbol : class InputSource > > [javac] location: package sax > > [javac] import org.xml.sax.InputSource; > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\actio > n\ActionServlet.java:117: cannot resolve symbol > > [javac] symbol : class SAXException > > [javac] location: package sax > > [javac] import org.xml.sax.SAXException; > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:71: cannot resolve symbol > > [javac] symbol : class Attributes > > [javac] location: package sax > > [javac] import org.xml.sax.Attributes; > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:289: org.xml.sax.Attributes is not public in > org.xml.sax; cannot be accessed from outside package > > [javac] public void begin(Attributes attributes) throws Exception { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:309: org.xml.sax.Attributes is not public in > org.xml.sax; cannot be accessed from outside package > > [javac] public void begin(Attributes attributes) throws Exception { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:329: org.xml.sax.Attributes is not public in > org.xml.sax; cannot be accessed from outside package > > [javac] public void begin(Attributes attributes) throws Exception { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:349: org.xml.sax.Attributes is not public in > org.xml.sax; cannot be accessed from outside package > > [javac] public Object createObject(Attributes attributes) { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\tiles > \xmlDefinition\I18nFactorySet.java:85: org.xml.sax.SAXException is not > public in org.xml.sax; cannot be accessed from outside package > > [javac] import org.xml.sax.SAXException; > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\tiles > \xmlDefinition\XmlParser.java:72: org.xml.sax.SAXException is not public > in org.xml.sax; cannot be accessed from outside package > > [javac] import org.xml.sax.SAXException; > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\tiles > \xmlDefinition\XmlParser.java:318: org.xml.sax.SAXException is not > public in org.xml.sax; cannot be accessed from outside package > > [javac] public void parse( InputStream in, XmlDefinitionsSet > definitions ) throws IOException, SAXException > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\actio > n\ActionServlet.java:702: cannot access > org.xml.sax.helpers.DefaultHandler > > [javac] file org\xml\sax\helpers\DefaultHandler.class not found > > [javac] digester.push(config); > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\actio > n\ActionServlet.java:759: cannot resolve symbol > > [javac] symbol : class InputSource > > [javac] location: class org.apache.struts.action.ActionServlet > > [javac] InputSource is = new InputSource(url.toExternalForm()); > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\actio > n\ActionServlet.java:759: cannot resolve symbol > > [javac] symbol : class InputSource > > [javac] location: class org.apache.struts.action.ActionServlet > > [javac] InputSource is = new InputSource(url.toExternalForm()); > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\actio > n\ActionServlet.java:768: cannot resolve symbol > > [javac] symbol : class SAXException > > [javac] location: class org.apache.struts.action.ActionServlet > > [javac] } catch (SAXException e) { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\actio > n\ActionServlet.java:956: operator != cannot be applied to > org.apache.commons.digester.Digester,<null> > > [javac] if (configDigester != null) { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\actio > n\ActionServlet.java:1128: cannot resolve symbol > > [javac] symbol : class SAXException > > [javac] location: class org.apache.struts.action.ActionServlet > > [javac] } catch (SAXException e) { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\uploa > d\MultipartRequestWrapper.java:95: warning: > isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest > has been deprecated > > [javac] public class MultipartRequestWrapper implements > HttpServletRequest { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\uploa > d\MultipartRequestWrapper.java:95: warning: > getRealPath(java.lang.String) in javax.servlet.ServletRequest has been > deprecated > > [javac] public class MultipartRequestWrapper implements > HttpServletRequest { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\uploa > d\MultipartRequestWrapper.java:239: warning: > getRealPath(java.lang.String) in javax.servlet.ServletRequest has been > deprecated > > [javac] return request.getRealPath(path); > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\uploa > d\MultipartRequestWrapper.java:310: warning: > isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest > has been deprecated > > [javac] return request.isRequestedSessionIdFromUrl(); > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:289: warning: begin(org.xml.sax.Attributes) in > org.apache.commons.digester.Rule has been deprecated > > [javac] public void begin(Attributes attributes) throws Exception { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:291: cannot resolve symbol > > [javac] symbol : method getValue (java.lang.String) > > [javac] location: class org.xml.sax.Attributes > > [javac] dsc.addProperty(attributes.getValue("property"), > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:292: cannot resolve symbol > > [javac] symbol : method getValue (java.lang.String) > > [javac] location: class org.xml.sax.Attributes > > [javac] attributes.getValue("value")); > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:309: warning: begin(org.xml.sax.Attributes) in > org.apache.commons.digester.Rule has been deprecated > > [javac] public void begin(Attributes attributes) throws Exception { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:311: cannot resolve symbol > > [javac] symbol : method getValue (java.lang.String) > > [javac] location: class org.xml.sax.Attributes > > [javac] plugInConfig.addProperty(attributes.getValue("property"), > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:312: cannot resolve symbol > > [javac] symbol : method getValue (java.lang.String) > > [javac] location: class org.xml.sax.Attributes > > [javac] attributes.getValue("value")); > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:329: warning: begin(org.xml.sax.Attributes) in > org.apache.commons.digester.Rule has been deprecated > > [javac] public void begin(Attributes attributes) throws Exception { > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:330: cannot resolve symbol > > [javac] symbol : method getValue (java.lang.String) > > [javac] location: class org.xml.sax.Attributes > > [javac] String className = attributes.getValue("type"); > > [javac] ^ > > [javac] C:\Program > Files\eclipse\workspace\jakarta-struts\src\share\org\apache\struts\confi > g\ConfigRuleSet.java:352: cannot resolve symbol > > [javac] symbol : method getValue (java.lang.String) > > [javac] location: class org.xml.sax.Attributes > > [javac] String className = attributes.getValue("className"); > > [javac] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]