Hello,
I have recently discovered your the powerful and impressive SmartClient libraries and want to move on with more advanced coding with them.
Everything seems to work perfectly when using the embedded server, but I
would like to be able to code with the libraries (client and server side) inside my favorite JAVA environment (Eclipse Web Tools) to benefit from its nice
feature that facilitate typing error-free code.
I followed the step from the documentation
(http://hostname:hostport/isomorphic/system/reference/SmartClient_Reference.html#group..iscInstall) but I do not seem to obtain the normal result in the end.
Here is what I did:
1. I installed and unzipped SmartClient_60_Evaluation.zip (to D:\)
2. I changed the embedded tomcat instance port to 8090 (by modifying D:\SmartClient_60_Evaluation\smartclientSDK\start_embedded_server.bat)
3. I started the embedded tomcat instance
4. I pointed my web browser to the documentation for reference (see URL above)
5. I installed Eclipse Web Tool 2.0.1 (that includes Eclipse 3.1.1) by downloading and unzipping
wtp-all-in-one-sdk-R-2.0.1-20070926042742-win32.zip (to D:\CleanProgramFiles\WTP2.0.1)
6. I downloaded and unzipped atf-incubation-wtp-0.2.3M4-v200709141050.zip (to D:\CleanProgramFiles\WTP2.0.1)
7. I downloaded and unzipped SmartClient_ATF_Personality_1.0.zip (to D:\CleanProgramFiles\WTP2.0.1\eclipse)
8. I started Eclipse
9. I created a brand new dynamic web project (no visible option to create a smartclient project of file anywhere)
10. I copied the content of (D:\SmartClient_60_Evaluation\smartclientRuntime\isomorphic) to the WebContent directory of my web project
11. I copied the directory D:\SmartClient_60_Evaluation\smartclientRuntime\WEB-INF\classes to the WEB-INF directory of my web project
12. I copied D:\SmartClient_60_Evaluation\smartclientRuntime\WEB-INF\iscTaglib.xml to the WEB-INF directory of my web project
13. I copied the directory D:\SmartClient_60_Evaluation\smartclientSDK\WEB-INF\lib to the WEB-INF directory of my web project
14. I created an index.jsp file with some simple SmartClient code that works just fine in the embedded server
And the result are that:
1. I can publish to tomcat 5.1.15 and run the code including SmartClient javascript without problems (not even an error in the Eclipse console)
2. I get plenty of error in Eclipse:
a. Cannot find the tag library descriptor for WEB-INF/iscTaglib.xml
b. isc cannot be resolved
c. MxChartDescription cannot be resolved to a type
d. MxServerComponent cannot be resolved
e. s4s-att-not-allowed: Attribute 'name' cannot appear in element 'any'
...
Can anybody help me find out what is wrong here.
Sebastien
I have recently discovered your the powerful and impressive SmartClient libraries and want to move on with more advanced coding with them.
Everything seems to work perfectly when using the embedded server, but I
would like to be able to code with the libraries (client and server side) inside my favorite JAVA environment (Eclipse Web Tools) to benefit from its nice
feature that facilitate typing error-free code.
I followed the step from the documentation
(http://hostname:hostport/isomorphic/system/reference/SmartClient_Reference.html#group..iscInstall) but I do not seem to obtain the normal result in the end.
Here is what I did:
1. I installed and unzipped SmartClient_60_Evaluation.zip (to D:\)
2. I changed the embedded tomcat instance port to 8090 (by modifying D:\SmartClient_60_Evaluation\smartclientSDK\start_embedded_server.bat)
3. I started the embedded tomcat instance
4. I pointed my web browser to the documentation for reference (see URL above)
5. I installed Eclipse Web Tool 2.0.1 (that includes Eclipse 3.1.1) by downloading and unzipping
wtp-all-in-one-sdk-R-2.0.1-20070926042742-win32.zip (to D:\CleanProgramFiles\WTP2.0.1)
6. I downloaded and unzipped atf-incubation-wtp-0.2.3M4-v200709141050.zip (to D:\CleanProgramFiles\WTP2.0.1)
7. I downloaded and unzipped SmartClient_ATF_Personality_1.0.zip (to D:\CleanProgramFiles\WTP2.0.1\eclipse)
8. I started Eclipse
9. I created a brand new dynamic web project (no visible option to create a smartclient project of file anywhere)
10. I copied the content of (D:\SmartClient_60_Evaluation\smartclientRuntime\isomorphic) to the WebContent directory of my web project
11. I copied the directory D:\SmartClient_60_Evaluation\smartclientRuntime\WEB-INF\classes to the WEB-INF directory of my web project
12. I copied D:\SmartClient_60_Evaluation\smartclientRuntime\WEB-INF\iscTaglib.xml to the WEB-INF directory of my web project
13. I copied the directory D:\SmartClient_60_Evaluation\smartclientSDK\WEB-INF\lib to the WEB-INF directory of my web project
14. I created an index.jsp file with some simple SmartClient code that works just fine in the embedded server
And the result are that:
1. I can publish to tomcat 5.1.15 and run the code including SmartClient javascript without problems (not even an error in the Eclipse console)
2. I get plenty of error in Eclipse:
a. Cannot find the tag library descriptor for WEB-INF/iscTaglib.xml
b. isc cannot be resolved
c. MxChartDescription cannot be resolved to a type
d. MxServerComponent cannot be resolved
e. s4s-att-not-allowed: Attribute 'name' cannot appear in element 'any'
...
Can anybody help me find out what is wrong here.
Sebastien
Comment