[Jpackage-commits] dist/openqa-selenium-core/devel .cvsignore, 1.1, 1.2 openqa-selenium-core.spec, NONE, 1.1 selenium-core-build.xml, NONE, 1.1 selenium-core-jpp-depmap.xml, NONE, 1.1 selenium-core-settings.xml, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Wed May 28 21:24:49 CEST 2008


Update of /home/projects/jpackage/cvs/dist/openqa-selenium-core/devel
In directory ryu.zarb.org:/tmp/cvs-serv25029/devel

Modified Files:
	.cvsignore sources 
Added Files:
	openqa-selenium-core.spec selenium-core-build.xml 
	selenium-core-jpp-depmap.xml selenium-core-settings.xml 
Log Message:
Import from JPP 5.0

--- NEW FILE: selenium-core-jpp-depmap.xml ---
<dependencies>
  <dependency>
        <maven>
          <groupId>jetty</groupId>
          <artifactId>org.mortbay.jetty</artifactId>
          <version>5.1.10</version>
        </maven>
        <jpp>
          <groupId>JPP/jetty5</groupId>
          <artifactId>jetty5</artifactId>
          <version>5.1.12</version>
        </jpp>
  </dependency>
  <dependency>
        <maven>
          <groupId>ant</groupId>
          <artifactId>ant-nodeps</artifactId>
          <version>1.6.5</version>
        </maven>
        <jpp>
          <groupId>JPP/ant</groupId>
          <artifactId>ant-nodeps</artifactId>
          <version>1.6.5</version>
        </jpp>
  </dependency>
  <dependency>
        <maven>
          <groupId>ant</groupId>
          <artifactId>ant-trax</artifactId>
          <version>1.6.5</version>
        </maven>
        <jpp>
          <groupId>JPP/ant</groupId>
          <artifactId>ant-trax</artifactId>
          <version>1.6.5</version>
        </jpp>
  </dependency>
  <dependency>
        <maven>
          <groupId>ant</groupId>
          <artifactId>ant-junit</artifactId>
          <version>1.6.5</version>
        </maven>
        <jpp>
          <groupId>JPP/ant</groupId>
          <artifactId>ant-junit</artifactId>
          <version>1.6.5</version>
        </jpp>
  </dependency>
  <dependency>
        <maven>
          <groupId>org.openqa.selenium.server</groupId>
          <artifactId>selenium-server-coreless</artifactId>
          <version>0.9.1</version>
        </maven>
        <jpp>
          <groupId>JPP</groupId>
          <artifactId>selenium-server-coreless</artifactId>
          <version>0.9.2</version>
        </jpp>
  </dependency>
  <dependency>
        <maven>
          <groupId>rhino</groupId>
          <artifactId>js</artifactId>
          <version>1.6R5</version>
        </maven>
        <jpp>
          <groupId>JPP</groupId>
          <artifactId>js</artifactId>
          <version>1.6R5</version>
        </jpp>
  </dependency>

</dependencies>

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/openqa-selenium-core/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	28 May 2008 19:24:29 -0000	1.1
--- .cvsignore	28 May 2008 19:24:46 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ selenium-core-0.8.3.tar.gz

--- NEW FILE: selenium-core-build.xml ---
<project name="selenium-core" default="jar" basedir=".">
  <property file="${user.home}/.m2/maven.properties"/>
  <property name="maven.build.output" value="target/classes"/>
  <property name="maven.build.directory" value="target"/>
  <property name="maven.build.final.name" value="selenium-core-0.8.3"/>
  <property name="maven.test.reports" value="${maven.build.directory}/test-reports"/>
  <property name="maven.test.output" value="target/test-classes"/>
  <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
  <path id="build.classpath">
    <fileset dir="${maven.repo.local}">
      <include name="bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar"/>
      <include name="junit/junit/3.8.1/junit-3.8.1.jar"/>
      <include name="avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar"/>
      <include name="log4j/log4j/1.2.9/log4j-1.2.9.jar"/>
      <include name="commons-logging/commons-logging/1.1/commons-logging-1.1.jar"/>
      <include name="ant/ant/1.6.5/ant-1.6.5.jar"/>
      <include name="javax/servlet/servlet-api/2.4/servlet-api-2.4.jar"/>
      <include name="jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar"/>
      <include name="logkit/logkit/2.2.1/logkit-2.2.1.jar"/>
      <include name="org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar"/>
    </fileset>
  </path>
  <target name="clean" description="Clean the output directory">
    <delete dir="${maven.build.directory}"/>
  </target>
  <target name="compile" depends="get-deps" description="Compile the code">
    <mkdir dir="${maven.build.output}"/>
    <copy todir="${maven.build.output}">
      <fileset dir="src/main/resources"/>
    </copy>
  </target>
  <target name="jar" depends="compile,test" description="Clean the JAR">
    <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar" basedir="${maven.build.output}" excludes="**/package.html"/>
  </target>
  <target name="compile-tests" depends="junit-present, compile" description="Compile the test code" if="junit.present">
    <mkdir dir="${maven.test.output}"/>
  </target>
  <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run the test cases"/>
  <target name="test-junit-present">
    <available classname="junit.framework.Test" property="junit.present"/>
  </target>
  <target name="junit-present" depends="test-junit-present" unless="junit.present">
    <echo>================================= WARNING ================================</echo>
    <echo> Junit isn't present in your $ANT_HOME/lib directory. Tests not executed. </echo>
    <echo>==========================================================================</echo>
  </target>
  <target name="test-offline">
    <condition property="maven.mode.offline">
      <equals arg1="${build.sysclasspath}" arg2="only"/>
    </condition>
  </target>
  <target name="get-deps" depends="test-offline" description="Download all dependencies" unless="maven.mode.offline">
    <mkdir dir="${maven.repo.local}"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/bouncycastle/bcprov-jdk15/135"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" dest="${maven.repo.local}/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" dest="${maven.repo.local}/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" dest="${maven.repo.local}/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" dest="${maven.repo.local}/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" dest="${maven.repo.local}/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" dest="${maven.repo.local}/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" dest="${maven.repo.local}/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar" usetimestamp="true" ignoreerrors="true"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/junit/junit/3.8.1"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar" dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/junit/junit/3.8.1/junit-3.8.1.jar" dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar" dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/junit/junit/3.8.1/junit-3.8.1.jar" dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/junit/junit/3.8.1/junit-3.8.1.jar" dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/junit/junit/3.8.1/junit-3.8.1.jar" dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar" dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/avalon-framework/avalon-framework/4.3.1"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" dest="${maven.repo.local}/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" dest="${maven.repo.local}/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" dest="${maven.repo.local}/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" dest="${maven.repo.local}/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" dest="${maven.repo.local}/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" dest="${maven.repo.local}/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" dest="${maven.repo.local}/avalon-framework/avalon-framework/4.3.1/avalon-framework-4.3.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/log4j/log4j/1.2.9"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar" dest="${maven.repo.local}/log4j/log4j/1.2.9/log4j-1.2.9.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/log4j/log4j/1.2.9/log4j-1.2.9.jar" dest="${maven.repo.local}/log4j/log4j/1.2.9/log4j-1.2.9.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar" dest="${maven.repo.local}/log4j/log4j/1.2.9/log4j-1.2.9.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/log4j/log4j/1.2.9/log4j-1.2.9.jar" dest="${maven.repo.local}/log4j/log4j/1.2.9/log4j-1.2.9.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/log4j/log4j/1.2.9/log4j-1.2.9.jar" dest="${maven.repo.local}/log4j/log4j/1.2.9/log4j-1.2.9.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar" dest="${maven.repo.local}/log4j/log4j/1.2.9/log4j-1.2.9.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.jar" dest="${maven.repo.local}/log4j/log4j/1.2.9/log4j-1.2.9.jar" usetimestamp="true" ignoreerrors="true"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/commons-logging/commons-logging/1.1"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" dest="${maven.repo.local}/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" dest="${maven.repo.local}/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" dest="${maven.repo.local}/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" dest="${maven.repo.local}/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" dest="${maven.repo.local}/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" dest="${maven.repo.local}/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" dest="${maven.repo.local}/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/ant/ant/1.6.5"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar" dest="${maven.repo.local}/ant/ant/1.6.5/ant-1.6.5.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/ant/ant/1.6.5/ant-1.6.5.jar" dest="${maven.repo.local}/ant/ant/1.6.5/ant-1.6.5.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar" dest="${maven.repo.local}/ant/ant/1.6.5/ant-1.6.5.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/ant/ant/1.6.5/ant-1.6.5.jar" dest="${maven.repo.local}/ant/ant/1.6.5/ant-1.6.5.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/ant/ant/1.6.5/ant-1.6.5.jar" dest="${maven.repo.local}/ant/ant/1.6.5/ant-1.6.5.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/ant/ant/1.6.5/ant-1.6.5.jar" dest="${maven.repo.local}/ant/ant/1.6.5/ant-1.6.5.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar" dest="${maven.repo.local}/ant/ant/1.6.5/ant-1.6.5.jar" usetimestamp="true" ignoreerrors="true"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/javax/servlet/servlet-api/2.4"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" dest="${maven.repo.local}/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" dest="${maven.repo.local}/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" dest="${maven.repo.local}/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" dest="${maven.repo.local}/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" dest="${maven.repo.local}/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" dest="${maven.repo.local}/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" dest="${maven.repo.local}/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/jetty/org.mortbay.jetty/5.1.12"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" dest="${maven.repo.local}/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" dest="${maven.repo.local}/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" dest="${maven.repo.local}/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" dest="${maven.repo.local}/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" dest="${maven.repo.local}/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" dest="${maven.repo.local}/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" dest="${maven.repo.local}/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12.jar" usetimestamp="true" ignoreerrors="true"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/logkit/logkit/2.2.1"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/logkit/logkit/2.2.1/logkit-2.2.1.jar" dest="${maven.repo.local}/logkit/logkit/2.2.1/logkit-2.2.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/logkit/logkit/2.2.1/logkit-2.2.1.jar" dest="${maven.repo.local}/logkit/logkit/2.2.1/logkit-2.2.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/logkit/logkit/2.2.1/logkit-2.2.1.jar" dest="${maven.repo.local}/logkit/logkit/2.2.1/logkit-2.2.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/logkit/logkit/2.2.1/logkit-2.2.1.jar" dest="${maven.repo.local}/logkit/logkit/2.2.1/logkit-2.2.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/logkit/logkit/2.2.1/logkit-2.2.1.jar" dest="${maven.repo.local}/logkit/logkit/2.2.1/logkit-2.2.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/logkit/logkit/2.2.1/logkit-2.2.1.jar" dest="${maven.repo.local}/logkit/logkit/2.2.1/logkit-2.2.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/logkit/logkit/2.2.1/logkit-2.2.1.jar" dest="${maven.repo.local}/logkit/logkit/2.2.1/logkit-2.2.1.jar" usetimestamp="true" ignoreerrors="true"/>
    <mkdir dir="/usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/org/openqa/selenium/server/selenium-server-coreless/0.9.2"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" dest="${maven.repo.local}/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/external_repo/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" dest="${maven.repo.local}/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/local/jpp/rebuild/devel/BUILD/selenium-core-0.8.3/.m2/repository/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" dest="${maven.repo.local}/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://maven.openqa.org/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" dest="${maven.repo.local}/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://people.apache.org/maven-snapshot-repository/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" dest="${maven.repo.local}/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="file:///usr/share/maven2/repository/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" dest="${maven.repo.local}/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" usetimestamp="true" ignoreerrors="true"/>
    <get src="http://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" dest="${maven.repo.local}/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar" usetimestamp="true" ignoreerrors="true"/>
  </target>
</project>
Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/openqa-selenium-core/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	28 May 2008 19:24:29 -0000	1.1
--- sources	28 May 2008 19:24:46 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ d767ad4d111202920521dbc22f4bd030  selenium-core-0.8.3.tar.gz

--- NEW FILE: openqa-selenium-core.spec ---
# Copyright (c) 2000-2007, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the
#    distribution.
# 3. Neither the name of the JPackage Project nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

%define section free

%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj
_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_sup
port:0}}}

# If you don't want to build with maven, and use straight ant instead,
# give rpmbuild option '--without maven'

%define with_maven %{!?_without_maven:1}%{?_without_maven:0}
%define without_maven %{?_without_maven:1}%{!?_without_maven:0}

Summary:        Webapp Test Tool
Name:           openqa-selenium-core
Version:        0.8.3
Release:        1jpp
Epoch:          0
License:        Apache Software License 2.0
URL:            http://www.openqa.org/selenium-core/
Group:          Development/Testing
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
Source0:        selenium-core-0.8.3.tar.gz
# svn export -r 1877 http://svn.openqa.org/svn/selenium-core/trunk selenium-core-0.8.3
Source1:        selenium-core-jpp-depmap.xml
Source2:        selenium-core-settings.xml
Source3:        selenium-core-build.xml

BuildRequires:  jpackage-utils >= 0:1.7.3
BuildRequires:  java-devel >= 0:1.5.0
BuildRequires:  ant >= 0:1.6.5
BuildRequires:  ant-junit
BuildRequires:  ant-nodeps
BuildRequires:  ant-trax
BuildRequires:  junit

%if %{with_maven}
BuildRequires:  maven2 >= 2.0.4
BuildRequires:  maven2-plugin-ant
BuildRequires:  maven2-plugin-antrun
BuildRequires:  maven2-plugin-clean
BuildRequires:  maven2-plugin-compiler
BuildRequires:  maven2-plugin-install
BuildRequires:  maven2-plugin-jar
BuildRequires:  maven2-plugin-javadoc
BuildRequires:  maven2-plugin-release
BuildRequires:  maven2-plugin-resources
BuildRequires:  maven2-plugin-surefire
%endif
BuildRequires:  excalibur-avalon-framework
BuildRequires:  bouncycastle-jdk1.5
BuildRequires:  jakarta-commons-logging
BuildRequires:  jetty5
BuildRequires:  openqa-selenium-rc-server-coreless
BuildRequires:  servlet_2_4_api
BuildRequires:  subversion

Requires:  junit
Requires:  openqa-selenium-rc-server-coreless
Requires:  rhino

Requires(post):    jpackage-utils >= 0:1.7.3
Requires(postun):  jpackage-utils >= 0:1.7.3
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
Selenium Core is a test tool for web applications. Selenium
Core tests run directly in a browser, just as realusers do. 
and they run in Internet Explorer, Mozilla and Firefox on 
Windows, Linux and Macintosh. No other test tool covers 
such a wide array of platforms.

%prep
%setup -q -n selenium-core-%{version}
for j in $(find . -name "*.jar"); do
    mv $j $j.no
done
cp %{SOURCE3} build.xml
ln -sf $(build-classpath js) src/main/resources/doctool/
rm src/main/resources/doctool/js.jar.no
cp %{SOURCE2} settings.xml
sed -i -e "s|<url>__JPP_URL_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
sed -i -e "s|<url>__JAVADIR_PLACEHOLDER__</url>|<url>file://`pwd`/external_repo</url>|g" settings.xml
sed -i -e "s|<url>__MAVENREPO_DIR_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
sed -i -e "s|<url>__MAVENDIR_PLUGIN_PLACEHOLDER__</url>|<url>file:///usr/share/maven2/plugins</url>|g" settings.xml
sed -i -e "s|<url>__ECLIPSEDIR_PLUGIN_PLACEHOLDER__</url>|<url>file:///usr/share/eclipse/plugins</url>|g" settings.xml

%build
export JAVA_HOME=%{_jvmdir}/java-1.5.0
%if %{with_maven}
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
mkdir -p $MAVEN_REPO_LOCAL
mkdir -p $MAVEN_REPO_LOCAL/bouncycastle
ln -sf $(build-classpath bouncycastle/bcprov) $MAVEN_REPO_LOCAL/bouncycastle/bcprov-jdk15.jar
mvn-jpp \
        -e \
        -Dnotest=true \
        -s $(pwd)/settings.xml \
        -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
        -Dmaven2.jpp.depmap.file=%{SOURCE1} \
        -Dmaven.test.failure.ignore=true \
        ant:ant install

%else
export CLASSPATH=
ant -Dbuild.sysclasspath=only jar
%endif

%install
rm -rf $RPM_BUILD_ROOT

# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 target/selenium-core-0.8.3.jar \
      $RPM_BUILD_ROOT%{_javadir}/selenium-core-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)

# pom
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -m 644 pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-selenium-core.pom
%add_to_maven_depmap org.openqa.selenium.core selenium-core %{version} JPP selenium-core

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(0644,root,root,0755)
%doc license/selenium_license.txt
%{_javadir}/*
%{_datadir}/maven2/poms/*
%{_mavendepmapfragdir}

%changelog
* Thu Dec 06 2007 Ralph Apel <r.apel at r-apel.de> - 0:0.8.3-1jpp
- First release


--- NEW FILE: selenium-core-settings.xml ---
<settings>
	<profiles>
		<profile>
			<id>JPP</id>
			<repositories>
				<repository>
					<id>internal</id>
					<layout>jpp</layout>
					<url>__JPP_URL_PLACEHOLDER__</url>
				</repository>
				<repository>
					<id>external</id>
					<layout>jpp</layout>
					<url>__JAVADIR_PLACEHOLDER__</url>
				</repository>
				<repository>
					<id>local</id>
					<layout>jpp</layout>
					<url>__MAVENREPO_DIR_PLACEHOLDER__</url>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>plugins-internal</id>
					<name>plugins-internal</name>
					<layout>jpp</layout>
					<url>__JPP_URL_PLACEHOLDER__</url>
				</pluginRepository>
				<pluginRepository>
					<id>plugins-external</id>
					<name>plugins-external</name>
					<layout>jpp</layout>
					<url>__JAVADIR_PLACEHOLDER__</url>
				</pluginRepository>
				<pluginRepository>
					<id>plugins-maven</id>
					<name>plugins-maven</name>
					<layout>jpp</layout>
					<url>__MAVENDIR_PLUGIN_PLACEHOLDER__</url>
				</pluginRepository>
			</pluginRepositories>
		</profile>
	</profiles>
	<activeProfiles>
		<activeProfile>JPP</activeProfile>
	</activeProfiles>
</settings>




More information about the JPackage-commits mailing list