|
From: Tomas G. <to...@pr...> - 2003-08-29 10:55:32
|
Searching for 'sun.io.MalformedInputException' reveals that it's probably some character encoding problem with the java compiler. What locale are you using in the system? Try to set java compiler options to use a different encoding: javac -encoding ISO-8859-1 Or changing to another locale. I think you can set compiler options for ANT in environment variables. (another tip, use regular JBoss instead of JBoss-Tomcat) Regards, Tomas surd wrote: > information as below: > > [root@ca ejbca]# ant > Buildfile: build.xml > > init: > > compile: > [javac] Compiling 303 source files to > /usr/j2ee/ejbca/tmp/classes > [javac] error: error reading source file: > sun.io.MalformedInputException > [javac] 1 error > > BUILD FAILED > file:/usr/j2ee/ejbca/build.xml:125: Compile failed; > see the compiler error output for details. > > Total time: 4 seconds > [root@ca ejbca]# > > > surd wrote: > >>>hi,all >>> I am a new user of EJBCA. I have downloaded >> >>software >> >>>needed: >>> j2sdk-1_4_2_01-linux-i586.bin >>> jboss-tomcat-3.2.2 >>> ejbca_2_0_1 >>> apache-ant-1.5.4 >>> >>> after setting up java environment, I use the >> >>command >> >>>ant to build EJBCA. But a error occured: >>> compile error! >>> >>> why? >>> >> >>We will need a bit more info than that Surd. How >>about a dump of what >>ant displays ? >> >>regards, >> >>Jon. |