ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Wannheden" <knut.wannhe...@paranor.ch>
Subject [PATCH] use ant-launcher.jar in runant.py
Date Fri, 22 Aug 2003 13:05:12 GMT
Hi,

This patch for the runant.py Ant launcher script uses the new
ant-launcher.jar to run Ant instead of adding the contents of the lib
directory to the system classpath explicitly.

I've further patched the script to:

 - better match the structure of the 'ant' script
 - insert the -Djikes.class.path in the right place (not as system property)
 - 4 spaces instead of TAB indentation
 - if ANT_HOME isn't set then assume it's the parent directory of the
directory the script is in

This last change also makes it poosible to use this script on OpenVMS, where
there is no way of setting the ANT_HOME environment variable from the
command line so it can be accessed from Python.

Regards,

--knut


begin 666 python-runant-launcher.txt
M26YD97@Z(')U;F%N="YP>0T*/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/0T*4D-3
M(&9I;&4Z("]H;VUE+V-V<W!U8FQI8R]A;G0O<W)C+W-C<FEP="]R=6YA;G0N
M<'DL=@T*<F5T<FEE=FEN9R!R979I<VEO;B Q+C(-"F1I9F8@+74@+7(Q+C(@
M<G5N86YT+G!Y#0HM+2T@<G5N86YT+G!Y"3$P($IA;B R,# R(#$T.C$X.C0R
M("TP,# P"3$N,@T**RLK(')U;F%N="YP>0DR,B!!=6<@,C P,R Q,CHU-SHT
M-R M,# P, T*0$ @+3,L,3 @*S,L,3 @0$ -"B -"B @<G5N86YT+G!Y#0H@
M#0HM"51H:7,@<V-R:7!T(&ES(&$@=')A;G-L871I;VX@;V8@=&AE(')U;F%N
M="YP;"!W<FET=&5N(&)Y(%-T979E($QO=6=H<F%N+@T*+0E)="!R=6YS(&%N
M="!W:71H+V]U="!A<F=U;65N=',L(&ET('-H;W5L9"!B92!Q=6ET92!P;W)T
M86)L92 H=&AA;FMS('1O#0HM"71H92!P>71H;VX@;W,@;&EB<F%R>2D-"BT)
M5&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<R E<R!O
M<F<N87!A8VAE+G1O;VQS+F%N="Y-86EN("5S)R!<#0HM"2 E("A*059!0TU$
M+"!L;V-A;'!A=&@L($%.5%](3TU%+"!S=')I;F<N:F]I;BA!3E1?3U!44RPG
M("<I+"!<#0HM"2 )<W1R:6YG+FIO:6XH<WES+F%R9W9;,3I=+" G("<I*0T*
M*V-M9&QI;F4@/2 H)R5S("5S("UC;&%S<W!A=&@@)7,@+41A;G0N:&]M93U<
M(B5S7"(@)7,@)R K(%P-"BL@(" @)V]R9RYA<&%C:&4N=&]O;',N86YT+FQA
M=6YC:"Y,875N8VAE<B E<R<I(%P-"BL@(" @("4@*$I!5D%#340L('-T<FEN
M9RYJ;VEN*$%.5%]/4%13+"<@)RDL(&QO8V%L<&%T:"P@04Y47TA/344L(%P-
M"BL@(" @(" @('-T<FEN9RYJ;VEN*$]05%,L)R G*2P@<W1R:6YG+FIO:6XH
M<WES+F%R9W9;,3I=+" G("<I*0T*( T*(&EF(&1E8G5G.@T*+0EP<FEN=" G
M7&XE<UQN7&XG("4@*&-M9&QI;F4I#0HK(" @('!R:6YT("=<;B5S7&Y<;B<@
M)2 H8VUD;&EN92D-"B -"B C(%)U;B!T:&4@8FEN:6]U(0T*(&]S+G-Y<W1E
,;2AC;61L:6YE*0T*
`
end



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


Mime
View raw message