JBoss Native SVN: r2867 - trunk/build/unix/util/jbossweb.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2011-12-14 07:46:33 -0500 (Wed, 14 Dec 2011)
New Revision: 2867
Removed:
trunk/build/unix/util/jbossweb/build.properties.default
trunk/build/unix/util/jbossweb/build.xml
Log:
remove useless files.
Deleted: trunk/build/unix/util/jbossweb/build.properties.default
===================================================================
--- trunk/build/unix/util/jbossweb/build.properties.default 2011-12-14 12:33:54 UTC (rev 2866)
+++ trunk/build/unix/util/jbossweb/build.properties.default 2011-12-14 12:46:33 UTC (rev 2867)
@@ -1,22 +0,0 @@
-base.path=${user.home}/java
-base-apache.loc=http://archive.apache.org/dist/
-
-commons-logging.loc=${base-apache.loc}/commons/logging/binaries/commons-logging-1.0.4.tar.gz
-commons-logging.jar=${base.path}/commons-logging-1.0.4/commons-logging.jar
-
-# Location of jbossweb jar files.
-base-jbossweb.loc=http://repository.jboss.org/nexus/content/groups/public-jboss/jboss/web/
-jbossweb.version=2.1.11.GA
-
-jbossweb.jar.loc=${base-jbossweb.loc}/jbossweb/${jbossweb.version}/jbossweb-${jbossweb.version}.jar
-jbossweb.jar=${base.path}/${jbossweb.version}/jbossweb-${jbossweb.version}.jar
-
-servlet-api.jar.loc=${base-jbossweb.loc}/servlet-api/${jbossweb.version}/servlet-api-${jbossweb.version}.jar
-servlet-api.jar=${base.path}/${jbossweb.version}/servlet-api-${jbossweb.version}.jar
-
-jboss-logging.version=2.0.3.GA
-base-jboss-logging.home=${base.path}/${jboss-logging.version}/lib
-jboss-logging.jar.loc=${base-jboss.loc}/jboss-logging-spi/${jboss-logging.version}/jboss-logging-spi-${jboss-logging.version}.jar
-jboss-logging.jar=${base.path}/${jboss-logging.version}/jboss-logging-spi-${jboss-logging.version}.jar
-
-base-jbossweb.home=${base.path}/${jbossweb.version}/lib
Deleted: trunk/build/unix/util/jbossweb/build.xml
===================================================================
--- trunk/build/unix/util/jbossweb/build.xml 2011-12-14 12:33:54 UTC (rev 2866)
+++ trunk/build/unix/util/jbossweb/build.xml 2011-12-14 12:46:33 UTC (rev 2867)
@@ -1,104 +0,0 @@
-<?xml version="1.0"?>
-<!--
- * Copyright(c) 2011 Red Hat Middleware, LLC,
- * and individual contributors as indicated by the @authors tag.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library in the file COPYING.LIB;
- * if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
- * @author Jean-Frederic Clere
- * @version $Revision$
--->
-<project name="jbosswebtests" default="all" basedir=".">
-
- <!-- See "build.properties.sample" in the top level directory for all -->
- <!-- property values you must customize for successful building!!! -->
- <property file="${user.home}/build.properties"/>
- <property file="build.properties"/>
-
- <property file="build.properties.default"/>
-
- <property name="test.classes" value="${basedir}/output/classes"/>
-
- <path id="jbossweb.test.classpath">
- <pathelement location="${test.classes}"/>
- <pathelement location="${jbossweb.jar}"/>
- <pathelement location="${servlet-api.jar}"/>
- </path>
-
- <property name="compile.source" value="1.5"/>
-
- <target name="all" depends="compile">
- <antcall target="startjbossweb">
- <param name="line" value="8009 node1 dom1 8005"/>
- </antcall>
- <delete file="index.html"/>
- <exec executable="wget">
- <arg value="--no-check-certificate"/>
- <arg value="https://localhost:8009/index.html"/>
- </exec>
- <available file="index.html" property="exist"/>
- <fail unless="exist" message="Can't get test file"/>
- </target>
-
- <target name="startjbossweb" depends="compile">
- <java dir="${test.classes}" classname="org.jboss.test.StartJBossWeb"
- spawn="true" fork="yes">
- <arg line="${line}"/>
- <jvmarg line="-Djava.util.logging.config.file=node1/conf/logging.properties" />
- <jvmarg line="-Djava.util.logging.manager=org.jboss.test.ClassLoaderLogManager"/>
- <classpath refid="jbossweb.test.classpath"/>
- </java>
- </target>
-
- <target name="compile" depends="download">
- <mkdir dir="${test.classes}"/>
- <mkdir dir="${test.classes}/conf"/>
-
- <javac srcdir="." destdir="${test.classes}"
- debug="on" debuglevel="lines,vars,source"
- deprecation="${compile.deprecation}"
- source="${compile.source}"
- optimize="${compile.optimize}">
- <classpath refid="jbossweb.test.classpath" />
- <include name="org/jboss/**" />
- </javac>
- </target>
-
- <target name="download" description="Builds and download dependent components">
- <antcall target="downloadfile">
- <param name="sourcefile" value="${servlet-api.jar.loc}"/>
- <param name="destfile" value="${servlet-api.jar}"/>
- <param name="destdir" value="${base-jbossweb.home}"/>
- </antcall>
- <antcall target="downloadfile">
- <param name="sourcefile" value="${jbossweb.jar.loc}"/>
- <param name="destfile" value="${jbossweb.jar}"/>
- <param name="destdir" value="${base-jbossweb.home}"/>
- </antcall>
- </target>
-
- <target name="downloadfile" unless="exist" depends="testexist">
- <mkdir dir="${destdir}" />
- <get src="${sourcefile}" dest="${destfile}" />
- </target>
-
- <target name="testexist">
- <echo message="Testing for ${destfile}"/>
- <available file="${destfile}" property="exist"/>
- </target>
-</project>