You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Colin Britton <cb...@metatomix.com> on 2001/12/29 22:14:22 UTC

[PATCH] J2EE Datasource build changes Re: [GUMP] Build Failure - Slide

Attached is a patch to the build.xml which will only compile the J2EE store
if the jdbc2_0-stdext.jar is present.

I have also included a README to be put in the src/stores/slidestore/j2ee/
directory covering usage and the jar requirement. I will turn this into a
patch for the jakarta-slide\docs\howto-jdbcstore.html documentation file as
soon as I can.

rgds
CB
----- Original Message -----
From: "Craig McClanahan" <cr...@apache.org>
To: <sl...@jakarta.apache.org>
Sent: Tuesday, December 25, 2001 9:13 AM
Subject: [GUMP] Build Failure - Slide


> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://jakarta.apache.org/builds/gump/2001-12-25/jakarta-slide.html>
> ----------------------------------------------------
>
> Buildfile: build.xml
>
> detect:
>      [echo] --- Build environment for jakarta-slide-2.0.0 ---
>      [echo] --- Flags (Note: If the {property name} is displayed, then the
component is not present)
>      [echo] --- Required Libraries ---
>      [echo] servlet.present (must be present) = true
>      [echo] jaxp10.present (must be present) = true
>      [echo] jdom.present (must be present) = true
>      [echo] dom.present (must be present) = true
>      [echo] sax.present (must be present) = true
>      [echo] jta.present (must be present) = true
>      [echo] httpclient.present (must be present) = true
>      [echo] --- Optional Libraries ---
>      [echo] servlet23.present (optional) = true
>      [echo] jaxp11.present (optional) = true
>      [echo] jmx.present (optional) = true
>      [echo] modeler.present (optional) = true
>      [echo] ant.present (optional) = true
>      [echo] junit.present (optional) = true
>      [echo] tomcat41.present (optional) = true
>      [echo] xsl.present (optional) = true
>      [echo] log4j.present (optional) = true
>      [echo] jndi.present (optional) = true
>      [echo] naming.present (optional) = true
>      [echo] resources.present (optional) = true
>      [echo] struts.present (optional) = true
>      [echo] --- Property values
>      [echo] ant.home=/home/rubys/jakarta/jakarta-ant/dist
>      [echo] catalina.dist=../jakarta-tomcat-4.0/dist
>      [echo]
servlet.jar=/home/rubys/jakarta/jakarta-servletapi-4/lib/servlet.jar
>      [echo] jaxp.home=/opt/jaxp-1.1
>      [echo] jaxp.jar=/opt/jaxp-1.1/jaxp.jar
>      [echo] xmlapi.jar=/opt/jaxp-1.1/crimson.jar
>      [echo] xmlparser.jar=/opt/jaxp-1.1/crimson.jar
>      [echo] jmx.home=/opt/jmx-1_0_1-ri_bin
>      [echo] jmxri.jar=${jmxri.jar}
>      [echo] junit.jar=/home/rubys/jakarta/dist/junit/junit.jar
>      [echo]
log4j.jar=/home/rubys/jakarta/jakarta-log4j/dist/lib/log4j-gump.jar
>      [echo] jta.jar=/opt/jta-spec1_0_1/jta-spec1_0_1.jar
>      [echo]
catalina.jar=../jakarta-tomcat-4.0/dist/server/lib/catalina.jar
>      [echo]
resources.jar=../jakarta-tomcat-4.0/dist/common/lib/naming-resources.jar
>      [echo]
naming.jar=../jakarta-tomcat-4.0/dist/common/lib/naming-common.jar
>      [echo] commons-httpclient.jar=lib/commons-httpclient.jar
>      [echo] tomcat.build=../jakarta-tomcat-4.0/build
>      [echo]
struts.jar=/home/rubys/jakarta/jakarta-struts/dist/lib/struts.jar
>      [echo] slide.build=./build
>      [echo] slide.dist=./dist
>      [echo] webapp.dist=./dist/slide/webapp
>      [echo] slide.release=${slide.release}
>      [echo] slide.archive=./jakarta-slide-2.0.0
>      [echo] webdavclient.build=./build/client
>      [echo] webdavclient.dist=./dist/client
>
> prepare-servlet22:
>
> prepare-servlet23:
>      [copy] Copying 3 files to
/home/rubys/jakarta/jakarta-slide/src/webdav/server/org/apache/slide/webdav/
logger
>
> prepare:
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-slide/build
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-slide/build/classes
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-slide/build/examples
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-slide/build/tests
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-slide/build/lib
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-slide/build/doc
>     [mkdir] Created dir:
/home/rubys/jakarta/jakarta-slide/build/doc/schema
>     [mkdir] Created dir:
/home/rubys/jakarta/jakarta-slide/build/doc/samples
>     [mkdir] Created dir:
/home/rubys/jakarta/jakarta-slide/build/doc/javadoc
>
> util:
>      [echo] Building Utils
>     [javac] Compiling 16 source files to
/home/rubys/jakarta/jakarta-slide/build/classes
>
> main:
>      [echo] Building Slide Core API
>     [javac] Compiling 134 source files to
/home/rubys/jakarta/jakarta-slide/build/classes
>      [copy] Copying 2 files to
/home/rubys/jakarta/jakarta-slide/build/classes
>      [copy] Copying 4 files to /home/rubys/jakarta/jakarta-slide/build/lib
>      [echo] Building Standard Stores
>     [javac] Compiling 20 source files to
/home/rubys/jakarta/jakarta-slide/build/classes
>     [javac]
/home/rubys/jakarta/jakarta-slide/src/stores/slidestore/j2ee/J2EEDescriptors
Store.java:84: Class javax.sql.DataSource not found in import.
>     [javac] import javax.sql.DataSource;
>     [javac]        ^
>     [javac]
/home/rubys/jakarta/jakarta-slide/src/stores/slidestore/j2ee/J2EEContentStor
e.java:89: Class javax.sql.DataSource not found in import.
>     [javac] import javax.sql.DataSource;
>     [javac]        ^
>     [javac] 2 errors
>
> BUILD FAILED
> /home/rubys/jakarta/jakarta-slide/build.xml:503: Compile failed, messages
should have been provided.
>
> Total time: 38 seconds
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>

Re: [PATCH] J2EE Datasource build changes Re: [GUMP] Build Failure - Slide

Posted by Dirk Verbeeck <di...@pandora.be>.
Patch applied.

I tried adding your J2EE readme to the JDBC howto but it is already a
large page and that's why the J2EE howto is now a seperate page.
Have a look and send me your updates/corrections.


Dirk


Colin Britton wrote:
> 
> Attached is a patch to the build.xml which will only compile the J2EE store
> if the jdbc2_0-stdext.jar is present.
> 
> I have also included a README to be put in the src/stores/slidestore/j2ee/
> directory covering usage and the jar requirement. I will turn this into a
> patch for the jakarta-slide\docs\howto-jdbcstore.html documentation file as
> soon as I can.
> 
> rgds
> CB


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>