Yes sure. <path id="xmltask.cp" path="./xmltask-v1.15.1.jar"/> <taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask" classpathref="xmltask.cp"/>
<target name="xmlwrite"> <xmltask source="./qconfig.xml" dest="./qconfig.xml" omitHeader="true"> <replace path="/qconfig/ip/text()" withText="randomvalue"/> </xmltask> </target> Jan.Materne wrote: > > Could you post your buildfiles - the part with <taskdef> and the xmltask > usage? > > Jan > >>-----Ursprüngliche Nachricht----- >>Von: jaki [mailto:[EMAIL PROTECTED] >>Gesendet: Freitag, 19. September 2008 13:23 >>An: [email protected] >>Betreff: Re: AW: Getting applet alerts when using xml-task >> >> >>Here's my stack dump: >> >> [xmltask] -- PolicyProps uninitialized on access of >>'jscan.session.policyname' >> [xmltask] -- PolicyProps uninitialized on access of >>'jscan.session.origin_uri' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.no_user_interaction' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.prompt_user' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.notify_user' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.max_offense_cnt' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.strict_enforcement' >> [xmltask] -- PolicyProps uninitialized on access of 'file.read.state' >> [xmltask] -- PolicyProps uninitialized on access of >>'file.read.in_list' >> [xmltask] Msgs: Failed to find localized message for key >>"instr.action.file.read" - using default English form >> [xmltask] Msgs: Failed to find localized message for key >>"instr.msg.dialog.action_warning_start" - using default English form >> [xmltask] -->> returning Frame NULL >> [xmltask] Msgs: Failed to find localized message for key >>"instr.dialog.title.applet_alert" - using default English form >> [xmltask] Msgs: Failed to find localized message for key >>"instr.button.allow" - using default English form >> [xmltask] Msgs: Failed to find localized message for key >>"instr.button.disallow" - using default English form >> [xmltask] Msgs: Failed to find localized message for key >>"instr.button.stop_applet" - using default English form >> [xmltask] BaseDialog: owner frame is a java.awt.Frame >> [xmltask] -- PolicyProps uninitialized on access of >>'jscan.session.policyname' >> [xmltask] -- PolicyProps uninitialized on access of >>'jscan.session.origin_uri' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.no_user_interaction' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.prompt_user' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.notify_user' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.max_offense_cnt' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.strict_enforcement' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.block_com_ms_pkgs' >> [xmltask] -- PolicyProps uninitialized on access of >>'misc.block_netscape_pkgs' >> [xmltask] -- PolicyProps uninitialized on access of >>'file.write.state' >> [xmltask] -- PolicyProps uninitialized on access of >>'file.write.in_list' >> [xmltask] Msgs: Failed to find localized message for key >>"instr.action.file.write" - using default English form >> [xmltask] Msgs: Failed to find localized message for key >>"instr.msg.dialog.action_warning_start" - using default English form >> [xmltask] -->> returning Frame NULL >> [xmltask] Msgs: Failed to find localized message for key >>"instr.dialog.title.applet_alert" - using default English form >> [xmltask] Msgs: Failed to find localized message for key >>"instr.button.allow" - using default English form >> [xmltask] Msgs: Failed to find localized message for key >>"instr.button.disallow" - using default English form >> [xmltask] Msgs: Failed to find localized message for key >>"instr.button.stop_applet" - using default English form >> [xmltask] BaseDialog: owner frame is a java.awt.Frame >> >> >>jaki wrote: >>> >>> If what you asked was whether I'm running the buildfile >>using 'ant' on the >>> commandline then yes that's what I'm doing. And I still get >>the alert. >>> >>> Jan.Materne wrote: >>>> >>>> You arent starting Ant from the command line, I guess? ... >>>> >>>> >>>> Jan >>>> >>>> ________________________________ >>>> >>>> Von: jaki [mailto:[EMAIL PROTECTED] >>>> Gesendet: Do 18.09.2008 16:25 >>>> An: [email protected] >>>> Betreff: Getting applet alerts when using xml-task >>>> >>>> >>>> >>>> >>>> I get an applet alert message box asking permission to read >>from / write >>>> to >>>> the given xml file when using xmltask ant task. Anyway to get rid of >>>> this? >>>> -- >>>> View this message in context: >>>> >>http://www.nabble.com/Getting-applet-alerts-when-using-xml-task >>-tp19554137p19554137.html >>>> Sent from the Ant - Users mailing list archive at Nabble.com. >>>> >>>> >>>> >>--------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>>> >>>> >>>> >>>> >>--------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>> >>> >> >>-- >>View this message in context: >>http://www.nabble.com/Getting-applet-alerts-when-using-xml-task >>-tp19554137p19570605.html >>Sent from the Ant - Users mailing list archive at Nabble.com. >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Getting-applet-alerts-when-using-xml-task-tp19554137p19570771.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
