Search code examples
javaeclipseapache-axis

Trying to create jar from Axis2 generated code


I have generated axis2 code, and I would like to use the build.xml to create a jar file.

When I try and run the build.xml I get the following error

Buildfile: /home/user/workspace/Axis2WSTest/build.xml
init:
pre.compile.test:

BUILD FAILED
/home/user/workspace/Axis2WSTest/build.xml:31: /home/user/workspace/Axis2WSTest/${env.AXIS2_HOME} does not exist.

I have tried doing

export AXIS2_HOME=/home/user/Desktop/Axis2-1.0

It binds the var correct but still getting the same error.

Any suggestions?


Solution

  • Use the setenv.sh in /bin folder of your axis2 folder