voyent
Compile Errors during Building Address sample for Tomcat 5.5  XML
Forum Index -> General Help
Author Message
shvaddi

Joined: 22/May/2009 00:00:00
Messages: 8
Offline


Hi

I have installed Tomcat 5.5, Ant 1.7, and trying to build Address Sample using ant on jdk1.4 for tomcat5.5

I am getting following errors, Please let me know which library is missing, and how/where to copy the required jar.


--------------------------------------------------------------------------------
COMPILE ERRORS
-------------------------------------------------------------------------------

C:\TOOLS\ICEFACES\SAMPLES\ADDRESS>ant tomcat5.x
Buildfile: build.xml

compile:
[mkdir] Created dir: C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\web\WEB-INF\classes
[mkdir] Created dir: C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\web\WEB-INF\lib
[javac] Compiling 17 source files to C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\web\W
EB-INF\classes
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:35: package com.icesoft.faces.component.ext d
oes not exist
[javac] import com.icesoft.faces.component.ext.HtmlCommandButton;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:36: package com.icesoft.faces.component.ext d
oes not exist
[javac] import com.icesoft.faces.component.ext.HtmlInputText;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:37: package com.icesoft.faces.component.ext d
oes not exist
[javac] import com.icesoft.faces.component.ext.HtmlSelectOneMenu;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:78: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] private HtmlInputText firstNameText = null;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:79: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] private HtmlInputText lastNameText = null;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:80: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] private HtmlInputText cityText = null;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:81: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] private HtmlInputText stateText = null;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:82: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] private HtmlInputText zipText = null;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:89: cannot resolve symbol
[javac] symbol : class HtmlCommandButton
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] private HtmlCommandButton submitButton = null;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:94: cannot resolve symbol
[javac] symbol : class HtmlCommandButton
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public HtmlCommandButton getSubmitButton() {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:98: cannot resolve symbol
[javac] symbol : class HtmlCommandButton
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public void setSubmitButton(HtmlCommandButton submitButton) {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:859: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public HtmlInputText getCityText() {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:863: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public void setCityText(HtmlInputText cityText) {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:867: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public HtmlInputText getFirstNameText() {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:871: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public void setFirstNameText(HtmlInputText firstNameText) {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:875: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public HtmlInputText getLastNameText() {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:879: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public void setLastNameText(HtmlInputText lastNameText) {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:907: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public HtmlInputText getStateText() {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:911: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public void setStateText(HtmlInputText stateText) {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:915: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public HtmlInputText getZipText() {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:919: cannot resolve symbol
[javac] symbol : class HtmlInputText
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] public void setZipText(HtmlInputText zipText) {
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:328: cannot resolve symbol
[javac] symbol : class HtmlSelectOneMenu
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] ((HtmlSelectOneMenu) selectState).requestFocus()
;
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:520: cannot resolve symbol
[javac] symbol : class HtmlSelectOneMenu
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] ((HtmlSelectOneMenu) selectCity).requestFocus();
[javac] ^
[javac] C:\TOOLS\ICEFACES\SAMPLES\ADDRESS\src\com\icesoft\applications\faces
\address\AddressFormProcessor.java:780: cannot resolve symbol
[javac] symbol : class HtmlSelectOneMenu
[javac] location: class com.icesoft.applications.faces.address.AddressFormPr
ocessor
[javac] ((HtmlSelectOneMenu) selectZip).requestFocus();
[javac] ^
[javac] 24 errors

BUILD FAILED
C:\TOOLS\ICEFACES\SAMPLES\etc\build-common.xml:243: The following error occurred
while executing this line:
C:\TOOLS\ICEFACES\SAMPLES\etc\build-common.xml:128: Compile failed; see the comp
iler error output for details.

Total time: 1 second

C:\TOOLS\ICEFACES\SAMPLES\ADDRESS>
shvaddi

Joined: 22/May/2009 00:00:00
Messages: 8
Offline


Hi,

Please let me know if I need to edit/update build-common.xml
mark.collette


Joined: 07/Feb/2005 00:00:00
Messages: 1692
Offline


With ant you typically have to use forward slashes instead of backwards slashes for paths. And is the casing of your path correct? Did you set this in your build.properties file?
[Email]
shvaddi

Joined: 22/May/2009 00:00:00
Messages: 8
Offline


Hi Mark,

I didn't set any property in the following build.properties file.
Please advise for which property I should set the Path?

-----------------------------------------------
BUILD.PROPERTIES
----------------------------------------------
company = ICEsoft Technologies, Inc.
product = ICEfaces

version.primary = x
version.secondary = x
version.tertiary = x

release.type =
-----------------------------------------------
mark.collette


Joined: 07/Feb/2005 00:00:00
Messages: 1692
Offline


Sorry, I guess in the public build there are no properties to set, it's all self-contained.

One thing is that you need JDK 1.5 to build ICEfaces, and second, I'm really suspicious of how your paths are uppercase. It looks like your unzipping tool didn't handle the mixed case properly or something.
[Email]
mirage

Joined: 29/Jun/2008 00:00:00
Messages: 3
Offline


Make sure you have JAVA_HOME set [correctly].
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team