[ http://wso2.org/jira/browse/WSAS-605?page=all ]

Afkham Azeez resolved WSAS-605.
-------------------------------

    Fix Version/s: 2.2
       Resolution: Not a bug

The error message clearly indicates that the AXIS2_HOME has to be set. 
Otherwise, from where can it get the Axis2 libraries? 

The user has two options.

1. Set AXIS2_HOME and use the build.xml
2. Do an online maven2 build (the generated client ZIP file also includes a 
maven2 pom.xml), in which case, maven will figure out the dependencies

> The generated build.xml cannot be used out of the box if AXIS2_HOME is not set
> ------------------------------------------------------------------------------
>
>                 Key: WSAS-605
>                 URL: http://wso2.org/jira/browse/WSAS-605
>             Project: WSO2 WSAS
>          Issue Type: Bug
>    Affects Versions: Nightly
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>         Assigned To: Afkham Azeez
>            Priority: Critical
>             Fix For: 2.2
>
>
> Steps to reproduce:
> ============
> Make sure you don't have AXIS2_HOME env variable set in your system.
> 1. Generate server side code using the WSDL2Code page in WSAS management 
> console
> 2. This will generate a zip and extract it to local file system
> 3. Now access the extracted directory and type the command mvn eclipse:eclipse
> 4. Open ide and implement the server side skeleton
> 5. Compile and save the skelton
> 6. Now go to the extracted directory again and issue ant to generate the 
> service archive
> Here is the output,
> Buildfile: build.xml
> init:
>     [mkdir] Created dir: 
> C:\wtp\eclipseDemo\eclipse\contract-first-ws\Calculator-contrct-first\serve
> r-codegen\build
>     [mkdir] Created dir: 
> C:\wtp\eclipseDemo\eclipse\contract-first-ws\Calculator-contrct-first\serve
> r-codegen\build\classes
>     [mkdir] Created dir: 
> C:\wtp\eclipseDemo\eclipse\contract-first-ws\Calculator-contrct-first\serve
> r-codegen\build\lib
> pre.compile.test:
> BUILD FAILED
> C:\wtp\eclipseDemo\eclipse\contract-first-ws\Calculator-contrct-first\server-codegen\build.xml:30:
>  C
> :\wtp\eclipseDemo\eclipse\contract-first-ws\Calculator-contrct-first\server-codegen\${env.AXIS2_HOME
> } not found.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to