users@jaxb.java.net

[Fwd: Re: JAXBException [signer information does not match signer information of other classes in the same package]]

From: Srinivasan Chikkala <srinivasan.chikkala_at_Sun.COM>
Date: Fri, 12 Mar 2004 15:52:42 -0800

Hi Ed,

I tried running ant with ant -debug and also did couple of experiments
to found that when I run the jaxb unmarshalling inside the junit
framework called from junit ant task, I am having the problem, but when
I run the java task directly using ant, it is working fine. Here is the
classpaths for both

1.classpath for execution inside junit task ( ERROR)
Executing 'D:\j2sdk1.4.2_01\jre\bin\java.exe'
'-classpath'
'D:\bld\classes;
D:\jwsdp-1.3\jaxb\lib\jaxb-libs.jar;
D:\jwsdp-1.3\jaxb\lib\jaxb-api.jar;
D:\jwsdp-1.3\jaxb\lib\jaxb-impl.jar;
D:\jwsdp-1.3\jwsdp-shared\lib\relaxngDatatype.jar;
D:\jwsdp-1.3\jwsdp-shared\lib\xsdlib.jar;
D:\jwsdp-shared\lib\namespace.jar;
D:\jwsdp-1.3\jwsdp-shared\lib\jax-qname.jar;
D:\ant\lib\junit.jar;
D:\ant\lib\ant-launcher.jar;
D:\ant\lib\ant.jar;
D:\ant\lib\ant-junit.jar'
'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'


2.classpath for calling java task directly (SUCCESS)
Executing 'D:\j2sdk1.4.2_01\jre\bin\java.exe'
'-classpath'
'D:\jwsdp-1.3\jaxb\lib\jaxb-libs.jar;
D:\jwsdp-1.3\jaxb\lib\jaxb-api.jar;
D:\jwsdp-1.3\jaxb\lib\jaxb-impl.jar;
D:\jwsdp-1.3\jwsdp-shared\lib\relaxngDatatype.jar;
D:\jwsdp-1.3\jwsdp-shared\lib\xsdlib.jar;
D:\jwsdp-1.3\jwsdp-shared\lib\namespace.jar;
D:\jwsdp-1.3\jwsdp-shared\lib\jax-qname.jar;
D:\bld\classes;
D:\ant\lib\junit.jar;

I think, the ant library files that are included in first case somehow
causing this exception. I don't know why. any idea?

regards,
-chikkala

Ed Mooney wrote:

> Hi Chikkala,
>
> Not sure what's going on, but it might help to know:
>
> * Have you tried running with ant -v?
>
> * Does this happen when you use the bundled ant
> ($JWSDP_HOME/apache-ant/bin/ant)?
>
> Regards,





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net