The manual for progard (http://proguard.sourceforge.net/manual/ant.html) has the following: <taskdef resource="proguard/ant/task.properties" classpath="/usr/local/java/proguard/lib/proguard.jar" /> <proguard configuration="myconfigfile.pro"/>
The resource is a relative path within the jar file, so you should *not* use ${progard.path} for the resource attribute. use this instead: <taskdef resource="proguard/ant/task.properties" classpath="${proguard.path}/lib/proguard.jar" /> Peter On 7/16/07, cuillandre frederic <[EMAIL PROTECTED]> wrote:
one more time today ! i'm a bit confused because i tried this: ... <target name="obfuscate" description="Obfuscation target" depends="compress"> <taskdef resource="${proguard.path}/src/proguard/ant/task.properties" classpath="${proguard.path}/lib/proguard.jar" /> <proguard configuration="${meta.inf}/lequipe/lequipevideoclient.pro" /> </target> ... and my lovely ant says: Could not create task or type of type: proguard. so i'm a bit stucked! the ${proguard.path}/src/proguard/ant/task.properties exists but it cannot create the proguard task i don't know if there is a problem with the proguard "task.properties" ??? i run proguard command line with my proguard configuration file and everything is allright but when i run it with ant, i've got a problem. :-( is anybody was facing through this problem and solved it?? regards Fred
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]