You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by am...@apache.org on 2007/05/10 17:10:00 UTC
svn commit: r536882 -
/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Author: amilas
Date: Thu May 10 08:09:58 2007
New Revision: 536882
URL: http://svn.apache.org/viewvc?view=rev&rev=536882
Log:
set the package name only if it exists.
Modified:
webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl?view=diff&rev=536882&r1=536881&r2=536882
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl Thu May 10 08:09:58 2007
@@ -59,8 +59,10 @@
* This file was auto-generated from WSDL
* by the Apache Axis2 version: #axisVersion# #today#
*/
+ <xsl:if test="string-length(normalize-space(@package)) > 0">
+ package <xsl:value-of select="@package"/>;
+ </xsl:if>
- package <xsl:value-of select="@package"/>;
/**
* <xsl:value-of select="$name"/> bean class
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org