Title: Message
i got it working....
turns out it has something to do with the LANG setting in my environment.  I changed it to - LANG="en_US" where it used to be LANG="en_US.UTF-8".  I found some obscure reference on some posting but it didn't explain why.  Anyone care to pipe in?
 
--- Begin Message ---
Title: Build failing on linux

I have a linux installation where I've downloaded castor-0.9.5.tgz. I unpacked it and converted the build.sh to unix format.  When I run build.sh it starts to work but runs into errors.  I am using jdk1.3.1_07. Here's the output from java -version:

java version "1.3.1_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_07-b02)
Java HotSpot(TM) Client VM (build 1.3.1_07-b02, mixed mode)

I've logged the build to a log file and here are the first few lines which indicate the errors:   I've also written out the classpath that is being passed in to the build.  Anyone have any ideas?  Thanks in advance.

build/classes/:lib/adaptx_0.9.4.6.jar:lib/ant_1.5.jar:lib/jakarta-oro-2.0.5.jar:lib/jakarta-regexp-1.1.jar:lib/jdbc-se2.0.jar:lib/jndi_1.2.1.jar:lib/jta1.0.1.jar:lib/jtf-0.1.jar:lib/junit_3.5.jar:lib/ldapjdk_4.1.jar:lib/postgresql.jar:lib/servlet.jar:lib/xerces-J_1.4.0.jar:/usr/jdk1.3.1_07/lib/tools.jar

Buildfile: src/build.xml

prepare:
   [delete] Deleting directory /home/gregm/castor-0.9.5/src/schema
    [mkdir] Created dir: /home/gregm/castor-0.9.5/src/schema
     [copy] Copying 3 files to /home/gregm/castor-0.9.5/src/schema
     [copy] Copying 2 files to /home/gregm/castor-0.9.5/src/schema
     [copy] Copying 4 files to /home/gregm/castor-0.9.5/src/schema

castor-build.check:

main:
    [javac] Compiling 604 source files to /home/gregm/castor-0.9.5/build/classes
    [javac] error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null

    [javac] error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null

    [javac] /home/gregm/castor-0.9.5/src/main/org/exolab/castor/xml/XMLMappingLoader.java:72: org.exolab.castor.xml.util.ClassDescriptorResolverImpl is not public in org.exolab.castor.xml.util; cannot be accessed from outside package

    [javac] import org.exolab.castor.xml.util.ClassDescriptorResolverImpl;
    [javac]                                   ^
    [javac] /home/gregm/castor-0.9.5/src/main/org/exolab/castor/tools/MappingTool.java:73: org.exolab.castor.xml.util.ClassDescriptorResolverImpl is not public in org.exolab.castor.xml.util; cannot be accessed from outside package

    [javac] import org.exolab.castor.xml.util.ClassDescriptorResolverImpl;
    [javac]                                   ^
    [javac] /home/gregm/castor-0.9.5/src/main/org/exolab/castor/tools/MappingTool.java:113: org.exolab.castor.xml.util.ClassDescriptorResolverImpl is not public in org.exolab.castor.xml.util; cannot be accessed from outside package

    [javac]     private ClassDescriptorResolverImpl _resolver = null;
    [javac]             ^



--- End Message ---

Reply via email to