Adding an XSL build step to an Android project in Eclipse -
Adding an XSL build step to an Android project in Eclipse -
i'm quite new eclipse.
i have simple android (java) project beingness built in eclipse, using adt plugin.
i have resource xml file (call target.xml) wish generate using xsl (transform.xsl) xml file (source.xml).
i've installed eclipse xsl tools. i've set run configuration, , can build target.xml file by, example, right-clicking on transform.xml file in bundle explorer, , choosing run->run configurations, choosing configuration under "xsl" section of configurations list , hitting "run".
what want happen automatically when build/run/package android project.
so, when nail "play" build , run android app on attached device, eclipse should know if source.xml or transform.xsl have changed, should first (or @ to the lowest degree before app packaging step) transform source.xml using transform.xsl, , thereby build res/xml/target.xml.
is there simple, elegant way have happen? in old days, i'd have added couple of lines makefile, seems things have moved on...
android eclipse xslt
Comments
Post a Comment