Hi,
I've previously had some problems with compiling Axis2 source code, mainly
due to issues with tests failing during compilation. I've tried jdk 6 and 5,
and many other tweak, but I could not manage to get maven compile sources
without any errors. I've decided to try something different, and I've setup
Ubuntu 8.04. Switching from XP sp2 to Ubuntu worked for me, and I've managed
to compile both Axis2 1.4 source release and the latest code I've checked
out from svn using both jdk 5 and 6
However, I could not compile 1.3, neither with jdk5 nor with 6. Actually jdk
6 appears to be a no go for 1.3 anyway. Tests still fail (2 failures
actually)  for 1.3 with maven 2.0.9 .
The feedback is: there are still ant build files and instructions in readme
files. However, some of the instructions related to ant are out of date. For
example to create eclipse plugin projects, if you choose the ant way, you
are expected to do a "maven create-lib" according to docs, but this is not
possible, since maven is used in maven 1.x and mvn is used in maven 2. Axis2
uses maven 2 so this part of the doc is broken I guess. The doc does not
mention that you can do mvn eclipse:eclipse in eclipse tools dirs to get
plugin projects, and when you do that, the libs that the plugin project
require are not copied to lib folder of the generated project.
Overall, the process requires a little digging, considerably more if you are
not used to maven, and I've still not managed to get 1.3 source to compile.
Still, I'm very glad that I've reached a point where I can see the bigger
picture much better, and I'd like to thank to all contributers for making
such a great piece of work available.

All the best
Seref

Reply via email to