Also, what is the plan? We need to do this wherever we codegen right? On Mon, Mar 21, 2011 at 1:11 PM, Samisa Abeysinghe <[email protected]> wrote:
> Worked for me too. Please commit > > > On Mon, Mar 21, 2011 at 12:58 PM, Selvaratnam Uthaiyashankar < > [email protected]> wrote: > >> Yes, it solved the issue. Thanks Azeez. >> >> Regards, >> Shankar >> >> On Mon, Mar 21, 2011 at 12:52 PM, Afkham Azeez <[email protected]> wrote: >> >>> Hi folks, >>> I was able to fix this now by introducing a new classpath. I defined a >>> wsdl2java.classpath variable. This will solve the Windows long classpath >>> issue. See below: >>> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-antrun-plugin</artifactId> >>> <version>1.1</version> >>> <executions> >>> <execution> >>> <id>source-code-generation</id> >>> <phase>process-resources</phase> >>> <goals> >>> <goal>run</goal> >>> </goals> >>> <configuration> >>> <tasks> >>> *<path id="wsdl2java.classpath">* >>> * <pathelement >>> location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/1.6.1.wso2v1/axis2-client-${orbit.version.axis2}.jar"/> >>> * >>> * <pathelement >>> location="${settings.localRepository}/org/apache/axis2/wso2/axis2/1.6.1.wso2v1/axis2-${orbit.version.axis2}.jar"/> >>> * >>> * </path>* >>> <java >>> classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> >>> <arg line="-uri >>> src/main/resources/ServiceUploader.wsdl -u -uw >>> -o target/generated-code -p >>> org.wso2.carbon.aarservices.ui >>> -ns2p >>> http://aarservices.carbon.wso2.org=org.wso2.carbon.aarservices.ui, >>> http://aarservices.carbon.wso2.org/xsd=org.wso2.carbon.aarservices.ui.types.carbon >>> "/> >>> *<classpath >>> refid="wsdl2java.classpath"/>* >>> </java> >>> </tasks> >>> </configuration> >>> </execution> >>> </executions> >>> </plugin> >>> >>> -- >>> *Afkham Azeez* >>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com >>> , >>> * >>> * >>> *Member; Apache Software Foundation; >>> **http://www.apache.org/*<http://www.apache.org/> >>> * >>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>> * >>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>> * >>> * >>> *Lean . Enterprise . Middleware* >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> S.Uthaiyashankar >> Senior Architect & Senior Manager >> WSO2 Inc. >> http://wso2.com/ - "lean . enterprise . middleware" >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> Thanks, > Samisa... > > Samisa Abeysinghe > VP Engineering > WSO2 Inc. > http://wso2.com > http://wso2.org > > > > Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
