Skip to content

Instantly share code, notes, and snippets.

@rotty3000
Created September 17, 2011 00:47
Show Gist options
  • Save rotty3000/1223463 to your computer and use it in GitHub Desktop.
Save rotty3000/1223463 to your computer and use it in GitHub Desktop.
to add localizations in a theme, add this compile section your your build.xml and the languages in the usual location
<?xml version="1.0"?>
<!DOCTYPE project>
<project name="sevencogs-theme" basedir="." default="deploy">
<import file="../build-common-theme.xml" />
<property name="theme.parent" value="_styled" />
<target name="compile">
<mkdir dir="docroot/WEB-INF/classes"/>
<copy todir="docroot/WEB-INF/classes">
<fileset dir="docroot/WEB-INF/src" />
</copy>
<antcall target="build-common-theme.compile" />
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment