NB 7.1.1 does not generate proper build-impl.xml for JAX-WS projects
--------------------------------------------------------------------

                 Key: AXIS2-5268
                 URL: https://issues.apache.org/jira/browse/AXIS2-5268
             Project: Axis2
          Issue Type: Improvement
          Components: samples, build,site
    Affects Versions: 1.6.1
         Environment: Vista / SP1 / Axis2-1.6.1 / NB 7.1.1 / GF 3.1.2 / 
Rampart-1.6.1 / mvn 3.0.5-snapshot / Java (any version)
            Reporter: Josef Stadelmann
            Priority: Minor


On NB 7.1.1 with GF3.1.2 and Java (any version) I run into the following 
problem.

I followed the NB flower album service trail. I've built the JAX-WS service, 
and it deployed well in GF; but callin the test page fails. The cause was that 
no class bytecode was compiled. The sub reason was that build-impl.xml did not 
have the proper conditional statements for src code and test code setup; they 
are somewhat empty. To know is that this build-impl.xml file gets generated.

I found the reason that this happens when the engaed java (anyversion) has a 
/jre/lib/endorsed part with jars as requested to build an use apache rampart 
for saml. To get succesfull rampart samel test during build you need 
resolver-2.9.1.jar, serializer-2.9.1.jar, xalan-2.7.1.jar, 
xercesImpl-2.9.1.jar, xml-apis-2.9.1.jar at this place; renaming the endorsed 
directory to not_endorsed cured the problem.

I suggest to either fix the issue or bespook it with apache rampart and 
NetBeans developers. 
The requirement for the endorsed directory and its content can be found at the 
rampart binary distribution in the README.

If you forget to not_endorse Axis2-1.6.1 and maybe newer version have a problem 
when it comes to build axis2-1.6.1 with mvn install.
That is the reason why I would have your attention to this problem which 
affects not only Axis2 or NB when setups are wrong but Rampart builds the other 
way arround.

So we have two products which can not use the endorsed dir and one product 
which does not build without it; who will sort this out for the rest of the 
world?

Josef.Stadelmann
@axa-winterthur.ch

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to