|
From: Antoine L. <ant...@yo...> - 2012-08-29 21:43:37
|
Hi everyone, I want to create my own Authorizer class, so I had one class in Signserver-ejb to do this. In the isAuthorized method, I want to call a web service. So I add a web service client with netbeans in signserver-ejb. No problem here, when I clean and build this ejb, it works. The problem comes when I want to run : ant clean deploy for the project. The build fails because it doesn't find the generated sources (generated by jax ws). The cause is that in signserver.xmli, there is a tag javac which starts the compilation of signserver-ejb. The generated sources are not present at this moment so it fails. Why signserver-ejb is build like that and not with its build.xml ? I try to exclude this file in the javac tag, the compilation works but signserver-ejb.jar in dist-server directory does not include this file while it is present in the output jar of the module (modules/signserver-ejb/build/). Do you have any ideas to solve this problem ? Thanks a lot. Have a good afternoon. Best regards, Antoine Louiset |