Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - purplecaesar

Pages: [1]
1
Automation Interface, Add-Ins and Tools / Re: Transformation package name
« on: December 25, 2007, 12:38:46 am »
I've found the solution that when I change the code to:
Code: [Select]

 %TRANSFORM_CURRENT("name")%
 name=%qt%%CONVERT_NAME(packageName, "Pascal Case, Spaced", "htht")%%qt%

It does works. But I wonder why in package transformation I should exclude the "name" in Transform_current but I need not do that in class transformation.

2
Automation Interface, Add-Ins and Tools / Transformation package name
« on: December 24, 2007, 12:30:19 am »
Hi,

   I want to change the package name in transformation. But the code does not work. Can anyone tell me how to do that.
Code: [Select]

%if packagePath == ""%
%list="Namespace" @separator="\n"%
%list="Class" @separator="\n"%
%endTemplate%

Package
{
 %TRANSFORM_CURRENT()%
 name=%qt%%CONVERT_NAME(packageName, "camel case", "pascal case")%%qt%
%list="Namespace" @separator="\n" @indent="  "%
%list="Class" @separator="\n" @indent="  "%
}

Pages: [1]