You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yoko-commits@incubator.apache.org by en...@apache.org on 2006/04/05 17:18:02 UTC
svn commit: r391678 - in /incubator/yoko/trunk: README.txt installSunJars
pom.xml
Author: enolan
Date: Wed Apr 5 10:17:58 2006
New Revision: 391678
URL: http://svn.apache.org/viewcvs?rev=391678&view=rev
Log:
Adding in a script to install the sun jars as a short term solution and README of build instructions.
Added:
incubator/yoko/trunk/README.txt (with props)
incubator/yoko/trunk/installSunJars
Modified:
incubator/yoko/trunk/pom.xml
Added: incubator/yoko/trunk/README.txt
URL: http://svn.apache.org/viewcvs/incubator/yoko/trunk/README.txt?rev=391678&view=auto
==============================================================================
--- incubator/yoko/trunk/README.txt (added)
+++ incubator/yoko/trunk/README.txt Wed Apr 5 10:17:58 2006
@@ -0,0 +1,24 @@
+ Instructions to build Yoko
+ ============================
+
+Build Requirements
+------------------
+
+1. maven2.0.2 and above as your MAVEN_HOME
+2. JDK1.5 as your JAVA_HOME
+3. Subversion 1.2 and above
+
+Steps to build Yoko
+-------------------
+
+1. If you aren't using maven first time then we recommend cleaning local maven repository.
+ on unix clean: ~/.m2/ directory
+ on win clean: %USERPROFILE%/m2/ directory
+
+2. Open a shell and add JAVA_HOME and MAVEN_HOME environment variables to your path.
+
+3. Run the script 'installSunJars' available under trunk directory to copy jaxb, activation, jaxws, annotation, saaj and jsr181 jars manually to your local repository. These articafts are required for celtix-codegen-plugin which is used by yoko api, bindings and tools subprojects.
+
+4. Run the command 'mvn install'.
+
+
Propchange: incubator/yoko/trunk/README.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/yoko/trunk/README.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/yoko/trunk/installSunJars
URL: http://svn.apache.org/viewcvs/incubator/yoko/trunk/installSunJars?rev=391678&view=auto
==============================================================================
--- incubator/yoko/trunk/installSunJars (added)
+++ incubator/yoko/trunk/installSunJars Wed Apr 5 10:17:58 2006
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+
+printUsage() {
+ echo "You must specify the directory of your JAX-WS RI2.0 Early Access 3 install."
+ echo "It can be downloaded from https://jax-ws.dev.java.net/jax-ws-ea3/jaxws20ea3.jar"
+ echo "example: $0 ~/jaxws-ri"
+ exit 1
+}
+
+
+if [ "$1" = "" ]; then
+ printUsage
+fi
+
+if [ ! -e $1 ]; then
+ echo "Could not find directory $1"
+ printUsage
+fi
+
+
+mvn install:install-file -DgroupId=javax.annotation -DartifactId=jsr250-api -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -DgeneratePom=true -Dfile=$1/lib/jsr250-api.jar
+mvn install:install-file -DgroupId=javax.jws -DartifactId=jsr181-api -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -DgeneratePom=true -Dfile=$1/lib/jsr181-api.jar
+mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar -DgeneratePom=true -Dfile=$1/lib/activation.jar
+mvn install:install-file -DgroupId=javax.xml -DartifactId=jaxws-api -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -DgeneratePom=true -Dfile=$1/lib/jaxws-api.jar
+mvn install:install-file -DgroupId=javax.xml -DartifactId=jaxb-api -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -DgeneratePom=true -Dfile=$1/lib/jaxb-api.jar
+mvn install:install-file -DgroupId=javax.xml -DartifactId=saaj-api -Dversion=1.3 -Dpackaging=jar -DgeneratePom=true -Dfile=$1/lib/saaj-api.jar
+
+mvn install:install-file -DgroupId=com.sun.xml -DartifactId=jaxb-xjc -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -DgeneratePom=true -Dfile=$1/lib/jaxb-xjc.jar
+mvn install:install-file -DgroupId=com.sun.xml -DartifactId=jaxb-impl -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -DgeneratePom=true -Dfile=$1/lib/jaxb-impl.jar
+mvn install:install-file -DgroupId=com.sun.xml -DartifactId=saaj-impl -Dversion=1.3 -Dpackaging=jar -DgeneratePom=true -Dfile=$1/lib/saaj-impl.jar
+
+
Modified: incubator/yoko/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/yoko/trunk/pom.xml?rev=391678&r1=391677&r2=391678&view=diff
==============================================================================
--- incubator/yoko/trunk/pom.xml (original)
+++ incubator/yoko/trunk/pom.xml Wed Apr 5 10:17:58 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -24,11 +24,11 @@
<!-- These properties should be defined in top level pom.xml -->
<properties>
- <celtix.version>0.5-SNAPSHOT</celtix.version>
+ <celtix.version>1.0-SNAPSHOT</celtix.version>
<jaxws.version>2.0-JAXWS-2.0-EA3</jaxws.version>
<compiler.version>2.0.1-SNAPSHOT</compiler.version>
<javadoc.version>2.0-beta-3</javadoc.version>
- <jar.version>2.1-SNAPSHOT</jar.version>
+ <jar.version>2.0-beta-1</jar.version>
<java.source.version>1.5</java.source.version>
<compile.flags>-Xlint:unchecked,deprecation,fallthrough,finally</compile.flags>
<java.endorsed.dirs>${basedir}/target/classes</java.endorsed.dirs>