Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartGWT showcase build ant war

    Dear,

    I'm building showcase sample in order to have war to be deployed on a tomcat.

    I'm using ant plugin in ecplise, and after invoke war instructuion in the build.xml the following errors rise in the console tab:


    Code:
    Buildfile: E:\DATI\Macro\SmartGWT\showcase\build.xml
    libs:
    javac:
        [javac] E:\DATI\Macro\SmartGWT\showcase\build.xml:47: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 491 source files to E:\DATI\Macro\SmartGWT\showcase\war\WEB-INF\classes
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\DebugConsoleCommand.java:19: error: package com.smartgwt.client.util does not exist
        [javac] import com.smartgwt.client.util.SC;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:6: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.ContentsType;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:7: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.Overflow;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:8: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.Side;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:9: error: package com.smartgwt.client.util does not exist
        [javac] import com.smartgwt.client.util.Browser;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:10: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.Canvas;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:11: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.HTMLPane;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:12: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.Window;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:13: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.HLayout;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:14: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.HStack;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:15: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.Layout;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:16: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.VLayout;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:17: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.VStack;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:18: error: package com.smartgwt.client.widgets.tab does not exist
        [javac] import com.smartgwt.client.widgets.tab.Tab;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:19: error: package com.smartgwt.client.widgets.tab does not exist
        [javac] import com.smartgwt.client.widgets.tab.TabSet;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:21: error: cannot find symbol
        [javac] public abstract class ShowcasePanel extends VLayout {
        [javac] ^
        [javac] symbol: class VLayout
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:23: error: cannot find symbol
        [javac] protected Canvas viewPanel;
        [javac] ^
        [javac] symbol: class Canvas
        [javac] location: class ShowcasePanel
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:25: error: cannot find symbol
        [javac] private Window introWindow;
        [javac] ^
        [javac] symbol: class Window
        [javac] location: class ShowcasePanel
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:93: error: cannot find symbol
        [javac] public abstract Canvas getViewPanel();
        [javac] ^
        [javac] symbol: class Canvas
        [javac] location: class ShowcasePanel
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:214: error: cannot find symbol
        [javac] public Tab buildSourceTab(SourceEntity sourceEntity) {
        [javac] ^
        [javac] symbol: class Tab
        [javac] location: class ShowcasePanel
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\ShowcasePanel.java:218: error: cannot find symbol
        [javac] public Tab buildSourceTab(String title, String icon, String url) {
        [javac] ^
        [javac] symbol: class Tab
        [javac] location: class ShowcasePanel
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:8: error: package com.smartgwt.client.util does not exist
        [javac] import com.smartgwt.client.util.JSOHelper;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:9: error: package com.smartgwt.client.util does not exist
        [javac] import com.smartgwt.client.util.SC;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:10: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.Canvas;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:11: error: package com.smartgwt.client.widgets.tab does not exist
        [javac] import com.smartgwt.client.widgets.tab.Tab;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:12: error: package com.smartgwt.client.widgets.tab does not exist
        [javac] import com.smartgwt.client.widgets.tab.TabSet;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:13: error: package com.smartgwt.client.widgets.viewer does not exist
        [javac] import com.smartgwt.client.widgets.viewer.DetailViewer;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:20: error: cannot find symbol
        [javac] private Canvas panel;
        [javac] ^
        [javac] symbol: class Canvas
        [javac] location: class SampleResultsManager
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:21: error: cannot find symbol
        [javac] private Canvas parent;
        [javac] ^
        [javac] symbol: class Canvas
        [javac] location: class SampleResultsManager
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:22: error: cannot find symbol
        [javac] private Canvas viewer;
        [javac] ^
        [javac] symbol: class Canvas
        [javac] location: class SampleResultsManager
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:42: error: cannot find symbol
        [javac] private SampleResultsManager(PanelFactory factory, Canvas parent) {
        [javac] ^
        [javac] symbol: class Canvas
        [javac] location: class SampleResultsManager
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:221: error: cannot find symbol
        [javac] private native DetailViewer createDetailViewerForTestResults() /*-{
        [javac] ^
        [javac] symbol: class DetailViewer
        [javac] location: class SampleResultsManager
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:251: error: cannot find symbol
        [javac] private static SampleResultsManager getSingleton(PanelFactory factory, Canvas parent) {
        [javac] ^
        [javac] symbol: class Canvas
        [javac] location: class SampleResultsManager
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:271: error: cannot find symbol
        [javac] public static Canvas create(TabSet tabSet, PanelFactory factory) {
        [javac] ^
        [javac] symbol: class TabSet
        [javac] location: class SampleResultsManager
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\SampleResultsManager.java:271: error: cannot find symbol
        [javac] public static Canvas create(TabSet tabSet, PanelFactory factory) {
        [javac] ^
        [javac] symbol: class Canvas
        [javac] location: class SampleResultsManager
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:18: error: package com.smartgwt.client does not exist
        [javac] import com.smartgwt.client.Version;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:19: error: package com.smartgwt.client.core does not exist
        [javac] import com.smartgwt.client.core.KeyIdentifier;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:20: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.Alignment;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:21: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.CurrentPane;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:22: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.Cursor;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:23: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.DeviceMode;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:24: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.NavigationDirection;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:25: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.Overflow;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:26: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.TabBarControls;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:27: error: package com.smartgwt.client.types does not exist
        [javac] import com.smartgwt.client.types.VerticalAlignment;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:28: error: package com.smartgwt.client.util does not exist
        [javac] import com.smartgwt.client.util.AutoTest;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:29: error: package com.smartgwt.client.util does not exist
        [javac] import com.smartgwt.client.util.Browser;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:30: error: package com.smartgwt.client.util does not exist
        [javac] import com.smartgwt.client.util.EventHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:31: error: package com.smartgwt.client.util does not exist
        [javac] import com.smartgwt.client.util.Page;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:32: error: package com.smartgwt.client.util does not exist
        [javac] import com.smartgwt.client.util.SC;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:33: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.Canvas;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:34: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.Img;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:35: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.Label;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:36: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.StatefulCanvas;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:37: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.TitleFormatter;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:38: error: package com.smartgwt.client.widgets does not exist
        [javac] import com.smartgwt.client.widgets.Window;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:39: error: package com.smartgwt.client.widgets.events does not exist
        [javac] import com.smartgwt.client.widgets.events.DrawEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:40: error: package com.smartgwt.client.widgets.events does not exist
        [javac] import com.smartgwt.client.widgets.events.DrawHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:41: error: package com.smartgwt.client.widgets.events does not exist
        [javac] import com.smartgwt.client.widgets.events.IconClickEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:42: error: package com.smartgwt.client.widgets.events does not exist
        [javac] import com.smartgwt.client.widgets.events.IconClickHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:43: error: package com.smartgwt.client.widgets.events does not exist
        [javac] import com.smartgwt.client.widgets.events.ResizedEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:44: error: package com.smartgwt.client.widgets.events does not exist
        [javac] import com.smartgwt.client.widgets.events.ResizedHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:45: error: package com.smartgwt.client.widgets.events does not exist
        [javac] import com.smartgwt.client.widgets.events.VisibilityChangedEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:46: error: package com.smartgwt.client.widgets.events does not exist
        [javac] import com.smartgwt.client.widgets.events.VisibilityChangedHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:47: error: package com.smartgwt.client.widgets.form does not exist
        [javac] import com.smartgwt.client.widgets.form.DynamicForm;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:48: error: package com.smartgwt.client.widgets.form.fields does not exist
        [javac] import com.smartgwt.client.widgets.form.fields.SelectItem;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:49: error: package com.smartgwt.client.widgets.form.fields does not exist
        [javac] import com.smartgwt.client.widgets.form.fields.SpacerItem;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:50: error: package com.smartgwt.client.widgets.form.fields does not exist
        [javac] import com.smartgwt.client.widgets.form.fields.TextItem;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:51: error: package com.smartgwt.client.widgets.form.fields.events does not exist
        [javac] import com.smartgwt.client.widgets.form.fields.events.ChangeEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:52: error: package com.smartgwt.client.widgets.form.fields.events does not exist
        [javac] import com.smartgwt.client.widgets.form.fields.events.ChangeHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:53: error: package com.smartgwt.client.widgets.form.fields.events does not exist
        [javac] import com.smartgwt.client.widgets.form.fields.events.ChangedEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:54: error: package com.smartgwt.client.widgets.form.fields.events does not exist
        [javac] import com.smartgwt.client.widgets.form.fields.events.ChangedHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:55: error: package com.smartgwt.client.widgets.form.fields.events does not exist
        [javac] import com.smartgwt.client.widgets.form.fields.events.KeyPressEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:56: error: package com.smartgwt.client.widgets.form.fields.events does not exist
        [javac] import com.smartgwt.client.widgets.form.fields.events.KeyPressHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:57: error: package com.smartgwt.client.widgets.grid does not exist
        [javac] import com.smartgwt.client.widgets.grid.HoverCustomizer;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:58: error: package com.smartgwt.client.widgets.grid does not exist
        [javac] import com.smartgwt.client.widgets.grid.ListGridRecord;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:59: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.HLayout;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:60: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.HStack;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:61: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.Layout;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:62: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.LayoutSpacer;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:63: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.NavigationBar;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:64: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.SectionStack;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:65: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.SplitPane;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:66: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.VLayout;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:67: error: package com.smartgwt.client.widgets.layout does not exist
        [javac] import com.smartgwt.client.widgets.layout.VStack;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:68: error: package com.smartgwt.client.widgets.layout.events does not exist
        [javac] import com.smartgwt.client.widgets.layout.events.PaneChangedEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:69: error: package com.smartgwt.client.widgets.layout.events does not exist
        [javac] import com.smartgwt.client.widgets.layout.events.PaneChangedHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:70: error: package com.smartgwt.client.widgets.menu does not exist
        [javac] import com.smartgwt.client.widgets.menu.Menu;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:71: error: package com.smartgwt.client.widgets.menu does not exist
        [javac] import com.smartgwt.client.widgets.menu.MenuItem;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:72: error: package com.smartgwt.client.widgets.menu does not exist
        [javac] import com.smartgwt.client.widgets.menu.MenuItemIfFunction;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:73: error: package com.smartgwt.client.widgets.menu.events does not exist
        [javac] import com.smartgwt.client.widgets.menu.events.ClickHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:74: error: package com.smartgwt.client.widgets.menu.events does not exist
        [javac] import com.smartgwt.client.widgets.menu.events.MenuItemClickEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:75: error: package com.smartgwt.client.widgets.tab does not exist
        [javac] import com.smartgwt.client.widgets.tab.Tab;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:76: error: package com.smartgwt.client.widgets.tab does not exist
        [javac] import com.smartgwt.client.widgets.tab.TabSet;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:77: error: package com.smartgwt.client.widgets.tab.events does not exist
        [javac] import com.smartgwt.client.widgets.tab.events.TabSelectedEvent;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:78: error: package com.smartgwt.client.widgets.tab.events does not exist
        [javac] import com.smartgwt.client.widgets.tab.events.TabSelectedHandler;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:79: error: package com.smartgwt.client.widgets.toolbar does not exist
        [javac] import com.smartgwt.client.widgets.toolbar.ToolStrip;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:80: error: package com.smartgwt.client.widgets.toolbar does not exist
        [javac] import com.smartgwt.client.widgets.toolbar.ToolStripButton;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:81: error: package com.smartgwt.client.widgets.toolbar does not exist
        [javac] import com.smartgwt.client.widgets.toolbar.ToolStripMenuButton;
        [javac] ^
        [javac] E:\DATI\Macro\SmartGWT\showcase\src\com\smartgwt\sample\showcase\client\Showcase.java:82: error: package com.smartgwt.client.widgets.tree does not exist
        [javac] import com.smartgwt.client.widgets.tree.Tree;
        [javac] ^
        [javac] Note: Some input files use or override a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] Note: Some input files use unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
        [javac] 100 errors
        [javac] only showing the first 100 errors, of 18421 total; use -Xmaxerrs if you would like to see more
    
    BUILD FAILED
    E:\DATI\Macro\SmartGWT\showcase\build.xml:47: Compile failed; see the compiler error output for details.
    
    Total time: 5 seconds
    All the errors refers to import packages that missing.

    I've added a lib folder with jars library and I've added these to the build path but the erros persist.

    May you help me please?

    Thanks.
    Last edited by giacomo.squiccimarro; 16 Nov 2022, 03:41.

    #2
    As the errors are telling you, you don't have SmartGWT .jars on your classpath. Whatever directory you placed them into, it's not on the classpath.

    Also, why are you trying to build the Showcase? There are multiple sample projects provided as good starting points, and there is also Maven support, which is probably the quickest way to get started.

    Comment


      #3
      Ok. Thanks. SmartGWT jars you means smartgwt.jar and smartgwt-skins.jar, or there are others to be added?

      I'm building Showcase to understand better how the artifacts are mapped to the code.

      Regarding the others projects I've built the quickstart and builtinds mentioned here: https://smartclient.com/smartgwt/jav...enSupport.html. For both I've built client and server war and deployed on tomcat. The server webapp show something and seems works but client webapp doesn't. How it must be used?
      When I click on client webapp I have this:

      Click image for larger version

Name:	Cattura.JPG
Views:	136
Size:	23.0 KB
ID:	269080

      Comment


        #4
        The Showcase is not a good way to learn about the system, because it's a very unusual application: it's actually hundreds of separate mini-applications, each of them demonstrating different approaches to databinding, different ways to build a UI, etc. It's pretty much the worst thing you could pick as a way to learn the system, so again we would recommend the sample applications.

        Comment


          #5
          Ok, Thanks Admin. I will follow what you suggest but, may you please tell me where I can find hundreds of separate mini-applications?
          Up to now I have found only these: https://smartclient.com/smartgwt/jav...enSupport.html.
          Thanks.
          Regards.

          Comment


            #6
            We are referring to the Showcase itself: each time you click on another sample in the Showcase, you are viewing another self-contained mini-application, with its own databinding approaches, global variables, etc.

            All of that needs to be managed relative all of the other samples, which are also mini-applications.

            For that reason, the Showcase is actually quite complicated, and not at all a good example of a typical application. The Maven archetypes or sample applications are the right place to start, as the docs suggest.

            Comment

            Working...
            X