Commit a44ad1d2 authored by Evan W. Patton's avatar Evan W. Patton Committed by Jeffrey Schiller

Remove vestigial XML blocks generator

Change-Id: I886416cefa1a0eb34311e656847fb5dc4c433bf0
parent 075e7557
......@@ -406,14 +406,4 @@
target="JsonComponentDescription"/>
</target>
<!-- ====================================================================
components_XmlComponentDescription builds:
- build/components/ya_lang_def.xml
==================================================================== -->
<target name="components_XmlComponentDescription">
<ant inheritAll="false" useNativeBasedir="true" dir="${appinventor.dir}/components"
target="XmlComponentDescription"/>
</target>
</project>
......@@ -14,7 +14,7 @@
<target name="all"
depends="CommonConstants,AndroidRuntime,
JsonComponentDescription,XmlComponentDescription,
JsonComponentDescription,
ComponentList,ComponentTranslation,Barcode">
</target>
......@@ -405,22 +405,6 @@
todir="${public.build.dir}"/>
</target>
<!-- =====================================================================
XmlComponentDescription: create lang_def.xml for Blocks Editor.
===================================================================== -->
<target name="XmlComponentDescription"
description="Make ya_lang_def.xml file for Blocks Editor."
depends="AnnotationProcessors,AndroidRuntime,HtmlEntities,CommonConstants">
<property name="XmlComponentDescription-class.dir"
location="${class.dir}/XmlComponentDescription" />
<ai.apt apt-classdir="${XmlComponentDescription-class.dir}"
apt-processor="com.google.appinventor.components.scripts.LangDefXmlGenerator"
apt-target="${XmlComponentDescription-class.dir}/ya_lang_def.xml"/>
<copy file="${XmlComponentDescription-class.dir}/ya_lang_def.xml"
todir="${public.build.dir}"/>
</target>
<!-- =====================================================================
ComponentList: create simple_components.txt and
simple_components_build_info.json
......
......@@ -36,8 +36,7 @@ public @interface DesignerComponent {
* Description to be shown on user request in the Designer. If this field is
* empty, the description() field should be used. This may contain HTML.
* Internal double-quotes will be converted to single-quotes when this field
* is displayed in the designer. For now, this cannot contain an
* ampersand (%), which would corrupt ya_lang_def.xml.
* is displayed in the designer.
*/
// TODO(user): Add more robust character escaping.
String designerHelpDescription() default "";
......
......@@ -847,9 +847,9 @@ public class Form extends AppInventorCompatActivity
* Compiler-generated method to initialize and add application components to
* the form. We just provide an implementation here to artificially make
* this class concrete so that it is included in the documentation and
* Codeblocks language definition file generated by
* App Inventor component definition file generated by
* {@link com.google.appinventor.components.scripts.DocumentationGenerator} and
* {@link com.google.appinventor.components.scripts.LangDefXmlGenerator},
* {@link com.google.appinventor.components.scripts.ComponentDescriptorGenerator},
* respectively. The actual implementation appears in {@code runtime.scm}.
*/
protected void $define() { // This must be declared protected because we are called from Screen1 which subclasses
......@@ -875,9 +875,9 @@ public class Form extends AppInventorCompatActivity
/**
* A trivial implementation to artificially make this class concrete so
* that it is included in the documentation and
* Codeblocks language definition file generated by
* App Inventor component definition file generated by
* {@link com.google.appinventor.components.scripts.DocumentationGenerator} and
* {@link com.google.appinventor.components.scripts.LangDefXmlGenerator},
* {@link com.google.appinventor.components.scripts.ComponentDescriptorGenerator},
* respectively. The actual implementation appears in {@code runtime.scm}.
*/
@Override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment