Development with Eclipse

Thank you for the document that clearly explains installation of your SDK in Eclipse.

I would be great to extend it (the document) with steps how to

  • resolve errors reported in the problems view (Eclipse) right after new project is created, e.g. http://forums.smartclient.com/showthread.php?t=330

  • configure server to run smallClient project in embedded Tomcat (out-of-box server included with your product)

  • publish project content to the server

  • samples how to make simple project and what advantage/disadvantage developer has with using Eclipse

otherwise may take several days to setup smallClient within Eclipse, exactly what we experienced for long period with Dojo and similar projects.

Thank you

Let me add some questions in more practical mode.

I was able to copy isomorphic and other files as described in deployment document to a smallClient Eclipse project and run it on a separate Tomcat server.

Now I can develop the client using either
(1) production server (Tomcat or whatever) by editing in Eclipse or
(2) embedded server with multiple support features (http://www.smartclient.com/devcenter/versions/5.5/smartclientSDK/isomorphic/system/reference/SmartClient_Reference.html?topic=iscInstall) along with visualBuilder.

Going with one or another approach I miss either Eclipse framework or visualBuilder.

  1. Let’s say I want to bring all including visualBuilder to the “production server”. So my question is “what are steps to install visualBuilder to another server”? I guess all stuff including all other features implemented on embedded server should be copied with some modifications to configuration files.

  2. If I want to use embedded server, then the question is how to configure Eclipse project for use the server to be able to publish and sync.

Thank you.

There’s no reason you can’t run both your production server and the embedded server in parallel.

We generally recommend running Visual Builder, documentation and examples from the provided embedded server. If you were to copy those resources over to your production server, you’d have to trim them out and reconfigure the server at actual deployment.

Are there any steps to use visualBuilder with another server?

Are there any steps to configure Eclipse for using with your embedded server?

I thought some users tried smallclient in real projects with Eclipse and other servers, but evaluation setup, did you?

Thanks

Hi Eklmn,

As you said, deploying Visual Builder and other evaluation resources to a production server involves copying the various resources from the “smartclientSDK” folder to the production server. “smartclientSDK” already has the file layout of a Java .war file and can actually be packaged as a .war and deployed that way - no special instructions.

Our customers do this when they want to deploy Visual Builder centrally as a design tool for an entire division to use (designers, business analysts, product managers, developers, etc).

However when it comes to your source control system and/or the server where you are assembling the final application or product, the deployment instructions tell you to use the “smartclientRuntime” directory instead, because this is what you will actually ship as the runtime with your application or product. You don’t want to ship the SmartClient documentation and examples to your end users, so, if you were to check it in to source control, you’d have to remove it before you actually ship the application.

BTW it’s “SmartClient” not “SmallClient” :slight_smile:

Thanks for clarification.
Eklmn

P.S.
My apologies, just mixed my project name with SmartClient SDK