Create a gist now

Instantly share code, notes, and snippets.

...
<target name="convert.object.to.metadata.type">
<xslt failOnNoResources="true" destdir="src" style="convert_to_metadata_object.xslt" extension=".metadata" useImplicitFileset="false" force="true">
<fileset dir="${sf.working.dir}" includes="objects${fs}Team_View_Plus_Views__c.object"/>
</xslt>
<move todir="src" overwrite="true">
<fileset dir="src" includes="objects${fs}Team_View_Plus_Views__c.metadata"/>
<filterchain>
<linecontainsregexp negate="true">
<regexp pattern="^\s*$"/>
</linecontainsregexp>
</filterchain>
<globmapper from="*__c.metadata" to="*_CM__mdt.object"/>
</move>
</target>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment