You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "martin snitkovsky (JIRA)" <ji...@apache.org> on 2009/06/02 11:13:07 UTC

[jira] Created: (WINK-2) HP REST SDK contribution

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


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.


[jira] Commented: (WINK-2) HP REST SDK contribution

Posted by "Michael Elman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718303#action_12718303 ] 

Michael Elman commented on WINK-2:
----------------------------------

To resolve issue with the ilrndinf01.mercury.co.il repository definition, delete the <repositories> definition from the symphony-examples/pom.xml file.

> 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.


RE: [jira] Updated: (WINK-2) HP REST SDK contribution

Posted by "Fischer, Nadav" <na...@hp.com>.
Hi guys,

We missed the ilrndinf01.mercury.co.il repository definition in the symphony-examples/pom.xml file when we cleaned up the pom files before uploading them. There's no need to download anything manually, you only need to delete the <repositories> definition from the symphony-examples/pom.xml file, and things should look better.

Nadav

From: Michael Rheinheimer [mailto:rott@us.ibm.com]
Sent: Wednesday, June 10, 2009 04:30
To: wink-dev@incubator.apache.org
Subject: Re: [jira] Updated: (WINK-2) HP REST SDK contribution


Hi Jesse,

Looks like ilrndinf01.mercury.co.il must be an intranet system, not accessible outside the HP intranet. in addition to xpp3, I had to manually download another jar. The following steps were successful for me:

1) download and unzip each of:
http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/xpp3-1.1.3.4.O_src.zip
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.4.2/surefire-junit-2.4.2.jar
http://mirror.olnevhost.net/pub/apache/commons/cli/binaries/commons-cli-1.2-bin.zip
http://repo2.maven.org/maven2/maven/maven-dependency-plugin/1.0/maven-dependency-plugin-1.0.jar
2) install each of these with the command:
mvn install:install-file -DgroupId=xpp3 -DartifactId=xpp3_min -Dversion=1.1.3.4.O -Dpackaging=jar -Dmaven.repo.local=/home/rott/eclipse/HP_repository -Dfile=/home/rott/documents/temp/xpp3/xpp3-1.1.3.4.O/xpp3_min-1.1.3.4.O.jar
3) mvn -o -Dmaven.repo.local=/home/rott/eclipse/HP_repository install

For #2 and #3, the -Dmaven.repo.local flag is optional, depending on your environment.
For #3, the -o flag means 'offline' so the build won't try to go grab the jars we already know it can't find.
This got me past those problems, but then I ran into this:

[INFO] ------------------------------------------------------------------------
[INFO] Building WebDAV:2.0-SNAPSHOT
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.apache.maven.plugins:maven-dependency-plugin

Reason: POM 'org.apache.maven.plugins:maven-dependency-plugin' not found in repository: System is offline.

org.apache.maven.plugins:maven-dependency-plugin:pom:2.0

for project org.apache.maven.plugins:maven-dependency-plugin

So I commented out the symphony-examples module and ran into a similar problem with maven-antrun-plugin, so I commented out symphony-sdk-scripts module in pom.xml.

Incidentally, I tried to install these two plugins 'by-hand' but I must have done something wrong... so for now, it was just easier to comment out those modules. My build and tests are good now, but of course I'm not building these two modules.

mike


Mike Rheinheimer
(512) 838-0086 t/l 678-0086
WebSphere WebService Core Engine Team


[cid:1__=09BBFF42DF912FA48f9e8a93df938@us.ibm.com]Jesse A Ramos---06/09/2009 05:29:54 PM---Hi, I started to take a look at the Symphony JAX-RS runtime and encountered

From:


Jesse A Ramos/Austin/IBM@IBMUS


To:


wink-dev@incubator.apache.org


Date:


06/09/2009 05:29 PM


Subject:


Re: [jira] Updated: (WINK-2) HP REST SDK contribution

________________________________



Hi,

I started to take a look at the Symphony JAX-RS runtime and encountered
some errors when running mvn install.

Downloading:
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/xp
p3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.pom
[WARNING] Unable to get resource 'xpp3:xpp3_min:pom:1.1.3.4.O' from
repository c
entral (http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public):
Error
transferring file: Operation timed out: connect:could be due to invalid
address

Downloading:
http://repository.codehaus.org/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1
.3.4.O.pom
[INFO] Unable to find resource 'xpp3:xpp3_min:pom:1.1.3.4.O' in repository
codeh
aus-repository (http://repository.codehaus.org)
Downloading:
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/or
g/codehaus/plexus/plexus-interpolation/1.2/plexus-interpolation-1.2.pom
[WARNING] Unable to get resource
'org.codehaus.plexus:plexus-interpolation:pom:1
.2' from repository central
(http://ilrndinf01.mercury.co.il:8081/nexus/content/
groups/public): Error transferring file: Operation timed out:
connect:could be d
ue to invalid address
Downloading:
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/xp
p3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.jar
Downloading:
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/or
g/codehaus/plexus/plexus-interpolation/1.2/plexus-interpolation-1.2.jar
[WARNING] Unable to get resource 'xpp3:xpp3_min:jar:1.1.3.4.O' from
repository c
entral (http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public):
Error
transferring file: Operation timed out: connect:could be due to invalid
address

Downloading:
http://repository.codehaus.org/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1
.3.4.O.jar
[WARNING] Unable to get resource
'org.codehaus.plexus:plexus-interpolation:jar:1
.2' from repository central
(http://ilrndinf01.mercury.co.il:8081/nexus/content/
groups/public): Error transferring file: Operation timed out:
connect:could be d
ue to invalid address
[INFO] Unable to find resource 'xpp3:xpp3_min:jar:1.1.3.4.O' in repository
codeh
aus-repository (http://repository.codehaus.org)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.


Any help is appreciated.  I've started looking at some of the
implementation and would like to take the runtime for a test drive.





"Eli Baram (JIRA)" <ji...@apache.org>
06/04/2009 11:25 AM
Please respond to
wink-dev@incubator.apache.org


To
wink-dev@incubator.apache.org
cc

Subject
[jira] Updated: (WINK-2) HP REST SDK contribution







    [
https://issues.apache.org/jira/browse/WINK-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eli Baram updated WINK-2:
-------------------------

   Attachment: HP_REST_SDK_readme.txt
               HP_REST_SDK.zip

Attached is a zip file containing the sources HP contributes to the Apache
Wink project.
Symphony is the project name used internally in HP.

The best way to understand what Symphony provides is to read the
"Symphony_SDK_2.0_Features_List.pdf"
located in src\doc\DeveloperGuide directory.

System requirements
====================
?                Java 1.5 and above
?                Maven 2.0.9 and  above

*Note*: Symphony is built using maven. All the ant build.xml files located
under
the examples directories, are aimed to run from the symphony distribution
only
and not from the development environment (see "Symphony distribution")

How to build Symphony with maven
================================
Run "mvn install" from the Symphony root directory. This will build all
the Symphony
jars and examples and install symphony runtime jars into the local maven
repository.
Note that it may take a while for all dependency jars to be downloaded
from the maven
repository.

How to run Symphony Server examples
===================================
Run "mvn jetty:run-war" from the desired server example directory. Read
the readme.txt
file of the example to understand its functionality.

How to run Symphony Client examples
===================================
Build and unzip the distribution zip file (see "Symphony distribution"
section). Run "ant"
from the desired example directory. This will create an executable jar.
Read the example
readme.txt for detailed instructions.

Symphony distribution file
==========================
The Symphony distribution is a zip file containing the entire Symphony
project in an
easy to use structure. In order to build Symphony distribution:
1. cd to the root folder and  first run "mvn install" and then run "mvn
javadoc:javadoc".
2. cd to the symphony-sdk-scripts\symphony-sdk-dist folder and run "mvn
antrun:run".
The Symphony distribution file will be created under the
symphony-sdk-scripts\symphony-sdk-dist\target directory.

Symphony site
=============
Symphony provides a site which includes detailed project information and
runtime
reports such as Unit Tests, coverage and dependency reports.
To generate the Symphony site run "mvn site-deploy
-Dsite.deploy.dir=<SITE_DIR>"
Where SITE_DIR is the location for the generated site.


> 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.




Re: [jira] Updated: (WINK-2) HP REST SDK contribution

Posted by Michael Rheinheimer <ro...@us.ibm.com>.
Hi Jesse,

Looks like ilrndinf01.mercury.co.il must be an intranet system, not
accessible outside the HP intranet.  in addition to xpp3, I had to manually
download another jar.  The following steps were successful for me:

1)  download and unzip each of:

http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/xpp3-1.1.3.4.O_src.zip

http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.4.2/surefire-junit-2.4.2.jar

http://mirror.olnevhost.net/pub/apache/commons/cli/binaries/commons-cli-1.2-bin.zip

http://repo2.maven.org/maven2/maven/maven-dependency-plugin/1.0/maven-dependency-plugin-1.0.jar
2)  install each of these with the command:
      mvn install:install-file -DgroupId=xpp3 -DartifactId=xpp3_min
-Dversion=1.1.3.4.O -Dpackaging=jar
-Dmaven.repo.local=/home/rott/eclipse/HP_repository
-Dfile=/home/rott/documents/temp/xpp3/xpp3-1.1.3.4.O/xpp3_min-1.1.3.4.O.jar
3)  mvn -o -Dmaven.repo.local=/home/rott/eclipse/HP_repository install

For #2 and #3, the -Dmaven.repo.local flag is optional, depending on your
environment.
For #3, the -o flag means 'offline' so the build won't try to go grab the
jars we already know it can't find.
This got me past those problems, but then I ran into this:

      [INFO]
------------------------------------------------------------------------
      [INFO] Building WebDAV:2.0-SNAPSHOT
      [INFO]    task-segment: [install]
      [INFO]
------------------------------------------------------------------------
      [INFO]
------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO]
------------------------------------------------------------------------
      [INFO] Error building POM (may not be this project's POM).

      Project ID: org.apache.maven.plugins:maven-dependency-plugin

      Reason: POM 'org.apache.maven.plugins:maven-dependency-plugin' not
found in repository: System is offline.

        org.apache.maven.plugins:maven-dependency-plugin:pom:2.0

       for project org.apache.maven.plugins:maven-dependency-plugin

So I commented out the symphony-examples module and ran into a similar
problem with maven-antrun-plugin, so I commented out symphony-sdk-scripts
module in pom.xml.

Incidentally, I tried to install these two plugins 'by-hand' but I must
have done something wrong... so for now, it was just easier to comment out
those modules.  My build and tests are good now, but of course I'm not
building these two modules.

mike


Mike Rheinheimer
(512) 838-0086   t/l 678-0086
WebSphere WebService Core Engine Team



|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Jesse A Ramos/Austin/IBM@IBMUS                                                                                                                    |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |wink-dev@incubator.apache.org                                                                                                                     |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |06/09/2009 05:29 PM                                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [jira] Updated: (WINK-2) HP REST SDK contribution                                                                                             |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|





Hi,

I started to take a look at the Symphony JAX-RS runtime and encountered
some errors when running mvn install.

Downloading:
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/xp
p3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.pom
[WARNING] Unable to get resource 'xpp3:xpp3_min:pom:1.1.3.4.O' from
repository c
entral (http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public):
Error
 transferring file: Operation timed out: connect:could be due to invalid
address

Downloading:
http://repository.codehaus.org/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1
.3.4.O.pom
[INFO] Unable to find resource 'xpp3:xpp3_min:pom:1.1.3.4.O' in repository
codeh
aus-repository (http://repository.codehaus.org)
Downloading:
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/or.
g/codehaus/plexus/plexus-interpolation/1.2/plexus-interpolation-1.2.pom
[WARNING] Unable to get resource
'org.codehaus.plexus:plexus-interpolation:pom:1
.2' from repository central
(http://ilrndinf01.mercury.co.il:8081/nexus/content/
groups/public): Error transferring file: Operation timed out:
connect:could be d
ue to invalid address
Downloading:
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/xp
p3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.jar
Downloading:
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/or
g/codehaus/plexus/plexus-interpolation/1.2/plexus-interpolation-1.2.jar
[WARNING] Unable to get resource 'xpp3:xpp3_min:jar:1.1.3.4.O' from
repository c
entral (http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public):
Error
 transferring file: Operation timed out: connect:could be due to invalid
address

Downloading:
http://repository.codehaus.org/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1
.3.4.O.jar
[WARNING] Unable to get resource
'org.codehaus.plexus:plexus-interpolation:jar:1
.2' from repository central
(:http://ilrndinf01.mercury.co.il:8081/nexus/content/
groups/public): Error transferring file: Operation timed out:
connect:could be d
ue to invalid address
[INFO] Unable to find resource 'xpp3:xpp3_min:jar:1.1.3.4.O' in repository
codeh
aus-repository (http://repository.codehaus.org)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.


Any help is appreciated.  I've started looking at some of the
implementation and would like to take the runtime for a test drive.





"Eli Baram (JIRA)" <ji...@apache.org>
06/04/2009 11:25 AM
Please respond to
wink-dev@incubator.apache.org


To
wink-dev@incubator.apache.org
cc

Subject
[jira] Updated: (WINK-2) HP REST SDK contribution







     [
https://issues.apache.org/jira/browse/WINK-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

]

Eli Baram updated WINK-2:
-------------------------

    Attachment: HP_REST_SDK_readme.txt
                HP_REST_SDK.zip

Attached is a zip file containing the sources HP contributes to the Apache
Wink project.
Symphony is the project name used internally in HP.

The best way to understand what Symphony provides is to read the
"Symphony_SDK_2.0_Features_List.pdf"
located in src\doc\DeveloperGuide directory.

System requirements
====================
?                Java 1.5 and above
?                Maven 2.0.9 and  above

*Note*: Symphony is built using maven. All the ant build.xml files located
under
the examples directories, are aimed to run from the symphony distribution
only
and not from the development environment (see "Symphony distribution")

How to build Symphony with maven
================================
Run "mvn install" from the Symphony root directory. This will build all
the Symphony
jars and examples and install symphony runtime jars into the local maven
repository.
Note that it may take a while for all dependency jars to be downloaded
from the maven
repository.

How to run Symphony Server examples
===================================
Run "mvn jetty:run-war" from the desired server example directory. Read
the readme.txt
file of the example to understand its functionality.

How to run Symphony Client examples
===================================
Build and unzip the distribution zip file (see "Symphony distribution"
section). Run "ant"
from the desired example directory. This will create an executable jar.
Read the example
readme.txt for detailed instructions.

Symphony distribution file
==========================
The Symphony distribution is a zip file containing the entire Symphony
project in an
easy to use structure. In order to build Symphony distribution:
1. cd to the root folder and  first run "mvn install" and then run "mvn
javadoc:javadoc".
2. cd to the symphony-sdk-scripts\symphony-sdk-dist folder and run "mvn
antrun:run".
The Symphony distribution file will be created under the
symphony-sdk-scripts\symphony-sdk-dist\target directory.

Symphony site
=============
Symphony provides a site which includes detailed project information and
runtime
reports such as Unit Tests, coverage and dependency reports.
To generate the Symphony site run "mvn site-deploy
-Dsite.deploy.dir=<SITE_DIR>"
Where SITE_DIR is the location for the generated site.


> 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.




Re: [jira] Updated: (WINK-2) HP REST SDK contribution

Posted by Nicholas L Gallardo <nl...@us.ibm.com>.
Thanks for posting this Eli, I look forward to digging in and seeing what
you guys have developed.

Question for the community.  As we've discussed during the proposal on
incubator-general, one of the things we need to do initally is come to some
consensus around a general architecture.  With two different code bases now
in place, we have two models for an architecture to understand.

Given that, how does everyone feel about using this week to surface
questions/concerns about the different architectures and then starting on a
combined view either late this week or early next week?  That would help
direct our thoughts as we work on the first pass of the Wink
architecture/implementation.

I will review Eli's submission later today and get my questions/comments
posted by tomorrow morning.  I encourage others to do the same when they
are able to.  Let's get the ideas flowing and see what people want in the
new runtime.  Have an opinion?  Voice it!  Let's get all the cards on the
table (or whatever other cliche you like).

Cheers,

-Nick



Nicholas Gallardo
WebSphere  - REST & WebServices Development
nlgallar@us.ibm.com
Phone: 512-286-6258
Building: 903 / 5G-016


                                                                           
             "Eli Baram                                                    
             (JIRA)"                                                       
             <ji...@apache.org>                                          To 
                                       wink-dev@incubator.apache.org       
             06/04/2009 11:25                                           cc 
             AM                                                            
                                                                   Subject 
                                       [jira] Updated: (WINK-2) HP REST    
             Please respond to         SDK contribution                    
             wink-dev@incubato                                             
               r.apache.org                                                
                                                                           
                                                                           
                                                                           
                                                                           





     [
https://issues.apache.org/jira/browse/WINK-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eli Baram updated WINK-2:
-------------------------

    Attachment: HP_REST_SDK_readme.txt
                HP_REST_SDK.zip

Attached is a zip file containing the sources HP contributes to the Apache
Wink project.
Symphony is the project name used internally in HP.

The best way to understand what Symphony provides is to read the
"Symphony_SDK_2.0_Features_List.pdf"
located in src\doc\DeveloperGuide directory.

System requirements
====================
•            Java 1.5 and above
•            Maven 2.0.9 and  above

*Note*: Symphony is built using maven. All the ant build.xml files located
under
the examples directories, are aimed to run from the symphony distribution
only
and not from the development environment (see "Symphony distribution")

How to build Symphony with maven
================================
Run "mvn install" from the Symphony root directory. This will build all the
Symphony
jars and examples and install symphony runtime jars into the local maven
repository.
Note that it may take a while for all dependency jars to be downloaded from
the maven
repository.

How to run Symphony Server examples
===================================
Run "mvn jetty:run-war" from the desired server example directory. Read the
readme.txt
file of the example to understand its functionality.

How to run Symphony Client examples
===================================
Build and unzip the distribution zip file (see "Symphony distribution"
section). Run "ant"
from the desired example directory. This will create an executable jar.
Read the example
readme.txt for detailed instructions.

Symphony distribution file
==========================
The Symphony distribution is a zip file containing the entire Symphony
project in an
easy to use structure. In order to build Symphony distribution:
1. cd to the root folder and  first run "mvn install" and then run "mvn
javadoc:javadoc".
2. cd to the symphony-sdk-scripts\symphony-sdk-dist folder and run "mvn
antrun:run".
The Symphony distribution file will be created under the
symphony-sdk-scripts\symphony-sdk-dist\target directory.

Symphony site
=============
Symphony provides a site which includes detailed project information and
runtime
reports such as Unit Tests, coverage and dependency reports.
To generate the Symphony site run "mvn site-deploy
-Dsite.deploy.dir=<SITE_DIR>"
Where SITE_DIR is the location for the generated site.


> 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.


Re: [jira] Updated: (WINK-2) HP REST SDK contribution

Posted by Jesse A Ramos <jr...@us.ibm.com>.
Hi,

I started to take a look at the Symphony JAX-RS runtime and encountered 
some errors when running mvn install.

Downloading: 
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/xp
p3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.pom
[WARNING] Unable to get resource 'xpp3:xpp3_min:pom:1.1.3.4.O' from 
repository c
entral (http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public): 
Error
 transferring file: Operation timed out: connect:could be due to invalid 
address

Downloading: 
http://repository.codehaus.org/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1
.3.4.O.pom
[INFO] Unable to find resource 'xpp3:xpp3_min:pom:1.1.3.4.O' in repository 
codeh
aus-repository (http://repository.codehaus.org)
Downloading: 
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/or
g/codehaus/plexus/plexus-interpolation/1.2/plexus-interpolation-1.2.pom
[WARNING] Unable to get resource 
'org.codehaus.plexus:plexus-interpolation:pom:1
.2' from repository central 
(http://ilrndinf01.mercury.co.il:8081/nexus/content/
groups/public): Error transferring file: Operation timed out: 
connect:could be d
ue to invalid address
Downloading: 
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/xp
p3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.jar
Downloading: 
http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/or
g/codehaus/plexus/plexus-interpolation/1.2/plexus-interpolation-1.2.jar
[WARNING] Unable to get resource 'xpp3:xpp3_min:jar:1.1.3.4.O' from 
repository c
entral (http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public): 
Error
 transferring file: Operation timed out: connect:could be due to invalid 
address

Downloading: 
http://repository.codehaus.org/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1
.3.4.O.jar
[WARNING] Unable to get resource 
'org.codehaus.plexus:plexus-interpolation:jar:1
.2' from repository central 
(http://ilrndinf01.mercury.co.il:8081/nexus/content/
groups/public): Error transferring file: Operation timed out: 
connect:could be d
ue to invalid address
[INFO] Unable to find resource 'xpp3:xpp3_min:jar:1.1.3.4.O' in repository 
codeh
aus-repository (http://repository.codehaus.org)
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.


Any help is appreciated.  I've started looking at some of the 
implementation and would like to take the runtime for a test drive.





"Eli Baram (JIRA)" <ji...@apache.org> 
06/04/2009 11:25 AM
Please respond to
wink-dev@incubator.apache.org


To
wink-dev@incubator.apache.org
cc

Subject
[jira] Updated: (WINK-2) HP REST SDK contribution







     [ 
https://issues.apache.org/jira/browse/WINK-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel 
]

Eli Baram updated WINK-2:
-------------------------

    Attachment: HP_REST_SDK_readme.txt
                HP_REST_SDK.zip

Attached is a zip file containing the sources HP contributes to the Apache 
Wink project.
Symphony is the project name used internally in HP. 

The best way to understand what Symphony provides is to read the 
"Symphony_SDK_2.0_Features_List.pdf" 
located in src\doc\DeveloperGuide directory.

System requirements
====================
?                Java 1.5 and above 
?                Maven 2.0.9 and  above

*Note*: Symphony is built using maven. All the ant build.xml files located 
under 
the examples directories, are aimed to run from the symphony distribution 
only 
and not from the development environment (see "Symphony distribution")

How to build Symphony with maven
================================
Run "mvn install" from the Symphony root directory. This will build all 
the Symphony 
jars and examples and install symphony runtime jars into the local maven 
repository. 
Note that it may take a while for all dependency jars to be downloaded 
from the maven 
repository.

How to run Symphony Server examples 
===================================
Run "mvn jetty:run-war" from the desired server example directory. Read 
the readme.txt 
file of the example to understand its functionality.

How to run Symphony Client examples 
===================================
Build and unzip the distribution zip file (see "Symphony distribution" 
section). Run "ant" 
from the desired example directory. This will create an executable jar. 
Read the example 
readme.txt for detailed instructions. 

Symphony distribution file 
==========================
The Symphony distribution is a zip file containing the entire Symphony 
project in an 
easy to use structure. In order to build Symphony distribution: 
1. cd to the root folder and  first run "mvn install" and then run "mvn 
javadoc:javadoc".
2. cd to the symphony-sdk-scripts\symphony-sdk-dist folder and run "mvn 
antrun:run".
The Symphony distribution file will be created under the 
symphony-sdk-scripts\symphony-sdk-dist\target directory. 

Symphony site
=============
Symphony provides a site which includes detailed project information and 
runtime 
reports such as Unit Tests, coverage and dependency reports.
To generate the Symphony site run "mvn site-deploy 
-Dsite.deploy.dir=<SITE_DIR>"
Where SITE_DIR is the location for the generated site. 


> 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.



[jira] Updated: (WINK-2) HP REST SDK contribution

Posted by "Eli Baram (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Baram updated WINK-2:
-------------------------

    Attachment: HP_REST_SDK_readme.txt
                HP_REST_SDK.zip

Attached is a zip file containing the sources HP contributes to the Apache Wink project.
Symphony is the project name used internally in HP. 

The best way to understand what Symphony provides is to read the "Symphony_SDK_2.0_Features_List.pdf"  
located in src\doc\DeveloperGuide directory.

System requirements
====================
•	Java 1.5 and above 
•	Maven 2.0.9 and  above

*Note*: Symphony is built using maven. All the ant build.xml files located under 
the examples directories, are aimed to run from the symphony distribution only 
and not from the development environment (see "Symphony distribution")

How to build Symphony with maven
================================
Run "mvn install" from the Symphony root directory. This will build all the Symphony 
jars and examples and install symphony runtime jars into the local maven repository. 
Note that it may take a while for all dependency jars to be downloaded from the maven 
repository.

How to run Symphony Server examples 
===================================
Run "mvn jetty:run-war" from the desired server example directory. Read the readme.txt 
file of the example to understand its functionality.

How to run Symphony Client examples 
===================================
Build and unzip the distribution zip file (see "Symphony distribution" section). Run "ant" 
from the desired example directory. This will create an executable jar.  Read the example 
readme.txt for detailed instructions. 

Symphony distribution file 
==========================
The Symphony distribution is a zip file containing the entire Symphony project in an 
easy to use structure. In order to build Symphony distribution: 
1. cd to the root folder and  first run "mvn install" and then run "mvn javadoc:javadoc".
2. cd to the symphony-sdk-scripts\symphony-sdk-dist folder and run "mvn antrun:run".
The Symphony distribution file will be created under the symphony-sdk-scripts\symphony-sdk-dist\target directory.  

Symphony site
=============
Symphony provides a site which includes detailed project information and runtime 
reports such as Unit Tests, coverage and dependency reports.
To generate the Symphony site run "mvn site-deploy -Dsite.deploy.dir=<SITE_DIR>"
Where SITE_DIR is the location for the generated site. 


> 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.


[jira] Commented: (WINK-2) HP REST SDK contribution

Posted by "Michael Elman (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Closed: (WINK-2) HP REST SDK contribution

Posted by "martin snitkovsky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

martin snitkovsky closed WINK-2.
--------------------------------

    Resolution: Fixed
      Assignee: martin snitkovsky

HP Symphony codebase is committed to SVN contrib directory. 

https://svn.apache.org/repos/asf/incubator/wink/contrib/hp-symphony/



> 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
>            Assignee: 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.