Re: Not work by Xalan ?
"Slobodan Vujasinovic" <[email protected]> Tue, 12 Apr 2005 14:03:47 +0200
| Newsgroups | gmane.comp.java.enhydra.dods |
|---|---|
| Message-ID | <004601c53f57$aec8d870$2300a8c0@ns1> |
This is a multi-part message in MIME format.
------=_NextPart_000_0043_01C53F68.7245C190
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
If you want do add 'xalan.jar' as classpath entry to ant build process, you=
will have to edit 'enhydra-ant' bach/script file (manually).=20
Build process itself will ignore existing environment CLASSPATH definition!
Which JAVA version are you using and why do you need additional 'xalan' cla=
sspath entry?
Regards,
Slobodan Vujasinovic
Enhydra Development Team
----- Original Message -----=20
From: NGUYEN Hong Thai=20
To: [email protected]=20
Sent: Tuesday, April 12, 2005 1:45 PM
Subject: [dods] Not work by Xalan ?
Hi all,
When I use DODS to generate *.java in doml file (attach). It required xal=
an, i really configure xalan in classpath.
I tried to recompile DODS, but it really so complicate to debug and confi=
g for generate an other dods.jar.
Log is looked like :
=20=20=20
E:\enhydra-enterprise-6.2\multiserver\enhydra\myProjects\wicale>enhydra-a=
nt
Buildfile: build.xml
=20=20=20
dods:
=20=20=20
init:
=20=20=20
generate_data_files:
[dods] Buildfile: E:\enhydra-enterprise-6.2\multiserver\enhydra\dods=
\build
generate.xml
=20=20=20
[dods] dods:copy_doml:
=20=20=20
BUILD FAILED
=20=20=20
java.lang.NoClassDefFoundError: org/apache/xalan/processor/TransformerFac=
toryIm
l
=20=20=20
at org.enhydra.dods.xml.XmlUtil.store(Unknown Source)
=20=20=20
at org.enhydra.ant.taskdefs.DomlValidateTask.copyDoml(Unknown Sou=
rce)
=20=20=20
at org.enhydra.ant.taskdefs.DomlValidateTask.execute(Unknown Sour=
ce)
=20=20=20
at org.apache.tools.ant.Task.perform(Task.java:341)
=20=20=20
at org.apache.tools.ant.Target.execute(Target.java:309)
=20=20=20
at org.apache.tools.ant.Target.performTasks(Target.java:336)
=20=20=20
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
=20=20=20
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
=20=20=20
at org.apache.tools.ant.Main.runBuild(Main.java:609)
=20=20=20
at org.apache.tools.ant.Main.start(Main.java:196)
=20=20=20
at org.apache.tools.ant.Main.main(Main.java:235)
=20=20=20
=20=20=20
=20=20=20
Total time: 9 seconds
=20=20=20
java.lang.NoClassDefFoundError: org/apache/xalan/processor/TransformerFac=
toryIm
l
=20=20=20
at org.enhydra.dods.xml.XmlUtil.store(Unknown Source)
=20=20=20
at org.enhydra.ant.taskdefs.DomlValidateTask.copyDoml(Unknown Sou=
rce)
=20=20=20
at org.enhydra.ant.taskdefs.DomlValidateTask.execute(Unknown Sour=
ce)
=20=20=20
at org.apache.tools.ant.Task.perform(Task.java:341)
=20=20=20
at org.apache.tools.ant.Target.execute(Target.java:309)
=20=20=20
at org.apache.tools.ant.Target.performTasks(Target.java:336)
=20=20=20
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
=20=20=20
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
=20=20=20
at org.apache.tools.ant.Main.runBuild(Main.java:609)
=20=20=20
at org.apache.tools.ant.Main.start(Main.java:196)
=20=20=20
at org.apache.tools.ant.Main.main(Main.java:235)
=20=20=20
org/apache/xalan/processor/TransformerFactoryImpl
=20=20=20
xmlc:
=20=20=20
init:
=20=20=20
compile_html_files:
=20=20=20
compile:
=20=20=20
init:
=20=20=20
compile:
=20=20=20
.... (and more, but it absolutely not work)
Anybody show me the solution ? Thanks alot !
=20=20=20
NGUYEN Hong Thai
(M2R. Universite' Joseph Fourier)=20=20
GETA, CLIPS, IMAG-campus, BP53
385, rue de la Bibliothe`que
38041 Grenoble Cedex 9, France
Mel: [email protected]
Tel: +33.4 - 7651- 4817
Fax: +33.4 - 76-514405/446675
Mobile: +33 (06) 88 54 94 13
------=_NextPart_000_0043_01C53F68.7245C190
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3700.6699" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>If you want do add 'xalan.jar' as cla=
sspath=20
entry to ant build process, you will have to edit 'enhydra-ant' bach/script=
file=20
(manually). </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Build process itself will ignore existing=
=20
environment CLASSPATH definition!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Which JAVA version are you using and why d=
o you=20
need additional 'xalan' classpath entry?</FONT></DIV>
<DIV> </DIV>
<DIV>Regards,<BR> Slobodan Vujasinovic<BR>Enhydra=
=20
Development Team</DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0p=
x; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>Fro=
m:</B>=20
<A href=3D"mailto:[email protected]"=20
[email protected]>NGUYEN Hong Thai</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A href=3D"mailto:dods@objectw=
eb.org"=20
[email protected]>[email protected]</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, April 12, 2005 1:45=
=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [dods] Not work by Xalan =
?</DIV>
<DIV><BR></DIV>
<DIV><FONT size=3D2>Hi all,</FONT></DIV>
<DIV><FONT size=3D2>When I use DODS to generate *.java in doml file (atta=
ch). It=20
required xalan, i really configure xalan in classpath.</FONT></DIV>
<DIV><FONT size=3D2>I tried to recompile DODS, but it really so complicat=
e to=20
debug and config for generate an other dods.jar.</FONT></DIV>
<DIV><FONT size=3D2>Log is looked like :</FONT></DIV>
<DIV><FONT color=3D#ff0000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#ff0000=20
size=3D2>E:\enhydra-enterprise-6.2\multiserver\enhydra\myProjects\wicale&=
gt;enhydra-ant<BR>Buildfile:=20
build.xml</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000 size=3D2>dods:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000 size=3D2>init:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000=20
size=3D2>generate_data_files:<BR> [dods] Buildfil=
e:=20
E:\enhydra-enterprise-6.2\multiserver\enhydra\dods\build<BR>generate.xml<=
/FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000 size=3D2> [dods]=20
dods:copy_doml:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV><FONT size=3D2>
<DIV><BR><FONT color=3D#ff0000>BUILD FAILED</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000>java.lang.NoClassDefFoundError:=20
org/apache/xalan/processor/TransformerFactoryIm<BR>l</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.enhydra.dods.xml.XmlUtil.store(Unknown Source)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.enhydra.ant.taskdefs.DomlValidateTask.copyDoml(Unknown=20
Source)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.enhydra.ant.taskdefs.DomlValidateTask.execute(Unknown Source)</FONT><=
/DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Task.perform(Task.java:341)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Target.execute(Target.java:309)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Project.executeTargets(Project.java:1255)</FONT></DI=
V>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Main.runBuild(Main.java:609)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Main.start(Main.java:196)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Main.main(Main.java:235)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000>Total time: 9 seconds</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000>java.lang.NoClassDefFoundError:=20
org/apache/xalan/processor/TransformerFactoryIm<BR>l</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.enhydra.dods.xml.XmlUtil.store(Unknown Source)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.enhydra.ant.taskdefs.DomlValidateTask.copyDoml(Unknown=20
Source)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.enhydra.ant.taskdefs.DomlValidateTask.execute(Unknown Source)</FONT><=
/DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Task.perform(Task.java:341)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Target.execute(Target.java:309)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Project.executeTargets(Project.java:1255)</FONT></DI=
V>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Main.runBuild(Main.java:609)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Main.start(Main.java:196)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000> at=
=20
org.apache.tools.ant.Main.main(Main.java:235)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT=20
color=3D#ff0000>org/apache/xalan/processor/TransformerFactoryImpl</FONT><=
/DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><BR><FONT color=3D#ff0000>xmlc:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000>init:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000>compile_html_files:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000>compile:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000>init:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT color=3D#ff0000>compile:</FONT></DIV>
<DIV></FONT> </DIV>
<DIV><FONT size=3D2>.... (and more, but it absolutely not work)</FONT></D=
IV>
<DIV><FONT size=3D2>Anybody show me the solution ? Thanks alot !</FONT></=
DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>NGUYEN Hong Thai<BR>(M2R. Universite' Joseph Fourier)=
=20
<BR>GETA, CLIPS, IMAG-campus, BP53<BR>385, rue de la Bibliothe`que<BR>380=
41=20
Grenoble Cedex 9, France<BR>Mel: <A=20
href=3D"mailto:[email protected]">[email protected]</A><BR>=
Tel: =20
+33.4 - 7651- 4817<BR>Fax: +33.4 - 76-514405/446675<BR>Mobile: +33 (06) 8=
8 54=20
94 13</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0043_01C53F68.7245C190--