ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Rousse <rou...@ccr.jussieu.fr>
Subject style task doesn't honor build.sysclasspath property, nor classpath attribute
Date Tue, 12 Mar 2002 08:18:00 GMT
Style task seems to ignore completly any build.sysclasspath property and any 
classpath attribute.

Using the following settings
<property name="build.sysclasspath" value="ignore"/>
<property name="xalan.jar" value="${lib}/xalan.jar"/>
<path id="doc.classpath">
  <pathelement location="${xalan.jar}"/>
</path>
..
 <style
    basedir="${build.doc}/${dir}"
    destdir="${build.doc}"
    style="${imglist.xsl}"
    includes="${file}.xml"
    extension=".txt"
    classpathref="doc.classpath"
/>

I have the following results
[guillaume@bononcini argouml]$ ant doc-printablehtml
Buildfile: build.xml

init:
     [echo] ------------------- ArgoUML 0.9.6 [2002] ----------------

prepare:
     [echo] Preparing build directories

doc-printablehtml:
     [echo] Building documentation in printable html format

internal-scheduler:

internal-dispatcher:
     [copy] Copying 6 files to 
/home/guillaume/dev/work/argouml/argouml/build/doc/cookbook
    [style] DEPRECATED - xslp processor is deprecated. Use trax or xalan 
instead.
    [style] java.lang.NoClassDefFoundError: 
org/apache/xalan/xslt/XSLTProcessorFactory
  [..]

BUILD FAILED

/home/guillaume/dev/work/argouml/argouml/build.xml:560: 
java.lang.NoClassDefFoundError: javax/xml/transform/Source

Total time: 4 seconds
[guillaume@bononcini argouml]$ export CLASSPATH=lib/xalan.jar
[guillaume@bononcini argouml]$ ant doc-printablehtml
Buildfile: build.xml

init:
     [echo] ------------------- ArgoUML 0.9.6 [2002] ----------------

prepare:
     [echo] Preparing build directories

doc-printablehtml:
     [echo] Building documentation in printable html format

internal-scheduler:

internal-dispatcher:
    [style] Transforming into 
/home/guillaume/dev/work/argouml/argouml/build/doc
    [style] Transforming into 
/home/guillaume/dev/work/argouml/argouml/build/doc
    [style] Loading stylesheet 
/home/guillaume/dev/work/argouml/argouml/documentation/docbook-setup/create-imglist.xsl

I'm running a self-build ant 1.4.1 on linux.
-- 
Guillaume Rousse <rousse@ccr.jussieu.fr>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message