beautypg.com

Echelon i.LON SmartServer 2.0 User Manual

Page 418

background image

i.LON SmartServer 2.0 Programmer’s Reference

22-13

a. In the Project Explorer view, right-click the ilon-ws folder, point to Maven, and then click

Enable Dependency Management.

b. Browse to the C:\eclipse\eclipse 3.5\ilon.ws.clients\jax-ws folder, open the .classpath file

with a text editor and change the following line:

path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.u

i.launcher.StandardVMType/J2SE-1.5"/>

to the following:

path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.u

i.launcher.StandardVMType/JavaSE-1.6"/>

c. Restart Eclipse.

7. Generate the java proxy classes and build the jar following these steps:

a. In the Project Explorer view, right-click the ilon-ws folder, point to Run As, and then click

Maven Package. This generates the java proxy classes and builds the jar.

b. Refresh the ilon-ws folder. To do this, right-click the ilon-ws folder in the Project Explorer,

and then click Refresh.