Browse Source

Commented the Class-Path Manifest entry which causes trouble at runtime (ClassNotFoundErrors).

Additional infos echoed during build.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198688 13f79535-47bb-0310-9956-ffa450edef68
pull/41/head
Jeremias Maerki 19 years ago
parent
commit
aec80a6796
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      build.xml

+ 4
- 1
build.xml View File

<!-- build-local.properties is not stored in CVS and overrides values from build.properties --> <!-- build-local.properties is not stored in CVS and overrides values from build.properties -->
<property file="${basedir}/build-local.properties"/> <property file="${basedir}/build-local.properties"/>
<property file="${basedir}/build.properties"/> <property file="${basedir}/build.properties"/>
<property environment="env"/>


<property name="optional.lib.dir" value="${basedir}/lib"/> <property name="optional.lib.dir" value="${basedir}/lib"/>




<target name="init-avail"> <target name="init-avail">
<echo message="${ant.version}"/> <echo message="${ant.version}"/>
<echo message="VM: ${java.vm.version}, ${java.vm.vendor}"/>
<echo message="JAVA_HOME: ${env.JAVA_HOME}"/>


<available property="jimi.present" classname="com.sun.jimi.core.Jimi" <available property="jimi.present" classname="com.sun.jimi.core.Jimi"
classpathref="libs-build-classpath"/> classpathref="libs-build-classpath"/>
<jar jarfile="${build.dir}/${name}.jar" basedir="${build.dest}" includes="org/**"> <jar jarfile="${build.dir}/${name}.jar" basedir="${build.dest}" includes="org/**">
<manifest> <manifest>
<attribute name="Main-Class" value="${main.class}"/> <attribute name="Main-Class" value="${main.class}"/>
<attribute name="Class-Path" value="${manifest-classpath}"/>
<!--attribute name="Class-Path" value="${manifest-classpath}"/-->
<attribute name="Implementation-Title" value="${Name}"/> <attribute name="Implementation-Title" value="${Name}"/>
<attribute name="Implementation-Version" value="${version}"/> <attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-Vendor" value="The Apache Software Foundation (http://xml.apache.org/fop/)"/> <attribute name="Implementation-Vendor" value="The Apache Software Foundation (http://xml.apache.org/fop/)"/>

Loading…
Cancel
Save