Differences

This shows you the differences between two versions of the page.

en:beyond:p5:export_using_ant [2009/10/03 20:19]
steffen
en:beyond:p5:export_using_ant [2009/10/27 21:38] (current)
steffen
Line 210: Line 210:
<java jar="application.jar" failonerror="true" /> <java jar="application.jar" failonerror="true" />
</code> </code>
- 
===== Example scripts ===== ===== Example scripts =====
-Nine tiny example scripts (right click, save as): +Nine tiny example scripts (right click, save as):\\ 
- - [[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/ant_intro/01_hi/build.xml|Hi!]] +\\ 
- - [[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/ant_intro/02_stepwise/build.xml|Modularity]] +1. [[http://www.creativecoding.org/examples/wiki/p5/ant01.xml|Hi!]]\\ 
- - [[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/ant_intro/03_properties/build.xml|Properties]] +2. [[http://www.creativecoding.org/examples/wiki/p5/ant02.xml|Modularity]]\\ 
- - [[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/ant_intro/04_conditions/build.xml|Conditions]] +3. [[http://www.creativecoding.org/examples/wiki/p5/ant03.xml|Properties]]\\ 
- - [[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/ant_intro/05_file_system1/build.xml|File system 1]] +4. [[http://www.creativecoding.org/examples/wiki/p5/ant04.xml|Conditions]]\\ 
- - [[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/ant_intro/06_file_system2/build.xml|File system 2]] +5. [[http://www.creativecoding.org/examples/wiki/p5/ant05.xml|File system 1]]\\ 
- - [[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/ant_intro/07_zip/build.xml|Zip]] +6. [[http://www.creativecoding.org/examples/wiki/p5/ant06.xml|File system 2]]\\ 
- - [[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/ant_intro/08_env_variables/build.xml|Environment Variables]] +7. [[http://www.creativecoding.org/examples/wiki/p5/ant07.xml|Zip]]\\ 
- - [[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/ant_intro/09_loading_text/build.xml|Loading/editing text]]+8. [[http://www.creativecoding.org/examples/wiki/p5/ant08.xml|Environment Variables]]\\ 
 +9. [[http://www.creativecoding.org/examples/wiki/p5/ant09.xml|Loading/editing text]]
===== eclipse implementation ===== ===== eclipse implementation =====
Line 233: Line 233:
Last important part is how to launch the so called ''target''s. Using the //play// button in the toolbar or by double clicking each single ''target'' can by executed (including it's dependencies). If you defined a default ''target'' for the whole build file in the ''project'' knot – the project item is also "playable". In the screen shot on the right the default ''target'' is marked with the blue triangle. Last important part is how to launch the so called ''target''s. Using the //play// button in the toolbar or by double clicking each single ''target'' can by executed (including it's dependencies). If you defined a default ''target'' for the whole build file in the ''project'' knot – the project item is also "playable". In the screen shot on the right the default ''target'' is marked with the blue triangle.
===== Processing script ===== ===== Processing script =====
-The following Ant build file is a basic approach for exporting processing based Java sketches. Currently only tested on OS X. For advices, comments and bugs please contact me (ste.fiedler[near]gmail.com).+The following Ant build file is a basic approach for exporting Processing based Java sketches. Currently only tested on OS X (Processing 1.0.7). For advices, comments and bugs please contact me (ste.fiedler[near]gmail.com). 
 + 
 +[[http://creativecoding.org/examples/wiki/p5/p5-ant-export.dmg|{{:en:beyond:p5:ant_download_dmg.png|Disk image}}]] 
 +[[http://creativecoding.org/examples/wiki/p5/p5-ant-export.zip|{{:en:beyond:p5:ant_download_zip.png|Zip archive}}]]
-[[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/processing_export.dmg|{{:en:beyond:p5:ant_download_dmg.png|Disk image}}]] 
-[[http://interface.fh-potsdam.de/beyond_processing/wiki/lecture/processing_export.zip|{{:en:beyond:p5:ant_download_zip.png|Zip archive}}]] 
==== Features ==== ==== Features ====
  * Web export   * Web export
Line 281: Line 282:
  * **4. deploy WEB** Processing IDE like web export as html document with implemented applet. Mind that the JVM settings xmx and xms for the heap space won't work (security stuff).   * **4. deploy WEB** Processing IDE like web export as html document with implemented applet. Mind that the JVM settings xmx and xms for the heap space won't work (security stuff).
  * **5. deploy ZIP** stuffs a zip archive including the folders //ant//, //data//, //lib//, //libNative// and //src//. A text file containing some data/project/settings informations will be also placed in the root tree.   * **5. deploy ZIP** stuffs a zip archive including the folders //ant//, //data//, //lib//, //libNative// and //src//. A text file containing some data/project/settings informations will be also placed in the root tree.
- 
==== Script ==== ==== Script ====
<code xml> <code xml>
Line 288: Line 288:
topic: PROCESSING(.ORG) EXPORT FROM ECLIPSE topic: PROCESSING(.ORG) EXPORT FROM ECLIPSE
date: 06-10-2008 date: 06-10-2008
- author: ste.fielder[near]gmail.com+ author: Steffen Fiedler // ste.fielder[near]gmail.com
==================== Conditions that have to be provided ======================= ==================== Conditions that have to be provided =======================