Ashish,
The Java is setup to work with both Weblogic and Websphere application servers. As such, you will have errors since you need to adjust the settings after import for your specific environment.
Assuming you have all the necessary jar files from your Maximo implemenation all the compile problems go away if you just setup the classpath variables to point to the Jar files and exclude the files for the server you are not using.
1. Import the Java source into Eclipse (Import | General | Existing Projects into Workspace | Select Archive file (pick the java source zip)).
2. Create the classpath variables (Window | Preferences | Java | Build Path | Classpath Variables | New (point to your Jar files)
- AGENTRY_V5 - point to the Agentry-v5.jar from the SMP3 SDK | Agentry Toolkit | Agentry Editor
- INI4J - point to the ini4j.jar in the Java folder of the WM 8.0 deployment
- BUSINESSOBJECTS - points to your Maximo buisinessobjects.jar file
- MBOEJB - points to your Maximo mboejb.jar file
- MBOJAVA - points to your Maximo mbojava.jar file
- WEBLOGIC - points to the weblogic.jar if using Weblogic as your app server. If not you can skip it and will need to
3. If not using WebLogic remove the WEBLOGIC variable from the build path of the MaximoMobile project. Select MaximoMobile project | Build Path | Configure Build Path | Libraries | Select WEBLOGIC and click Remove
4. Expand the Source tree for MaximoMobile and navigate to package com.syclo.maximomobile.ldap. If not using Weblogic highlight the two weblogic files and right click | Build Path | Exclude
There is one issue in the com.syclo.maximomobile.TestSessionData java there is an inherited method that is not declared but you can have eclipse add it for you which resolves the error.
Now all my Java projects successfully compile as expected with no errors.
--Bill