[izpack-users] Log4j Integration in IzPack

Suresh Reddy sureshrk19 at gmail.com
Wed Sep 26 18:04:52 CEST 2007


Hi Klaus,

Thanks for the information. I tried this and it worked for me :-)
But, adding properties  file to jar is not ok; I mean, every time I modify
the log level in properties file I need to archive it.
Can't we the files (not only properties but, any other format) directly??

Thanks & Regards,
Suresh



On 9/26/07, Bartz, Klaus <Klaus.Bartz at coi.de> wrote:
>
> 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
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>



-- 
Regards
Suresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070926/859fc5de/attachment.html 


More information about the izpack-users mailing list