ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Simon <jonathan_s_si...@yahoo.com>
Subject Re: Ant scripting with Jython (Phase 2)
Date Fri, 20 Jun 2003 14:59:24 GMT
Sorry... forgot to send a complete script! Here is one I ran from my machine...

ant = Ant()
ant.echo(message="hello world")
ant.delete(quiet="1", dir="D:\\java\\jython_ant\\temp")
ant.mkdir(dir="D:\\java\\jython_ant\\temp")
ant.touch(file="D:\\java\\jython_ant\\src\\HelloJython.java")
ant.copy(file="D:\\java\\jython_ant\\src\\HelloJython.java",
todir="D:\\java\\jython_ant\\temp")
ant.jar(destfile="D:\\java\\jython_ant\\temp\\test.jar",
BASEDIR="D:\\java\\jython_ant\\src\\")
ant.mkdir(dir="D:\\java\\jython_ant\\temp\\sub-temp")
ant.unzip(src="D:\\java\\jython_ant\\temp\\test.jar",
dest="D:\\java\\jython_ant\\temp\\sub-temp")


Best,
-jonathan

=====
Jonathan Simon
Home - 732.777.0377  <----------- New!!!
Work - 646.674.2060
Cell - 732.718.8844
Music - www.mp3.com/jonathan_simon

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message