[izpack-users] Log4j Integration in IzPack

Bartz, Klaus Klaus.Bartz at coi.de
Wed Sep 26 09:37:31 CEST 2007


Hi Suresh,
put the properties into a jar file and add it also as jar
 <jar src="./IzPack/lib/log4j.jar" stage="both" />
 <jar src="./myproject/lib/myprops.jar" stage="both" />

Cheers

Klaus

> -----Original Message-----
> From: izpack-users-bounces at lists.berlios.de 
> [mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of sureshrk19
> Sent: Tuesday, September 25, 2007 7:14 PM
> To: izpack-users at lists.berlios.de
> Subject: [izpack-users] Log4j Integration in IzPack
> 
> 
> 
> Hi,
> 
> I'm trying to integrate log4j with IzPack; 
> I specified the log4j.jar in classpath (in install.xml) as follows:
> 
> <jar src="./IzPack/lib/log4j.jar" stage="both" />
> 
> My requirement is to automate the build process...
> 
> If I add log4j.properties to the jar (install.jar) manually 
> everything works
> fine; but, I didn't find a way to add the log4j.properties 
> file to the build process (to be picked up added to install.jar).
> 
> If I add the properties file in resources section, as follows....
> 
> <resources>
> 		<res id="log4j.properties" src="./log4j.properties" />
> ...
> </resources>
> 
> It is getting added in "res" section of install.jar; I didn;t 
> find any other way to add log4j.properties directly to the 
> install.jar.
> 
> Any inputs will be highly appreciated.
> 
> Thanks & Regards,
> Suresh
> -- 
> View this message in context: 
> http://www.nabble.com/Log4j-Integration-in-IzPack-tf4516129.ht
ml#a12881463
Sent from the izpack users mailing list archive at Nabble.com.

_______________________________________________
izpack-users mailing list
izpack-users at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-users


More information about the izpack-users mailing list