On 09/12/2009, at 1:13 AM, Mike Schrag wrote:
> isn't this all velocity templates now?
For the ant tasks, it would appear not.
> On Dec 7, 2009, at 6:53 PM, qdola..bjectstyle.org wrote:
>
>> Author: qdolan
>> Date: 2009-12-07 18:52:56 -0500 (Mon, 07 Dec 2009)
>> New Revision: 6021
>>
>> Modified:
>> branches/eclipse_3_5/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOFramework.java
>> Log:
>> Fix for WOFramework to include EOAdaptorClassName in the Info.plist file
>> Not sure how to do this "correctly" in this codebase, but this works for now.
>>
>> Modified: branches/eclipse_3_5/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOFramework.java
>> ===================================================================
>> --- branches/eclipse_3_5/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOFramework.java 2009-12-07 23:43:48 UTC (rev 6020)
>> +++ branches/eclipse_3_5/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOFramework.java 2009-12-07 23:52:56 UTC (rev 6021)
>>.. -151,4 +151,16 @@
>> public void setEOAdaptorClassName(String eoAdaptorClassName) {
>> this.eoAdaptorClassName = eoAdaptorClassName;
>> }
>> +
>> +..verride
>> + public String getCustomInfoPListContent() {
>> + if (eoAdaptorClassName == null || eoAdaptorClassName.trim().equals("")) {
>> + return super.getCustomInfoPListContent();
>> + }
>> +
>> + StringBuilder sb = new StringBuilder();
>> + sb.append("<key>EOAdaptorClassName</key><string>").append(eoAdaptorClassName).append("</string>\n");
>> + sb.append(super.getCustomInfoPListContent());
>> + return sb.toString();
>> + }
>> }
>>
>
>
-- Seeya...QQuinton Dolan - qdola..mail.com Gold Coast, QLD, Australia (GMT+10)
This archive was generated by hypermail 2.0.0 : Tue Dec 08 2009 - 18:53:50 EST