xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: build problems with java 1.4
Date Wed, 02 Jun 2010 15:19:49 GMT
I've just compiled the branch using Sun JDK 1.4.2_19 on by Ubuntu 9.04
and that worked fine. What Ant version are you using? I get the
following at the beginning of the build:

info:
     [echo] ------------------- Apache XML Graphics Commons 1.4 [1999-2010] ----------------
     [echo] See build.properties and build-local.properties for additional build settings
     [echo] Apache Ant version 1.7.1 compiled on June 27 2008
     [echo] VM: 1.4.2_19-b04, Sun Microsystems Inc.
     [echo] JAVA_HOME: /opt/j2sdk1.4.2_19

init-avail:
     [echo] Sun-private JPEG Support PRESENT
     [echo] JUnit Support PRESENT
     [echo] IKVM Support NOT Present

Just for comparison:

jeremias@atom:~/dev/xgc-branch$ $JAVA_HOME/bin/java -version
java version "1.4.2_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_19-b04)
Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode)

The only thing I'm struggling with is getting Xvfb or PJA working on
that headless server, so the tests don't currently run through.

On 02.06.2010 12:03:05 Simon Pepping wrote:
> I believe the branch has all required changes for the release. I built
> the dist successfully with java 1.6. When I try to build the target
> compile-copy-resources, I get errors:
> 
> /fsc/source/xmlgraphics-commons-branch-1_4/build.xml:196: Failed to copy /fsc/source/xmlgraphics-commons-branch-1_4/src/resources/META-INF/services/org.apache.xmlgraphics.image.loader.spi.ImageLoaderFactory
to /fsc/source/xmlgraphics-commons-branch-1_4/build/classes/META-INF/services/org.apache.xmlgraphics.image.loader.spi.ImageLoaderFactory
due to Invalid argument
> 
> I am setting JAVA_HOME to the top directory of a Sun SDK containing
> java 1.4.2 on a Debian GNU/Linux system:
> 
> >$JAVA_HOME/bin/java -version
> java version "1.4.2_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
> Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)
> 
> I have no idea how this problem is caused. How can a simple copy
> command fail? The interactions between ant and java are a mystery to
> me.
> 
> Simon
> 
> -- 
> Simon Pepping
> home page: http://www.leverkruid.eu
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message