[
https://issues.apache.org/jira/browse/WINK-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718305#action_12718305
]
Michael Elman commented on WINK-2:
----------------------------------
To create eclipse projects for Symphony, run "mvn eclipse:eclipse" from the
root of the HP_REST_SDK folder (you first have to build Symphony by running
"mvn install"). Maven will download the eclipse plugin and generate a
.classpath and .project files for all the runtime modules and example modules
in Symphony. Now all you have to do is import the projects to eclipse
(File->Import...->Existing Projects into Workspace). You should be able to
import all of the projects in one go by selecting the HP_REST_SDK root folder.
Before you import the projects, you should:
1. Create a classpath variable named M2_REPO that points to the maven
repository (instead of the HP_REPO variable mentioned below)
Maven can do it for you. Run mvn
-Declipse.workspace=<path-to-eclipse-workspace> eclipse:add-maven-repo
2. Enable use of exclusion patterns in source folders
(Preferences->Java->Compiler->Building->General->check the checkbox)
The WebDAV example depends on the QADefect example, but for some reason the
maven eclipse plugin doesn't set the WebDAV example project to depend on the
QADefect example project, so there are errors after importing into eclipse. You
have to manually set the WebDAV example project to depend on the QADefect
example to fix this (Project->Properties->Java Build Path->Projects tab)
> HP REST SDK contribution
> -------------------------
>
> Key: WINK-2
> URL: https://issues.apache.org/jira/browse/WINK-2
> Project: Wink
> Issue Type: New Feature
> Reporter: martin snitkovsky
> Attachments: HP_REST_SDK.zip, HP_REST_SDK_readme.txt
>
>
> This issue will host the HP REST SDK codebase - JAX-RS implementation and a
> REST client framework.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.