Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated builder

  • Loading branch information...
commit eaded24437610e6bb48656aacd150c72b51a93cc 1 parent 4f6eb44
@sergeche sergeche authored
View
12 .externalToolBuilders/Zen Coding.launch
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="zen-coding"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/zen-coding/build.xml}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+</launchConfiguration>
View
10 .project
@@ -20,6 +20,16 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value>&lt;project&gt;/.externalToolBuilders/Zen Coding.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.python.pydev.pythonNature</nature>
View
57 build.xml
@@ -4,72 +4,23 @@
<import file="${basedir}/build/resources.xml"/>
- <import file="${zencoding_plugins_source}/TextMate/build.xml"/>
- <import file="${zencoding_plugins_source}/textarea/build.xml"/>
- <import file="${zencoding_plugins_source}/aptana/build.xml"/>
- <import file="${zencoding_plugins_source}/komodo/build.xml"/>
- <import file="${zencoding_plugins_source}/pspad/build.xml"/>
- <import file="${zencoding_plugins_source}/npp/build.xml"/>
- <import file="${zencoding_plugins_source}/e2/build.xml"/>
- <import file="${zencoding_plugins_source}/codemirror/build.xml"/>
- <import file="${zencoding_plugins_source}/coda/build.xml"/>
- <import file="${zencoding_plugins_source}/espresso/build.xml"/>
-
- <!-- List of Zen Coding JavaScript files -->
- <filelist dir="${zencoding_javascript}" id="javascript.files">
- <file name="underscore.js"/>
- <file name="zen_settings.js"/>
- <file name="zen_resources.js"/>
- <file name="zen_parser.js"/>
- <file name="zen_coding.js"/>
- <file name="zen_actions.js"/>
- <file name="elements-factory.js"/>
- <file name="generator.js"/>
- <file name="html_matcher.js"/>
- <file name="base64.js"/>
-
- <file name="parsers/parsexml.js"/>
- <file name="parsers/sex.js"/>
- <file name="parsers/parserutils.js"/>
- <file name="parsers/actions.js"/>
- <file name="parsers/traverse-actions.js"/>
- </filelist>
-
- <fileset dir="${zencoding_javascript_filters}" id="javascript.filters">
- <include name="*.js"/>
- </fileset>
-
<target name="init">
<mkdir dir="${zencoding_build_dir}"/>
<mkdir dir="${zencoding_plugins}"/>
</target>
- <target name="create_javascript" depends="init">
+ <target name="plugin.generic.js" depends="init">
<concat destfile="${zencoding_build_dir}/zencoding.js">
<filelist refid="javascript.core" />
+ <filelist refid="javascript.actions" />
+ <fileset refid="javascript.resolvers" />
<fileset refid="javascript.filters" />
- <fileset refid="javascript.actions" />
<fileset refid="javascript.generators" />
</concat>
</target>
-
- <target name="generic_java" description="Builds generic package for Java usage">
- <mkdir dir="${zencoding_plugins}/java"/>
- <concat destfile="${zencoding_plugins}/java/zencoding.js">
- <filelist refid="javascript.core" />
- <fileset refid="javascript.filters" />
- <fileset refid="javascript.actions" />
- <fileset refid="javascript.generators" />
- <fileset dir="${zencoding_plugins_source}/java">
- <include name="*.js"/>
- </fileset>
- </concat>
- </target>
<!-- Main build routine -->
- <target name="main" depends="create_javascript, komodo_plugin, pspad_plugin,
- npp_plugin, generic_java, e2_bundle, textarea_plugin, codemirror_plugin,
- coda_bundle, espresso_bundle, textmate_bundle">
+ <target name="main" depends="plugin.generic.js">
<echo>Done</echo>
</target>
</project>
View
48 build/resources.xml
@@ -5,9 +5,13 @@
<!-- List of Zen Coding JavaScript files -->
<filelist dir="${zencoding_javascript}" id="javascript.core">
<file name="underscore.js"/>
- <file name="zen_settings.js"/>
+
<file name="core.js"/>
<file name="utils.js"/>
+ <file name="range.js"/>
+ <file name="handlerList.js"/>
+ <file name="tokenIterator.js"/>
+ <file name="stringStream.js"/>
<file name="resources.js"/>
<file name="actions.js"/>
<file name="profile.js"/>
@@ -16,31 +20,51 @@
<file name="actionUtils.js"/>
<file name="base64.js"/>
<file name="html_matcher.js"/>
- <file name="filters.js"/>
- <file name="elements.js"/>
<file name="tabStops.js"/>
+ <file name="preferences.js"/>
+ <file name="filters.js"/>
- <file name="parsers/abbreviation.js"/>
- <file name="parsers/cssParser.js"/>
- <file name="parsers/xmlParser.js"/>
- <file name="parsers/parserUtils.js"/>
-
+ <file name="elements.js"/>
<file name="elements/parsedElements.js"/>
<file name="elements/ZenNode.js"/>
- <file name="resolvers/expando.js"/>
- <file name="resolvers/generator.js"/>
+ <file name="parsers/abbreviationParser.js"/>
+ <file name="parsers/cssParser.js"/>
+ <file name="parsers/xmlParser.js"/>
+ <file name="parsers/editTree/editTree.js"/>
+ <file name="parsers/editTree/cssEditTree.js"/>
+ <file name="parsers/editTree/xmlEditTree.js"/>
</filelist>
<fileset dir="${zencoding_javascript}/filters" id="javascript.filters">
<include name="*.js"/>
</fileset>
- <fileset dir="${zencoding_javascript}/actions" id="javascript.actions">
+ <filelist dir="${zencoding_javascript}/actions" id="javascript.actions">
+ <file name="base64.js"/>
+ <file name="editPoints.js"/>
+ <file name="evaluateMath.js"/>
+ <file name="expandAbbreviation.js"/>
+ <file name="increment_decrement.js"/>
+ <file name="lineBreaks.js"/>
+ <file name="matchPair.js"/>
+ <file name="mergeLines.js"/>
+ <file name="reflectCSSValue.js"/>
+ <file name="removeTag.js"/>
+ <file name="selectItem.js"/>
+ <!-- <file name="selectLine.js"/> -->
+ <file name="splitJoinTag.js"/>
+ <file name="toggleComment.js"/>
+ <file name="wrapWithAbbreviation.js"/>
+ <file name="updateImageSize.js"/>
+ </filelist>
+
+ <fileset dir="${zencoding_javascript}/generators" id="javascript.generators">
<include name="*.js"/>
</fileset>
- <fileset dir="${zencoding_javascript}/generators" id="javascript.generators">
+ <fileset dir="${zencoding_javascript}/resolvers" id="javascript.resolvers">
<include name="*.js"/>
</fileset>
+
</project>
View
1  javascript/unittest/index.html
@@ -24,7 +24,6 @@
<script src="../html_matcher.js"></script>
<script src="../tabStops.js"></script>
<script src="../preferences.js"></script>
- <script src="../range.js"></script>
<script src="../filters.js"></script>
<script src="../filters/bem.js"></script>
Please sign in to comment.
Something went wrong with that request. Please try again.