tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Building Tomcat 5.0 - SUCCESS
Date Mon, 20 Feb 2006 07:26:09 GMT

"Bob Herrmann" <bob@jadn.com> wrote in message 
news:43F9206A.3070707@jadn.com...
>
> I believe I finally got Tomcat 5.0 to build cleanly Fedora 4.
>
> I used these 4 files;
>
> mktc  - drives the whole thing (including blowing away any local copies)
> build.xml - from the building tomcat 5 page, but modified to use svn not
> cvs.  ( http://tomcat.apache.org/tomcat-5.0-doc/build.xml )
> build.properties - to override the default java package base (since
> Fedora has a full copy of different stuff in /usr/share/java )
> build.properties.default - to override sourceforge site, jmx version,
> struts version
>
> Perhaps this can be used to update the "Building Tomcat 5 Page."  If I
> still have commit access (bobh@apache.org) I could take a crack at it.
>

Since you still nag routinely via Gump, I'm guessing that you still have 
access ;-).  If you don't, then as I understand the policy, you can get it 
back on request.

> I'm kind of surprised that their aren't automated nightly builds
> (ideally with a watchdog report) for each tomcat version.
>

Watchdog for 5+ isn't worth much.  I've considered adding testing projects 
to Gump (except, that I've pretty much shut down Gump building Watchdog). 
The main problem is that the tester for 5.5 doesn't fail-on-error (in the 
ant sense), so it won't nag (and, so, nobody will know about it).

> Cheers
> -bob
>
>
>


--------------------------------------------------------------------------------


> base.path=/tmp/share/java
>
>


--------------------------------------------------------------------------------


>
> #base-sf.loc=http://telia.dl.sourceforge.net/sourceforge
> base-sf.loc=http://easynews.dl.sourceforge.net/sourceforge
>
> # jmx.home=${base.path}/mx4j-2.1.0
> jmx.home=${base.path}/mx4j-2.1.1
>
> # jmx.loc=${base-sf.loc}/mx4j/mx4j-2.1.0.tar.gz
> jmx.loc=${base-sf.loc}/mx4j/mx4j-2.1.1.tar.gz
>
> # 
> struts.loc=${base-jakarta.loc}/struts/binaries/jakarta-struts-1.2.4.tar.gz
> struts.loc=http://archive.apache.org/dist/struts/binaries/jakarta-struts-1.2.4.tar.gz
>


--------------------------------------------------------------------------------


> <project name="Tomcat 5.0 Netbuild" default="build" basedir=".">
>
>
>  <!-- ===================== Initialize Property Values 
> =================== -->
>
>  <!-- See "build.properties.sample" in the top level directory for 
>     -->
>  <!-- property values you must customize for successful 
> g!!!        -->
>  <property file="${user.home}/build.properties"/>
>  <property file="build.properties"/>
>  <property file="build.properties.default"/>
>
>  <!-- Project Properties -->
>  <property name="name"                  value="Apache Tomcat" />
>  <property name="year"                  value="2003" />
>  <property name="version"               value="5.0" />
>  <property name="project"               value="jakarta-tomcat" />
>  <property name="final.name"            value="${project}-${version}" />
>  <property name="final-src.name"        value="${project}-${version}-src" 
> />
>
>  <!-- SVNROOT -->
>  <property name="svnroot"
>           value="http://svn.apache.org/repos/asf/" />
>
>  <!-- Subprojects -->
>  <property name="api.project"           value="jakarta-servletapi-5" />
>  <property name="tomcat.project"        value="jakarta-tomcat-5" />
>  <property name="catalina.project"      value="jakarta-tomcat-catalina" />
>  <property name="jtc.project"           value="jakarta-tomcat-connectors" 
> />
>  <property name="jasper.project"        value="jakarta-tomcat-jasper" />
>
>  <!-- Dependent projects -->
>  <property name="commons-daemon.project"  value="jakarta-commons/daemon" 
> />
>
>  <!-- Source dependencies -->
>  <property name="api.home"
>           value="${basedir}/${api.project}"/>
>  <property name="catalina.home"
>           value="${basedir}/${catalina.project}"/>
>  <property name="jasper.home"
>           value="${basedir}/${jasper.project}/jasper2"/>
>  <property name="jtc.home"
>           value="${basedir}/${jtc.project}"/>
>  <property name="tomcat.home"
>           value="${basedir}/${tomcat.project}"/>
>
>  <target name="build" 
> depends="check.source,check.source.depends,get.source"
>   description="Builds all components">
>
>    <ant dir="${tomcat.home}" target="download" />
>    <ant dir="${tomcat.home}" target="deploy" />
>
>  </target>
>
>  <target name="checkout"
>          description="Update or checkout required sources from 
> subversion">
>
>    <exec dir="${basedir}" executable="svn">
>        <arg line="checkout 
> http://svn.apache.org/repos/asf/tomcat/servletapi/branches/other/servlet2.4-jsp2.0-tc5.x/TOMCAT_5_0

> servletapi"/>
>    </exec>
>    <exec dir="${basedir}" executable="svn">
>        <arg line="checkout 
> http://svn.apache.org/repos/asf/tomcat/build/branches/tc5.0.x/ 
> jakarta-tomcat-5"/>
>    </exec>
>    <exec dir="${basedir}" executable="svn">
>        <arg line="checkout 
> http://svn.apache.org/repos/asf/tomcat/servletapi/branches/other/servlet2.4-jsp2.0-tc5.x/TOMCAT_5_0

> jakarta-servletapi-5"/>
>    </exec>
>    <exec dir="${basedir}" executable="svn">
>        <arg line="checkout 
> http://svn.apache.org/repos/asf/tomcat/container/branches/tc5.0.x/ 
> jakarta-tomcat-catalina"/>
>    </exec>
>    <exec dir="${basedir}" executable="svn">
>        <arg line="checkout 
> http://svn.apache.org/repos/asf/tomcat/connectors/branches/tc5.0.x 
> jakarta-tomcat-connectors"/>
>    </exec>
>    <exec dir="${basedir}" executable="svn">
>        <arg line="checkout 
> http://svn.apache.org/repos/asf/tomcat/jasper/branches/tc5.0.x 
> jakarta-tomcat-jasper"/>
>    </exec>
>
>  </target>
>
>  <!-- *************** UTILITY TARGETS *************** -->
>
>  <target name="check.source">
>
>    <available property="source.exists"
>                   file="${basedir}/${tomcat.project}" type="dir" />
>
>  </target>
>
>  <target name="check.source.depends">
>
>    <available property="source.depends.exists"
>                   file="${basedir}/${commons-daemon.project}" type="dir" 
> />
>
>  </target>
>
>  <target name="get.source" unless="source.exists">
>
>    <antcall target="checkout" />
>
>  </target>
>
> </project>
>


--------------------------------------------------------------------------------


> rm -rf /tmp/share/java
> rm -rf jakar* servletapi
> rm -f LICENSE
> mkdir /tmp/share/java
> export ANT_HOME=/ul/apache-ant-1.6.5
> export PATH=$ANT_HOME/bin:$PATH
> ant --noconfig build
>
>


--------------------------------------------------------------------------------


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message