You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Stadelmann Josef <jo...@axa-winterthur.ch> on 2011/10/25 16:16:40 UTC

AW: svn commit: r1053092 - /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

Andreas

Amila

 

I like to report I had exact the same problem as Amila had, when I was doing a

$ mvn clean build 

On a fresh copy of axis2-1.6.1 from svn checked out from ../tags/v1.6.1

 

OK - my 14 day old local cash polluted? 

errors happened with JDK 1.5.0_18 and JDK 1.6.0_22 on a Vista SP2

 

Renamed my old .m2 repository to m2_old_1

Removed any mirrors from the settings.xml

$ mvn clean install

Got all files from apache central and BUILD was 100% perfect with maven-2.2.1 and JDK 1.5.0_18

 

Renamed the just well populated .m2 as m2_old_2

And added the mirror back in settings.xml to point again to our in-house nexus repository

$ mvn clean install

Got all files from our in-house nexus repository maybe indirect from apache central and BUILD was 100% perfect with maven-2.2.1 and JDK 1.5.0_18

 

So why is my local repository under .m2 

created on the 11th of October 

14 days later 

polluted with POM's that the build for axis2-1.6.1 fails with the errors you reported.

 

Josef

 

 

 

-----Ursprüngliche Nachricht-----
Von: Andreas Veithen [mailto:andreas.veithen@gmail.com] 
Gesendet: Donnerstag, 30. Dezember 2010 13:50
An: java-dev@axis.apache.org
Betreff: Re: svn commit: r1053092 - /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

 

On Wed, Dec 29, 2010 at 10:51, Amila Suriarachchi

<am...@gmail.com> wrote:

> 

> 

> On Wed, Dec 29, 2010 at 2:35 PM, Afkham Azeez <af...@gmail.com> wrote:

>> 

>> I got a full update & ran the tests. I did not get any such failures.

> 

> even Hudson build is also stable. May be a problem with my machine.

 

Could be some subtle issue caused by pollution of your local Maven

repository with incorrect POM files downloaded from a repository other

than Maven central. Can you try this with a clean local repository

(and without any special configurations in your settings.xml file)?

 

> thanks,

> Amila.

>> 

>> 

>> On Wed, Dec 29, 2010 at 8:29 AM, Amila Suriarachchi

>> <am...@gmail.com> wrote:

>>> 

>>> -------------------------------------------------------

>>>  T E S T S

>>> -------------------------------------------------------

>>> Running org.apache.axis2.saaj.SOAPConnectionTest

>>> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.033 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.TextTest

>>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.325 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.MessageFactoryTest

>>> Tests run: 5, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.226 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPFaultDetailTest

>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec

>>> Running org.apache.axis2.saaj.AttachmentSerializationTest

>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.352 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPBodyTest

>>> Tests run: 6, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.128 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPPartTest

>>> Tests run: 9, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.045 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.AttachmentTest

>>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.314

>>> sec

>>> Running org.apache.axis2.saaj.SAAJResultTest

>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec

>>> Running org.apache.axis2.saaj.PrefixesTest

>>> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.016 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPMessageTest

>>> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPElementTest

>>> Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.257

>>> sec

>>> Running org.apache.axis2.saaj.SOAPHeaderTest

>>> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.integration.IntegrationTest

>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.008 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPFactoryTest

>>> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.051 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPFaultTest

>>> Tests run: 24, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.142

>>> sec <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPNamespaceTest

>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.005 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SAAJDetailTest

>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec

>>> Running org.apache.axis2.saaj.NodeTest

>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec

>>> Running org.apache.axis2.saaj.SOAPEnvelopeTest

>>> Tests run: 19, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.073

>>> sec <<< FAILURE!

>>> 

>>> Results :

>>> 

>>> Tests in error:

>>>   testClose(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testCloseTwice(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testCallOnCloseConnection(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testGet(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testComment(org.apache.axis2.saaj.TextTest)

>>>   testCreateMessage(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testCreateMessage2(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testNewInstane(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testParseMTOMMessage(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testAttachments(org.apache.axis2.saaj.AttachmentSerializationTest)

>>>   testExtractContentAsDocument(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddAttribute(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddAttribute2(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddFault(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddSource(org.apache.axis2.saaj.SOAPPartTest)

>>>   testAddSource2(org.apache.axis2.saaj.SOAPPartTest)

>>>   testAddSource3(org.apache.axis2.saaj.SOAPPartTest)

>>>   testAddingPrefixesForChildElements(org.apache.axis2.saaj.PrefixesTest)

>>>   testAttribute(org.apache.axis2.saaj.PrefixesTest)

>>>   testAttrPrifix(org.apache.axis2.saaj.PrefixesTest)

>>>   testSaveRequired2(org.apache.axis2.saaj.SOAPMessageTest)

>>>   testHeaders(org.apache.axis2.saaj.SOAPHeaderTest)

>>>   org.apache.axis2.saaj.integration.IntegrationTest

>>>   org.apache.axis2.saaj.integration.IntegrationTest

>>>   testCreateElement2(org.apache.axis2.saaj.SOAPFactoryTest)

>>>   testFaults(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testAppendSubCode(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testAddFaultReasonText2(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testSetFaultRole(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testSetFaultNode(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testHasDetail(org.apache.axis2.saaj.SOAPFaultTest)

>>>   test(org.apache.axis2.saaj.SOAPNamespaceTest)

>>>   testEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testDetachHeader(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testDetachBody(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testEnvelope2(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>> 

>>> testEnvelopeWithCommentInEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testEnvelopeWithCommentInBody(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testEnvelopeWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testTransform(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testTransformWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>> 

>>> Tests run: 140, Failures: 0, Errors: 41, Skipped: 0

>>> 

>>> java version

>>> 

>>> java version "1.6.0_13"

>>> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)

>>> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)

>>> 

>>> 

>>> thanks,

>>> Amila.

>>> 

>>> 

>>> On Wed, Dec 29, 2010 at 3:16 AM, Andreas Veithen

>>> <an...@gmail.com> wrote:

>>>> 

>>>> What kind of error did you get in the SAAJ module?

>>>> 

>>>> Andreas

>>>> 

>>>> On Tue, Dec 28, 2010 at 02:47, Amila Suriarachchi

>>>> <am...@gmail.com> wrote:

>>>> >

>>>> >

>>>> > On Mon, Dec 27, 2010 at 9:35 PM, Andreas Veithen

>>>> > <an...@gmail.com>

>>>> > wrote:

>>>> >>

>>>> >> Guys,

>>>> >>

>>>> >> Why are you continuing to commit changes to the trunk although the

>>>> >> build is broken?

>>>> >

>>>> > Because this is the time I get to do some work :). But I am sure this

>>>> > commit

>>>> > won't worse it.

>>>> >

>>>> > I ran the integrated tests, adb-codegen, kernal and xml beans with

>>>> > tests.

>>>> > There were some problem with the SAAJ.

>>>> >

>>>> > thanks,

>>>> > Amila.

>>>> >>

>>>> >> Andreas

>>>> >>

>>>> >> On Mon, Dec 27, 2010 at 16:51,  <am...@apache.org> wrote:

>>>> >> > Author: amilas

>>>> >> > Date: Mon Dec 27 15:51:22 2010

>>>> >> > New Revision: 1053092

>>>> >> >

>>>> >> > URL: http://svn.apache.org/viewvc?rev=1053092&view=rev

>>>> >> > Log:

>>>> >> > renaming the localName variable to fix AXIS2-4849

>>>> >> >

>>>> >> > Modified:

>>>> >> >

>>>> >> >

>>>> >> >  axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> >

>>>> >> > Modified:

>>>> >> >

>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> > URL:

>>>> >> >

>>>> >> > http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl?rev=1053092&r1=1053091&r2=1053092&view=diff

>>>> >> >

>>>> >> >

>>>> >> > ==============================================================================

>>>> >> > ---

>>>> >> >

>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> > (original)

>>>> >> > +++

>>>> >> >

>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> > Mon Dec 27 15:51:22 2010

>>>> >> > @@ -1302,13 +1302,13 @@

>>>> >> >                     <xsl:otherwise>

>>>> >> >                         <xsl:if test="not(property/@simple)">

>>>> >> >                             java.lang.String namespace =

>>>> >> > "<xsl:value-of

>>>> >> > select="property/@nsuri"/>";

>>>> >> > -                            java.lang.String localName =

>>>> >> > "<xsl:value-of

>>>> >> > select="$propertyName"/>";

>>>> >> > +                            java.lang.String _localName =

>>>> >> > "<xsl:value-of select="$propertyName"/>";

>>>> >> >                         </xsl:if>

>>>> >> >                         <xsl:if test="property/@simple">

>>>> >> >                             java.lang.String namespace =

>>>> >> > parentQName.getNamespaceURI();

>>>> >> > -                            java.lang.String localName =

>>>> >> > parentQName.getLocalPart();

>>>> >> > +                            java.lang.String _localName =

>>>> >> > parentQName.getLocalPart();

>>>> >> >                         </xsl:if>

>>>> >> > -                            writeStartElement(null, namespace,

>>>> >> > localName, xmlWriter);

>>>> >> > +                            writeStartElement(null, namespace,

>>>> >> > _localName, xmlWriter);

>>>> >> >

>>>> >> >                             // add the type details if this is used

>>>> >> > in a

>>>> >> > simple type

>>>> >> >                                if (serializeType){

>>>> >> >

>>>> >> >

>>>> >> >

>>>> >>

>>>> >> ---------------------------------------------------------------------

>>>> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org

>>>> >> For additional commands, e-mail: java-dev-help@axis.apache.org

>>>> >>

>>>> >

>>>> >

>>>> >

>>>> > --

>>>> > Amila Suriarachchi

>>>> > WSO2 Inc.

>>>> > blog: http://amilachinthaka.blogspot.com/

>>>> >

>>>> 

>>>> ---------------------------------------------------------------------

>>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org

>>>> For additional commands, e-mail: java-dev-help@axis.apache.org

>>>> 

>>> 

>>> 

>>> 

>>> --

>>> Amila Suriarachchi

>>> WSO2 Inc.

>>> blog: http://amilachinthaka.blogspot.com/

>>> 

>>> 

>>> ---------------------------------------------------------------------

>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org

>>> For additional commands, e-mail: java-dev-help@axis.apache.org

>> 

>> 

>> 

>> --

>> Afkham Azeez

>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,

>> 

>> Member; Apache Software Foundation; http://www.apache.org/

>> email: azeez@wso2.com cell: +94 77 3320919

>> blog: http://blog.afkham.org

>> twitter: http://twitter.com/afkham_azeez

>> linked-in: http://lk.linkedin.com/in/afkhamazeez

>> 

>> Lean . Enterprise . Middleware

>> 

> 

> 

> 

> --

> Amila Suriarachchi

> WSO2 Inc.

> blog: http://amilachinthaka.blogspot.com/

> 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org

For additional commands, e-mail: java-dev-help@axis.apache.org

 


Re: svn commit: r1053092 - /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

Posted by Andreas Veithen <an...@gmail.com>.
There were actually two issues with the Rampart build:

* The fact that on some JDKs (primarily the 1.5 JDKs distributed by
Sun/Oracle for Windows and Linux; the 1.5 JDK on Mac OS X works fine),
it is required to add JARs to the endorsed directory. That is
obviously in contradiction with best practices for Maven builds: it
should be the responsibility of the build to set up the JVM with
everything that is required to run the test suite. I've modified the
Rampart build so that it adds these JARs to the boot classpath when
running the tests, and I checked that this solves the issue on
1.5.0_19 for Linux.

* The success of the test suite was depending on the order in which
tests are executed, because OpenSAML was not always initialized
properly.

I've fixed both issues for the 1.5, 1.6 and 1.7 snapshot builds.

Andreas

On Tue, Oct 25, 2011 at 16:53, Stadelmann Josef
<jo...@axa-winterthur.ch> wrote:
> Hi Andreas,
>
>
>
> You remember that I was just to build Rampart 1.6.1 yesterday which failed
> with JDK 1.5.0_18 on Vista
>
>
>
> Then I found out that I have to copy some important jar files, else two Saml
> Test would not run.
>
> All mentioned in the release notes of rampart into
> %java_home%\jre\lib\endorsed
>
>
>
> resolver-2.9.1.jar
>
> serializer-2.9.1.jar
>
> xercesImpl-2.9.1.jar
>
> xml-apis-2.9.2.jar
>
> xalan-2.7.12.jar
>
>
>
>
>
> So I copied them to %java_home%\jre\lib\endorsed
>
> And I could build Rampart 1.6.1 successfully with
>
> $mvn clean install
>
>
>
> all this jar's are found in the Rampart 1.6.1 kit,
>
> so I just wondered me why they are not just put theire being so important
>
> that mvn can build a Rampart kit success full with JDK 1.5.0
>
> Anyway, I did as reported yesterday, and got a well performing Rampart
> Build.
>
>
>
>
>
> Then I found again, reading release notes that Rampart 1.6.1 needs
> Axis2-1.6.1, Unfortunately I had only Axis-1.6.0
>
>
>
>
>
> Currently I am building axis2-1.6.1 to comply with this release notes.
>
> BUT as reported today, I struggle mainly with SAAJ test errors as Amila had.
>
>
>
>
>
>
>
> Now I have tow setups and observed effects to report:
>
>
>
> A: I renamed the %java_home%\jre\lib\endorsed directory to
> renamed_by_sepp_endorsed      containin the 5 mentioned jars and the
>
> $ mvn clean install
>
> Perfectly builds axis2-1.6.1 with mvn 2.2.1 and jdk 1.5.0_18 on Vista SP2
>
>
>
> B:
>
> But when I keep
>
> $ %java_home%\jre\lib\endorsed  with this 5 jars the build of
>
> $ mvn clean install for axis2-1.6.1                     fails to build
> axis2-1.6.1   in the SAAJ component (maybe in later components as well)
>
>
>
>
>
> I just want to report you that and I have no clue what either Axis2-1.6.1 or
> Ramapart-1.6.1 expects in the endorsed directory nor
>
> If this files have to be on the runtime classpath for axis2/rampart to work
> or not nor what the proposed setup is that both Axis2-1.6.1 and
> rampart-1.6.1 can build error free.
>
>
>
> Please  advise me as this is a bit clumsy to work.
>
>
>
> Thank you very much
>
>
>
> Josef
>
>
>
>
>
>
>
>
>
> Von: Stadelmann Josef [mailto:josef.stadelmann@axa-winterthur.ch]
> Gesendet: Dienstag, 25. Oktober 2011 16:17
> An: java-dev@axis.apache.org
> Betreff: AW: svn commit: r1053092 -
> /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl
>
>
>
> Andreas
>
> Amila
>
>
>
> I like to report I had exact the same problem as Amila had, when I was doing
> a
>
> $ mvn clean build
>
> On a fresh copy of axis2-1.6.1 from svn checked out from ../tags/v1.6.1
>
>
>
> OK - my 14 day old local cash polluted?
>
> errors happened with JDK 1.5.0_18 and JDK 1.6.0_22 on a Vista SP2
>
>
>
> Renamed my old .m2 repository to m2_old_1
>
> Removed any mirrors from the settings.xml
>
> $ mvn clean install
>
> Got all files from apache central and BUILD was 100% perfect with
> maven-2.2.1 and JDK 1.5.0_18
>
>
>
> Renamed the just well populated .m2 as m2_old_2
>
> And added the mirror back in settings.xml to point again to our in-house
> nexus repository
>
> $ mvn clean install
>
> Got all files from our in-house nexus repository maybe indirect from apache
> central and BUILD was 100% perfect with maven-2.2.1 and JDK 1.5.0_18
>
>
>
> So why is my local repository under .m2
>
> created on the 11th of October
>
> 14 days later
>
> polluted with POM's that the build for axis2-1.6.1 fails with the errors you
> reported.
>
>
>
> Josef
>
>
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Gesendet: Donnerstag, 30. Dezember 2010 13:50
> An: java-dev@axis.apache.org
> Betreff: Re: svn commit: r1053092 -
> /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl
>
>
>
> On Wed, Dec 29, 2010 at 10:51, Amila Suriarachchi
>
> <am...@gmail.com> wrote:
>
>>
>
>>
>
>> On Wed, Dec 29, 2010 at 2:35 PM, Afkham Azeez <af...@gmail.com> wrote:
>
>>>
>
>>> I got a full update & ran the tests. I did not get any such failures.
>
>>
>
>> even Hudson build is also stable. May be a problem with my machine.
>
>
>
> Could be some subtle issue caused by pollution of your local Maven
>
> repository with incorrect POM files downloaded from a repository other
>
> than Maven central. Can you try this with a clean local repository
>
> (and without any special configurations in your settings.xml file)?
>
>
>
>> thanks,
>
>> Amila.
>
>>>
>
>>>
>
>>> On Wed, Dec 29, 2010 at 8:29 AM, Amila Suriarachchi
>
>>> <am...@gmail.com> wrote:
>
>>>>
>
>>>> -------------------------------------------------------
>
>>>>  T E S T S
>
>>>> -------------------------------------------------------
>
>>>> Running org.apache.axis2.saaj.SOAPConnectionTest
>
>>>> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.033
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.TextTest
>
>>>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.325
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.MessageFactoryTest
>
>>>> Tests run: 5, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.226
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.SOAPFaultDetailTest
>
>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022
>>>> sec
>
>>>> Running org.apache.axis2.saaj.AttachmentSerializationTest
>
>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.352
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.SOAPBodyTest
>
>>>> Tests run: 6, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.128
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.SOAPPartTest
>
>>>> Tests run: 9, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.045
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.AttachmentTest
>
>>>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.314
>
>>>> sec
>
>>>> Running org.apache.axis2.saaj.SAAJResultTest
>
>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005
>>>> sec
>
>>>> Running org.apache.axis2.saaj.PrefixesTest
>
>>>> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.016
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.SOAPMessageTest
>
>>>> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.SOAPElementTest
>
>>>> Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.257
>
>>>> sec
>
>>>> Running org.apache.axis2.saaj.SOAPHeaderTest
>
>>>> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.integration.IntegrationTest
>
>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.008
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.SOAPFactoryTest
>
>>>> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.051
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.SOAPFaultTest
>
>>>> Tests run: 24, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.142
>
>>>> sec <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.SOAPNamespaceTest
>
>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.005
>>>> sec
>
>>>> <<< FAILURE!
>
>>>> Running org.apache.axis2.saaj.SAAJDetailTest
>
>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007
>>>> sec
>
>>>> Running org.apache.axis2.saaj.NodeTest
>
>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011
>>>> sec
>
>>>> Running org.apache.axis2.saaj.SOAPEnvelopeTest
>
>>>> Tests run: 19, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.073
>
>>>> sec <<< FAILURE!
>
>>>>
>
>>>> Results :
>
>>>>
>
>>>> Tests in error:
>
>>>>   testClose(org.apache.axis2.saaj.SOAPConnectionTest)
>
>>>>   testCloseTwice(org.apache.axis2.saaj.SOAPConnectionTest)
>
>>>>   testCallOnCloseConnection(org.apache.axis2.saaj.SOAPConnectionTest)
>
>>>>   testGet(org.apache.axis2.saaj.SOAPConnectionTest)
>
>>>>   testComment(org.apache.axis2.saaj.TextTest)
>
>>>>   testCreateMessage(org.apache.axis2.saaj.MessageFactoryTest)
>
>>>>   testCreateMessage2(org.apache.axis2.saaj.MessageFactoryTest)
>
>>>>   testNewInstane(org.apache.axis2.saaj.MessageFactoryTest)
>
>>>>   testParseMTOMMessage(org.apache.axis2.saaj.MessageFactoryTest)
>
>>>>   testAttachments(org.apache.axis2.saaj.AttachmentSerializationTest)
>
>>>>   testExtractContentAsDocument(org.apache.axis2.saaj.SOAPBodyTest)
>
>>>>   testAddAttribute(org.apache.axis2.saaj.SOAPBodyTest)
>
>>>>   testAddAttribute2(org.apache.axis2.saaj.SOAPBodyTest)
>
>>>>   testAddFault(org.apache.axis2.saaj.SOAPBodyTest)
>
>>>>   testAddSource(org.apache.axis2.saaj.SOAPPartTest)
>
>>>>   testAddSource2(org.apache.axis2.saaj.SOAPPartTest)
>
>>>>   testAddSource3(org.apache.axis2.saaj.SOAPPartTest)
>
>>>>   testAddingPrefixesForChildElements(org.apache.axis2.saaj.PrefixesTest)
>
>>>>   testAttribute(org.apache.axis2.saaj.PrefixesTest)
>
>>>>   testAttrPrifix(org.apache.axis2.saaj.PrefixesTest)
>
>>>>   testSaveRequired2(org.apache.axis2.saaj.SOAPMessageTest)
>
>>>>   testHeaders(org.apache.axis2.saaj.SOAPHeaderTest)
>
>>>>   org.apache.axis2.saaj.integration.IntegrationTest
>
>>>>   org.apache.axis2.saaj.integration.IntegrationTest
>
>>>>   testCreateElement2(org.apache.axis2.saaj.SOAPFactoryTest)
>
>>>>   testFaults(org.apache.axis2.saaj.SOAPFaultTest)
>
>>>>   testAppendSubCode(org.apache.axis2.saaj.SOAPFaultTest)
>
>>>>   testAddFaultReasonText2(org.apache.axis2.saaj.SOAPFaultTest)
>
>>>>   testSetFaultRole(org.apache.axis2.saaj.SOAPFaultTest)
>
>>>>   testSetFaultNode(org.apache.axis2.saaj.SOAPFaultTest)
>
>>>>   testHasDetail(org.apache.axis2.saaj.SOAPFaultTest)
>
>>>>   test(org.apache.axis2.saaj.SOAPNamespaceTest)
>
>>>>   testEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest)
>
>>>>   testDetachHeader(org.apache.axis2.saaj.SOAPEnvelopeTest)
>
>>>>   testDetachBody(org.apache.axis2.saaj.SOAPEnvelopeTest)
>
>>>>   testEnvelope2(org.apache.axis2.saaj.SOAPEnvelopeTest)
>
>>>>
>
>>>>
>>>> testEnvelopeWithCommentInEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest)
>
>>>>   testEnvelopeWithCommentInBody(org.apache.axis2.saaj.SOAPEnvelopeTest)
>
>>>>   testEnvelopeWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest)
>
>>>>   testTransform(org.apache.axis2.saaj.SOAPEnvelopeTest)
>
>>>>   testTransformWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest)
>
>>>>
>
>>>> Tests run: 140, Failures: 0, Errors: 41, Skipped: 0
>
>>>>
>
>>>> java version
>
>>>>
>
>>>> java version "1.6.0_13"
>
>>>> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
>
>>>> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
>
>>>>
>
>>>>
>
>>>> thanks,
>
>>>> Amila.
>
>>>>
>
>>>>
>
>>>> On Wed, Dec 29, 2010 at 3:16 AM, Andreas Veithen
>
>>>> <an...@gmail.com> wrote:
>
>>>>>
>
>>>>> What kind of error did you get in the SAAJ module?
>
>>>>>
>
>>>>> Andreas
>
>>>>>
>
>>>>> On Tue, Dec 28, 2010 at 02:47, Amila Suriarachchi
>
>>>>> <am...@gmail.com> wrote:
>
>>>>> >
>
>>>>> >
>
>>>>> > On Mon, Dec 27, 2010 at 9:35 PM, Andreas Veithen
>
>>>>> > <an...@gmail.com>
>
>>>>> > wrote:
>
>>>>> >>
>
>>>>> >> Guys,
>
>>>>> >>
>
>>>>> >> Why are you continuing to commit changes to the trunk although the
>
>>>>> >> build is broken?
>
>>>>> >
>
>>>>> > Because this is the time I get to do some work :). But I am sure this
>
>>>>> > commit
>
>>>>> > won't worse it.
>
>>>>> >
>
>>>>> > I ran the integrated tests, adb-codegen, kernal and xml beans with
>
>>>>> > tests.
>
>>>>> > There were some problem with the SAAJ.
>
>>>>> >
>
>>>>> > thanks,
>
>>>>> > Amila.
>
>>>>> >>
>
>>>>> >> Andreas
>
>>>>> >>
>
>>>>> >> On Mon, Dec 27, 2010 at 16:51,  <am...@apache.org> wrote:
>
>>>>> >> > Author: amilas
>
>>>>> >> > Date: Mon Dec 27 15:51:22 2010
>
>>>>> >> > New Revision: 1053092
>
>>>>> >> >
>
>>>>> >> > URL: http://svn.apache.org/viewvc?rev=1053092&view=rev
>
>>>>> >> > Log:
>
>>>>> >> > renaming the localName variable to fix AXIS2-4849
>
>>>>> >> >
>
>>>>> >> > Modified:
>
>>>>> >> >
>
>>>>> >> >
>
>>>>> >> >
>>>>> >> >  axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl
>
>>>>> >> >
>
>>>>> >> > Modified:
>
>>>>> >> >
>
>>>>> >> >
>>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl
>
>>>>> >> > URL:
>
>>>>> >> >
>
>>>>> >> >
>>>>> >> > http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl?rev=1053092&r1=1053091&r2=1053092&view=diff
>
>>>>> >> >
>
>>>>> >> >
>
>>>>> >> >
>>>>> >> > ==============================================================================
>
>>>>> >> > ---
>
>>>>> >> >
>
>>>>> >> >
>>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl
>
>>>>> >> > (original)
>
>>>>> >> > +++
>
>>>>> >> >
>
>>>>> >> >
>>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl
>
>>>>> >> > Mon Dec 27 15:51:22 2010
>
>>>>> >> > @@ -1302,13 +1302,13 @@
>
>>>>> >> >                     <xsl:otherwise>
>
>>>>> >> >                         <xsl:if test="not(property/@simple)">
>
>>>>> >> >                             java.lang.String namespace =
>
>>>>> >> > "<xsl:value-of
>
>>>>> >> > select="property/@nsuri"/>";
>
>>>>> >> > -                            java.lang.String localName =
>
>>>>> >> > "<xsl:value-of
>
>>>>> >> > select="$propertyName"/>";
>
>>>>> >> > +                            java.lang.String _localName =
>
>>>>> >> > "<xsl:value-of select="$propertyName"/>";
>
>>>>> >> >                         </xsl:if>
>
>>>>> >> >                         <xsl:if test="property/@simple">
>
>>>>> >> >                             java.lang.String namespace =
>
>>>>> >> > parentQName.getNamespaceURI();
>
>>>>> >> > -                            java.lang.String localName =
>
>>>>> >> > parentQName.getLocalPart();
>
>>>>> >> > +                            java.lang.String _localName =
>
>>>>> >> > parentQName.getLocalPart();
>
>>>>> >> >                         </xsl:if>
>
>>>>> >> > -                            writeStartElement(null, namespace,
>
>>>>> >> > localName, xmlWriter);
>
>>>>> >> > +                            writeStartElement(null, namespace,
>
>>>>> >> > _localName, xmlWriter);
>
>>>>> >> >
>
>>>>> >> >                             // add the type details if this is
>>>>> >> > used
>
>>>>> >> > in a
>
>>>>> >> > simple type
>
>>>>> >> >                                if (serializeType){
>
>>>>> >> >
>
>>>>> >> >
>
>>>>> >> >
>
>>>>> >>
>
>>>>> >>
>>>>> >> ---------------------------------------------------------------------
>
>>>>> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>
>>>>> >> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>>>>> >>
>
>>>>> >
>
>>>>> >
>
>>>>> >
>
>>>>> > --
>
>>>>> > Amila Suriarachchi
>
>>>>> > WSO2 Inc.
>
>>>>> > blog: http://amilachinthaka.blogspot.com/
>
>>>>> >
>
>>>>>
>
>>>>> ---------------------------------------------------------------------
>
>>>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>
>>>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>>>>>
>
>>>>
>
>>>>
>
>>>>
>
>>>> --
>
>>>> Amila Suriarachchi
>
>>>> WSO2 Inc.
>
>>>> blog: http://amilachinthaka.blogspot.com/
>
>>>>
>
>>>>
>
>>>> ---------------------------------------------------------------------
>
>>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>
>>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>>>
>
>>>
>
>>>
>
>>> --
>
>>> Afkham Azeez
>
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>
>>>
>
>>> Member; Apache Software Foundation; http://www.apache.org/
>
>>> email: azeez@wso2.com cell: +94 77 3320919
>
>>> blog: http://blog.afkham.org
>
>>> twitter: http://twitter.com/afkham_azeez
>
>>> linked-in: http://lk.linkedin.com/in/afkhamazeez
>
>>>
>
>>> Lean . Enterprise . Middleware
>
>>>
>
>>
>
>>
>
>>
>
>> --
>
>> Amila Suriarachchi
>
>> WSO2 Inc.
>
>> blog: http://amilachinthaka.blogspot.com/
>
>>
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


AW: svn commit: r1053092 - /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
Hi Andreas,

 

You remember that I was just to build Rampart 1.6.1 yesterday which failed with JDK 1.5.0_18 on Vista

 

Then I found out that I have to copy some important jar files, else two Saml Test would not run. 

All mentioned in the release notes of rampart into %java_home%\jre\lib\endorsed

 

resolver-2.9.1.jar

serializer-2.9.1.jar

xercesImpl-2.9.1.jar

xml-apis-2.9.2.jar

xalan-2.7.12.jar

 

 

So I copied them to %java_home%\jre\lib\endorsed 

And I could build Rampart 1.6.1 successfully with 

$mvn clean install

 

all this jar's are found in the Rampart 1.6.1 kit, 

so I just wondered me why they are not just put theire being so important 

that mvn can build a Rampart kit success full with JDK 1.5.0

Anyway, I did as reported yesterday, and got a well performing Rampart Build.

 

 

Then I found again, reading release notes that Rampart 1.6.1 needs Axis2-1.6.1, Unfortunately I had only Axis-1.6.0

 

 

Currently I am building axis2-1.6.1 to comply with this release notes.

BUT as reported today, I struggle mainly with SAAJ test errors as Amila had.

 

 

 

Now I have tow setups and observed effects to report:

 

A: I renamed the %java_home%\jre\lib\endorsed directory to renamed_by_sepp_endorsed      containin the 5 mentioned jars and the

$ mvn clean install 

Perfectly builds axis2-1.6.1 with mvn 2.2.1 and jdk 1.5.0_18 on Vista SP2

 

B:

But when I keep 

$ %java_home%\jre\lib\endorsed  with this 5 jars the build of

$ mvn clean install for axis2-1.6.1                     fails to build axis2-1.6.1   in the SAAJ component (maybe in later components as well)

 

 

I just want to report you that and I have no clue what either Axis2-1.6.1 or Ramapart-1.6.1 expects in the endorsed directory nor 

If this files have to be on the runtime classpath for axis2/rampart to work or not nor what the proposed setup is that both Axis2-1.6.1 and rampart-1.6.1 can build error free.

 

Please  advise me as this is a bit clumsy to work.

 

Thank you very much

 

Josef

 

 

 

 

Von: Stadelmann Josef [mailto:josef.stadelmann@axa-winterthur.ch] 
Gesendet: Dienstag, 25. Oktober 2011 16:17
An: java-dev@axis.apache.org
Betreff: AW: svn commit: r1053092 - /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

 

Andreas

Amila

 

I like to report I had exact the same problem as Amila had, when I was doing a

$ mvn clean build 

On a fresh copy of axis2-1.6.1 from svn checked out from ../tags/v1.6.1

 

OK - my 14 day old local cash polluted? 

errors happened with JDK 1.5.0_18 and JDK 1.6.0_22 on a Vista SP2

 

Renamed my old .m2 repository to m2_old_1

Removed any mirrors from the settings.xml

$ mvn clean install

Got all files from apache central and BUILD was 100% perfect with maven-2.2.1 and JDK 1.5.0_18

 

Renamed the just well populated .m2 as m2_old_2

And added the mirror back in settings.xml to point again to our in-house nexus repository

$ mvn clean install

Got all files from our in-house nexus repository maybe indirect from apache central and BUILD was 100% perfect with maven-2.2.1 and JDK 1.5.0_18

 

So why is my local repository under .m2 

created on the 11th of October 

14 days later 

polluted with POM's that the build for axis2-1.6.1 fails with the errors you reported.

 

Josef

 

 

 

-----Ursprüngliche Nachricht-----
Von: Andreas Veithen [mailto:andreas.veithen@gmail.com] 
Gesendet: Donnerstag, 30. Dezember 2010 13:50
An: java-dev@axis.apache.org
Betreff: Re: svn commit: r1053092 - /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

 

On Wed, Dec 29, 2010 at 10:51, Amila Suriarachchi

<am...@gmail.com> wrote:

> 

> 

> On Wed, Dec 29, 2010 at 2:35 PM, Afkham Azeez <af...@gmail.com> wrote:

>> 

>> I got a full update & ran the tests. I did not get any such failures.

> 

> even Hudson build is also stable. May be a problem with my machine.

 

Could be some subtle issue caused by pollution of your local Maven

repository with incorrect POM files downloaded from a repository other

than Maven central. Can you try this with a clean local repository

(and without any special configurations in your settings.xml file)?

 

> thanks,

> Amila.

>> 

>> 

>> On Wed, Dec 29, 2010 at 8:29 AM, Amila Suriarachchi

>> <am...@gmail.com> wrote:

>>> 

>>> -------------------------------------------------------

>>>  T E S T S

>>> -------------------------------------------------------

>>> Running org.apache.axis2.saaj.SOAPConnectionTest

>>> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.033 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.TextTest

>>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.325 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.MessageFactoryTest

>>> Tests run: 5, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.226 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPFaultDetailTest

>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec

>>> Running org.apache.axis2.saaj.AttachmentSerializationTest

>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.352 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPBodyTest

>>> Tests run: 6, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.128 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPPartTest

>>> Tests run: 9, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.045 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.AttachmentTest

>>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.314

>>> sec

>>> Running org.apache.axis2.saaj.SAAJResultTest

>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec

>>> Running org.apache.axis2.saaj.PrefixesTest

>>> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.016 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPMessageTest

>>> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPElementTest

>>> Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.257

>>> sec

>>> Running org.apache.axis2.saaj.SOAPHeaderTest

>>> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.integration.IntegrationTest

>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.008 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPFactoryTest

>>> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.051 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPFaultTest

>>> Tests run: 24, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.142

>>> sec <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPNamespaceTest

>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.005 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SAAJDetailTest

>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec

>>> Running org.apache.axis2.saaj.NodeTest

>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec

>>> Running org.apache.axis2.saaj.SOAPEnvelopeTest

>>> Tests run: 19, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.073

>>> sec <<< FAILURE!

>>> 

>>> Results :

>>> 

>>> Tests in error:

>>>   testClose(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testCloseTwice(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testCallOnCloseConnection(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testGet(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testComment(org.apache.axis2.saaj.TextTest)

>>>   testCreateMessage(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testCreateMessage2(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testNewInstane(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testParseMTOMMessage(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testAttachments(org.apache.axis2.saaj.AttachmentSerializationTest)

>>>   testExtractContentAsDocument(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddAttribute(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddAttribute2(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddFault(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddSource(org.apache.axis2.saaj.SOAPPartTest)

>>>   testAddSource2(org.apache.axis2.saaj.SOAPPartTest)

>>>   testAddSource3(org.apache.axis2.saaj.SOAPPartTest)

>>>   testAddingPrefixesForChildElements(org.apache.axis2.saaj.PrefixesTest)

>>>   testAttribute(org.apache.axis2.saaj.PrefixesTest)

>>>   testAttrPrifix(org.apache.axis2.saaj.PrefixesTest)

>>>   testSaveRequired2(org.apache.axis2.saaj.SOAPMessageTest)

>>>   testHeaders(org.apache.axis2.saaj.SOAPHeaderTest)

>>>   org.apache.axis2.saaj.integration.IntegrationTest

>>>   org.apache.axis2.saaj.integration.IntegrationTest

>>>   testCreateElement2(org.apache.axis2.saaj.SOAPFactoryTest)

>>>   testFaults(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testAppendSubCode(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testAddFaultReasonText2(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testSetFaultRole(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testSetFaultNode(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testHasDetail(org.apache.axis2.saaj.SOAPFaultTest)

>>>   test(org.apache.axis2.saaj.SOAPNamespaceTest)

>>>   testEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testDetachHeader(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testDetachBody(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testEnvelope2(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>> 

>>> testEnvelopeWithCommentInEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testEnvelopeWithCommentInBody(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testEnvelopeWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testTransform(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testTransformWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>> 

>>> Tests run: 140, Failures: 0, Errors: 41, Skipped: 0

>>> 

>>> java version

>>> 

>>> java version "1.6.0_13"

>>> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)

>>> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)

>>> 

>>> 

>>> thanks,

>>> Amila.

>>> 

>>> 

>>> On Wed, Dec 29, 2010 at 3:16 AM, Andreas Veithen

>>> <an...@gmail.com> wrote:

>>>> 

>>>> What kind of error did you get in the SAAJ module?

>>>> 

>>>> Andreas

>>>> 

>>>> On Tue, Dec 28, 2010 at 02:47, Amila Suriarachchi

>>>> <am...@gmail.com> wrote:

>>>> >

>>>> >

>>>> > On Mon, Dec 27, 2010 at 9:35 PM, Andreas Veithen

>>>> > <an...@gmail.com>

>>>> > wrote:

>>>> >>

>>>> >> Guys,

>>>> >>

>>>> >> Why are you continuing to commit changes to the trunk although the

>>>> >> build is broken?

>>>> >

>>>> > Because this is the time I get to do some work :). But I am sure this

>>>> > commit

>>>> > won't worse it.

>>>> >

>>>> > I ran the integrated tests, adb-codegen, kernal and xml beans with

>>>> > tests.

>>>> > There were some problem with the SAAJ.

>>>> >

>>>> > thanks,

>>>> > Amila.

>>>> >>

>>>> >> Andreas

>>>> >>

>>>> >> On Mon, Dec 27, 2010 at 16:51,  <am...@apache.org> wrote:

>>>> >> > Author: amilas

>>>> >> > Date: Mon Dec 27 15:51:22 2010

>>>> >> > New Revision: 1053092

>>>> >> >

>>>> >> > URL: http://svn.apache.org/viewvc?rev=1053092&view=rev

>>>> >> > Log:

>>>> >> > renaming the localName variable to fix AXIS2-4849

>>>> >> >

>>>> >> > Modified:

>>>> >> >

>>>> >> >

>>>> >> >  axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> >

>>>> >> > Modified:

>>>> >> >

>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> > URL:

>>>> >> >

>>>> >> > http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl?rev=1053092&r1=1053091&r2=1053092&view=diff

>>>> >> >

>>>> >> >

>>>> >> > ==============================================================================

>>>> >> > ---

>>>> >> >

>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> > (original)

>>>> >> > +++

>>>> >> >

>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> > Mon Dec 27 15:51:22 2010

>>>> >> > @@ -1302,13 +1302,13 @@

>>>> >> >                     <xsl:otherwise>

>>>> >> >                         <xsl:if test="not(property/@simple)">

>>>> >> >                             java.lang.String namespace =

>>>> >> > "<xsl:value-of

>>>> >> > select="property/@nsuri"/>";

>>>> >> > -                            java.lang.String localName =

>>>> >> > "<xsl:value-of

>>>> >> > select="$propertyName"/>";

>>>> >> > +                            java.lang.String _localName =

>>>> >> > "<xsl:value-of select="$propertyName"/>";

>>>> >> >                         </xsl:if>

>>>> >> >                         <xsl:if test="property/@simple">

>>>> >> >                             java.lang.String namespace =

>>>> >> > parentQName.getNamespaceURI();

>>>> >> > -                            java.lang.String localName =

>>>> >> > parentQName.getLocalPart();

>>>> >> > +                            java.lang.String _localName =

>>>> >> > parentQName.getLocalPart();

>>>> >> >                         </xsl:if>

>>>> >> > -                            writeStartElement(null, namespace,

>>>> >> > localName, xmlWriter);

>>>> >> > +                            writeStartElement(null, namespace,

>>>> >> > _localName, xmlWriter);

>>>> >> >

>>>> >> >                             // add the type details if this is used

>>>> >> > in a

>>>> >> > simple type

>>>> >> >                                if (serializeType){

>>>> >> >

>>>> >> >

>>>> >> >

>>>> >>

>>>> >> ---------------------------------------------------------------------

>>>> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org

>>>> >> For additional commands, e-mail: java-dev-help@axis.apache.org

>>>> >>

>>>> >

>>>> >

>>>> >

>>>> > --

>>>> > Amila Suriarachchi

>>>> > WSO2 Inc.

>>>> > blog: http://amilachinthaka.blogspot.com/

>>>> >

>>>> 

>>>> ---------------------------------------------------------------------

>>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org

>>>> For additional commands, e-mail: java-dev-help@axis.apache.org

>>>> 

>>> 

>>> 

>>> 

>>> --

>>> Amila Suriarachchi

>>> WSO2 Inc.

>>> blog: http://amilachinthaka.blogspot.com/

>>> 

>>> 

>>> ---------------------------------------------------------------------

>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org

>>> For additional commands, e-mail: java-dev-help@axis.apache.org

>> 

>> 

>> 

>> --

>> Afkham Azeez

>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,

>> 

>> Member; Apache Software Foundation; http://www.apache.org/

>> email: azeez@wso2.com cell: +94 77 3320919

>> blog: http://blog.afkham.org

>> twitter: http://twitter.com/afkham_azeez

>> linked-in: http://lk.linkedin.com/in/afkhamazeez

>> 

>> Lean . Enterprise . Middleware

>> 

> 

> 

> 

> --

> Amila Suriarachchi

> WSO2 Inc.

> blog: http://amilachinthaka.blogspot.com/

> 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org

For additional commands, e-mail: java-dev-help@axis.apache.org