chstath / gss

Automatically exported from code.google.com/p/gss
Other
0 stars 0 forks source link

Cannot Compile the project - Ant Script in Windows #122

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.playing with the javac tag.
2.
3.

What is the expected output? What do you see instead?
the project compile successfully. Gets lots of errors.

What version of the product are you using? On what operating system?
operating system is Windows.
I make the compiler to be jdk1.7 instead of jre.
I set these in the Environment Variables:
classpath point to C:\Program 
Files\Documentum\dctm.jar;C:\Documentum\config;%GWT_HOME%;%GWT_HOME%\gwt-user.ja
r;%GWT_HOME%\gwt-dev.jar;%GWT_HOME%\gwt-servlet.jar;%junit%
GWT_HOME D:\products\DSS 
2012\eclipse-jee-indigo-SR2-win32\eclipse\plugins\com.google.gwt.eclipse.sdkbund
le_2.4.0.v201205021203-rel-r37\gwt-2.4.0
JAVA_HOME "C:\Program Files\Java\jdk1.7.0_05"
junit %JUNIT_HOME%\junit.jar
JUNIT_HOME D:\products\DSS 
2012\eclipse-jee-indigo-SR2-win32\eclipse\plugins\org.junit_4.8.2.v4_8_2_v201103
21-1705

In the eclipse --> Preferences --> Java --> compiler --> Compiler compliance 
level to 1.7
In the eclipse --> Preferences --> Java --> Installed JREs --> set it to 
jdk1.7.0_05

I don't know what else I have to it. I have tried a lot of things, but I 
couldn't make it. I don't what am I missing?

Please provide any additional information below.

Buildfile: D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\build.xml
jars:
javac:
    [javac] Compiling 8 source files to D:\dev\workspaceDSS\DSS_Login\war\com.petris.dataservices.UserLogin\WEB-INF\classes
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteService.java:3: error: package com.google.gwt.core.client does not exist
    [javac] import com.google.gwt.core.client.GWT;
    [javac]                                  ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteService.java:4: error: package com.google.gwt.user.client.rpc does not exist
    [javac] import com.google.gwt.user.client.rpc.RemoteService;
    [javac]                                      ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteService.java:5: error: package com.google.gwt.user.client.rpc does not exist
    [javac] import com.google.gwt.user.client.rpc.ServiceDefTarget;
    [javac]                                      ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteService.java:7: error: cannot find symbol
    [javac] public interface LoginExecuteService extends RemoteService {
    [javac]                                              ^
    [javac]   symbol: class RemoteService
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteServiceAsync.java:3: error: package com.google.gwt.user.client.rpc does not exist
    [javac] import com.google.gwt.user.client.rpc.AsyncCallback;
    [javac]                                      ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteServiceAsync.java:6: error: cannot find symbol
    [javac]     public void isValidUser(String name, String password, AsyncCallback callback);
    [javac]                                                           ^
    [javac]   symbol:   class AsyncCallback
    [javac]   location: interface LoginExecuteServiceAsync
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:3: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.Composite;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:4: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.DockPanel;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:5: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.Image;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:6: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.FlexTable;
    [javac]                               
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:9: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.RootPanel;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:10: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.DockPanel;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:11: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.FlexTable;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:12: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.HTML;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:13: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.HasHorizontalAlignment;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:14: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.HasVerticalAlignment;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:15: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.Image;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:16: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.Label;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:17: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.Widget;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:18: error: package com.google.gwt.user.client.ui does not exist
    [javac] import com.google.gwt.user.client.ui.TextBox;
    [javac]                                     ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:19: error: package com.google.gwt.user.client.rpc does not exist
    [javac] import com.google.gwt.user.client.rpc.AsyncCallback;
    [javac]                                      ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:25: error: cannot find symbol
    [javac] public class UserLogin implements EntryPoint {
    [javac]                                   ^
    [javac]   symbol: class EntryPoint
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:26: error: cannot find symbol
    [javac]     final Button btnLogin = new Button();
    [javac]           ^
    [javac]   symbol:   class Button
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:142: error: cannot find symbol
    [javac]     private class LoginListener implements KeyboardListener{
    [javac]                                            ^
    [javac]   symbol:   class KeyboardListener
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:143: error: cannot find symbol
    [javac]         public void onKeyDown(Widget sender, char keyCode, int modifiers) {
    [javac]                               ^
    [javac]   symbol:   class Widget
    [javac]   location: class UserLogin.LoginListener
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:148: error: cannot find symbol
    [javac]         public void onKeyPress(Widget sender, char keyCode, int modifiers) {
    [javac]                                ^
    [javac]   symbol:   class Widget
    [javac]   location: class UserLogin.LoginListener
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:153: error: cannot find symbol
    [javac]         public void onKeyUp(Widget sender, char keyCode, int modifiers) {       
    [javac]                             ^
    [javac]   symbol:   class Widget
    [javac]   location: class UserLogin.LoginListener
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:11: error: package javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpServletRequest;
    [javac]                          ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:12: error: package javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpSession;
    [javac]                          ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:14: error: package com.petris.dataservices.registryDefinition does not exist
    [javac] import com.petris.dataservices.registryDefinition.Registry;
    [javac]                                                  ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:16: error: package com.petris.dataservices.util does not exist
    [javac] import com.petris.dataservices.util.AppProperties;
    [javac]                                    ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:17: error: package com.petris.dataservices.util does not exist
    [javac] import com.petris.dataservices.util.DssMessageContent;
    [javac]                                    ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:18: error: package com.petris.dataservices.util does not exist
    [javac] import com.petris.dataservices.util.DssXmlUtil;
    [javac]                                    ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:19: error: package com.petris.windsenterprise.util does not exist
    [javac] import com.petris.windsenterprise.util.Message;
    [javac]                                       ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:20: error: package com.petris.windsenterprise.util does not exist
    [javac] import com.petris.windsenterprise.util.MessageContent;
    [javac]                                       ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:21: error: package com.petris.windsenterprise.util does not exist
    [javac] import com.petris.windsenterprise.util.XmlUtil;
    [javac]                                       ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:22: error: package com.petris.windsenterprise.util does not exist
    [javac] import com.petris.windsenterprise.util.parameter;
    [javac]                                       ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:23: error: package com.google.gwt.user.server.rpc does not exist
    [javac] import com.google.gwt.user.server.rpc.RemoteServiceServlet;
    [javac]                                      ^
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java:25: error: cannot find symbol
    [javac] public class LoginExecuteServiceImpl extends RemoteServiceServlet implements LoginExecuteService {
    [javac]                                              ^
    [javac]   symbol: class RemoteServiceServlet
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteService.java:15: error: cannot find symbol
    [javac]                 instance = (LoginExecuteServiceAsync) GWT.create(LoginExecuteService.class);
    [javac]                                                       ^
    [javac]   symbol:   variable GWT
    [javac]   location: class Util
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteService.java:16: error: cannot find symbol
    [javac]                 ServiceDefTarget target = (ServiceDefTarget) instance;
    [javac]                 ^
    [javac]   symbol:   class ServiceDefTarget
    [javac]   location: class Util
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteService.java:16: error: cannot find symbol
    [javac]                 ServiceDefTarget target = (ServiceDefTarget) instance;
    [javac]                                            ^
    [javac]   symbol:   class ServiceDefTarget
    [javac]   location: class Util
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\LoginExecuteService.java:17: error: cannot find symbol
    [javac]                 target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/LoginExecuteService");
    [javac]                                             ^
    [javac]   symbol:   variable GWT
    [javac]   location: class Util
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:14: error: cannot find symbol
    [javac]         final DockPanel dockPanel = new DockPanel();
    [javac]               ^
    [javac]   symbol:   class DockPanel
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:14: error: cannot find symbol
    [javac]         final DockPanel dockPanel = new DockPanel();
    [javac]                                         ^
    [javac]   symbol:   class DockPanel
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:18: error: cannot find symbol
    [javac]         final FlexTable flexTable = new FlexTable();
    [javac]               ^
    [javac]   symbol:   class FlexTable
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:18: error: cannot find symbol
    [javac]         final FlexTable flexTable = new FlexTable();
    [javac]                                         ^
    [javac]   symbol:   class FlexTable
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:20: error: cannot find symbol
    [javac]         dockPanel.add(flexTable, DockPanel.CENTER);     
    [javac]                                  ^
    [javac]   symbol:   variable DockPanel
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:27: error: cannot find symbol
    [javac]         final Image dssBannerLeft = new Image();
    [javac]               ^
    [javac]   symbol:   class Image
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:27: error: cannot find symbol
    [javac]         final Image dssBannerLeft = new Image();
    [javac]                                         ^
    [javac]   symbol:   class Image
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:33: error: cannot find symbol
    [javac]         int windowWidth = Window.getClientWidth();
    [javac]                           ^
    [javac]   symbol:   variable Window
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:35: error: cannot find symbol
    [javac]         final Image dssBannerCenter = new Image();
    [javac]               ^
    [javac]   symbol:   class Image
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:35: error: cannot find symbol
    [javac]         final Image dssBannerCenter = new Image();
    [javac]                                           ^
    [javac]   symbol:   class Image
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:40: error: cannot find symbol
    [javac]         Window.addWindowResizeListener(new WindowResizeListener() {
    [javac]                                            ^
    [javac]   symbol:   class WindowResizeListener
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:40: error: cannot find symbol
    [javac]         Window.addWindowResizeListener(new WindowResizeListener() {
    [javac]         ^
    [javac]   symbol:   variable Window
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:48: error: cannot find symbol
    [javac]         final Image dssBannerRight = new Image();
    [javac]               ^
    [javac]   symbol:   class Image
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\TopBanner.java:48: error: cannot find symbol
    [javac]         final Image dssBannerRight = new Image();
    [javac]                                          ^
    [javac]   symbol:   class Image
    [javac]   location: class TopBanner
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:26: error: cannot find symbol
    [javac]     final Button btnLogin = new Button();
    [javac]                                 ^
    [javac]   symbol:   class Button
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:28: error: cannot find symbol
    [javac]         RootPanel rootPanel = RootPanel.get();
    [javac]         ^
    [javac]   symbol:   class RootPanel
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:28: error: cannot find symbol
    [javac]         RootPanel rootPanel = RootPanel.get();
    [javac]                               ^
    [javac]   symbol:   variable RootPanel
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:30: error: cannot find symbol
    [javac]         final DockPanel dockPanel = new DockPanel();
    [javac]               ^
    [javac]   symbol:   class DockPanel
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:30: error: cannot find symbol
    [javac]         final DockPanel dockPanel = new DockPanel();
    [javac]                                         ^
    [javac]   symbol:   class DockPanel
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:36: error: cannot find symbol
    [javac]         dockPanel.add(topBanner, DockPanel.NORTH);
    [javac]                                  ^
    [javac]   symbol:   variable DockPanel
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:40: error: cannot find symbol
    [javac]         final Label menubarLine = new Label("");
    [javac]               ^
    [javac]   symbol:   class Label
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:40: error: cannot find symbol
    [javac]         final Label menubarLine = new Label("");
    [javac]                                       ^
    [javac]   symbol:   class Label
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:42: error: cannot find symbol
    [javac]         dockPanel.add(menubarLine, DockPanel.NORTH);
    [javac]                                    ^
    [javac]   symbol:   variable DockPanel
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:43: error: cannot find symbol
    [javac]         dockPanel.setCellVerticalAlignment(menubarLine, HasVerticalAlignment.ALIGN_TOP);
    [javac]                                                         ^
    [javac]   symbol:   variable HasVerticalAlignment
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:44: error: cannot find symbol
    [javac]         dockPanel.setCellHorizontalAlignment(menubarLine, HasHorizontalAlignment.ALIGN_CENTER);     
    [javac]                                                           ^
    [javac]   symbol:   variable HasHorizontalAlignment
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:48: error: cannot find symbol
    [javac]         final HTML copyrightInfo = new HTML("<i>Copyright &copy 2007, Petris Technology, Inc.</i>");
    [javac]               ^
    [javac]   symbol:   class HTML
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:48: error: cannot find symbol
    [javac]         final HTML copyrightInfo = new HTML("<i>Copyright &copy 2007, Petris Technology, Inc.</i>");
    [javac]                                        ^
    [javac]   symbol:   class HTML
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:49: error: cannot find symbol
    [javac]         dockPanel.add(copyrightInfo, DockPanel.SOUTH);
    [javac]                                      ^
    [javac]   symbol:   variable DockPanel
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:50: error: cannot find symbol
    [javac]         dockPanel.setCellHorizontalAlignment(copyrightInfo, HasHorizontalAlignment.ALIGN_CENTER);
    [javac]                                                             ^
    [javac]   symbol:   variable HasHorizontalAlignment
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:52: error: cannot find symbol
    [javac]         final Image image = new Image(CssStyleName.imgLoginImage);
    [javac]               ^
    [javac]   symbol:   class Image
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:52: error: cannot find symbol
    [javac]         final Image image = new Image(CssStyleName.imgLoginImage);
    [javac]                                 ^
    [javac]   symbol:   class Image
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:53: error: cannot find symbol
    [javac]         dockPanel.add(image, DockPanel.CENTER);
    [javac]                              ^
    [javac]   symbol:   variable DockPanel
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:54: error: cannot find symbol
    [javac]         dockPanel.setCellVerticalAlignment(image, HasVerticalAlignment.ALIGN_TOP);
    [javac]                                                   ^
    [javac]   symbol:   variable HasVerticalAlignment
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:55: error: cannot find symbol
    [javac]         dockPanel.setCellHorizontalAlignment(image, HasHorizontalAlignment.ALIGN_CENTER);
    [javac]                                                     ^
    [javac]   symbol:   variable HasHorizontalAlignment
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:57: error: cannot find symbol
    [javac]         final FlexTable main = new FlexTable();
    [javac]               ^
    [javac]   symbol:   class FlexTable
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:57: error: cannot find symbol
    [javac]         final FlexTable main = new FlexTable();
    [javac]                                    ^
    [javac]   symbol:   class FlexTable
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:58: error: cannot find symbol
    [javac]         dockPanel.add(main, DockPanel.NORTH);
    [javac]                             ^
    [javac]   symbol:   variable DockPanel
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:60: error: cannot find symbol
    [javac]         dockPanel.setCellVerticalAlignment(main, HasVerticalAlignment.ALIGN_TOP);
    [javac]                                                  ^
    [javac]   symbol:   variable HasVerticalAlignment
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:61: error: cannot find symbol
    [javac]         dockPanel.setCellHorizontalAlignment(main, HasHorizontalAlignment.ALIGN_CENTER);
    [javac]                                                    ^
    [javac]   symbol:   variable HasHorizontalAlignment
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:63: error: cannot find symbol
    [javac]         final Label lblUsername = new Label("Username:");
    [javac]               ^
    [javac]   symbol:   class Label
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:63: error: cannot find symbol
    [javac]         final Label lblUsername = new Label("Username:");
    [javac]                                       ^
    [javac]   symbol:   class Label
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:66: error: cannot find symbol
    [javac]         final TextBox txtUsername = new TextBox();
    [javac]               ^
    [javac]   symbol:   class TextBox
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:66: error: cannot find symbol
    [javac]         final TextBox txtUsername = new TextBox();
    [javac]                                         ^
    [javac]   symbol:   class TextBox
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:70: error: cannot find symbol
    [javac]         final Label lblPassword = new Label("Password:");
    [javac]               ^
    [javac]   symbol:   class Label
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:70: error: cannot find symbol
    [javac]         final Label lblPassword = new Label("Password:");
    [javac]                                       ^
    [javac]   symbol:   class Label
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:73: error: cannot find symbol
    [javac]         final PasswordTextBox txtPassword = new PasswordTextBox();
    [javac]               ^
    [javac]   symbol:   class PasswordTextBox
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:73: error: cannot find symbol
    [javac]         final PasswordTextBox txtPassword = new PasswordTextBox();
    [javac]                                                 ^
    [javac]   symbol:   class PasswordTextBox
    [javac]   location: class UserLogin
    [javac] D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\client\UserLogin.java:87: error: cannot find symbol
    [javac]         btnLogin.addClickListener(new ClickListener() {
    [javac]                                       ^
    [javac]   symbol:   class ClickListener
    [javac]   location: class UserLogin
    [javac] Note: D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\server\LoginExecuteServiceImpl.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 100 errors

BUILD FAILED
D:\dev\workspaceDSS\DSS_Login\src\com\petris\dataservices\build.xml:48: Compile 
failed; see the compiler error output for details.

Total time: 6 seconds

Wish to get an answer. 

Best regards,
Ali 

Original issue reported on code.google.com by alzayer....@gmail.com on 23 Jun 2012 at 4:46

GoogleCodeExporter commented 9 years ago
From the errors, it seems that you don't have GWT installed. Did you download 
and install GWT ?

Original comment by chstath on 25 Jun 2012 at 9:30

GoogleCodeExporter commented 9 years ago
Yes I did and I am using gwt-dev.jar, gwt-servlet.jar and gwt-user.jar . 

Original comment by alzayer....@gmail.com on 25 Jun 2012 at 1:21

GoogleCodeExporter commented 9 years ago
package com.google.gwt.core.client does not exist

means only one thing: The compiler cannot find gwt-user.jar in the classpath

Original comment by chstath on 25 Jun 2012 at 1:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
you are right. I was pointing to a classpath and using another one. 

Thanks. 

Now I am getting this error:

jars-DSS-Services:
gwt-compile:
     [java] [ERROR] Invalid module name: 'D:\dev\workspaceDSS\DSS_UI\war'

BUILD FAILED
D:\dev\workspaceDSS\DSS_UI\src\com\petris\dataservices\build.xml:134: Java 
returned: 1

Total time: 9 seconds

Original comment by alzayer....@gmail.com on 25 Jun 2012 at 3:16