mail task and mapi

2011-04-14 Thread Mario Madunic
if so how? Any insight would be appreciated. Thanks Marijan (Mario) Madunic Publishing Specialist New Flyer Industries Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted

RE: Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file

2011-03-09 Thread Mario Madunic
Thanks Vimil, That explains it quite clearly and will give the subant task a try. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Vimil Saju [mailto:vimils...@yahoo.com] Sent: Wednesday, March 09, 2011 11:22 AM To: Ant Users List Subject: Re

Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file

2011-03-09 Thread Mario Madunic
open the task manager and terminate the java task running.) Marijan (Mario) Madunic Publishing Specialist New Flyer Industries Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information

possible to recurse through directory to see if a file exists in a subdirectory

2010-08-12 Thread Mario Madunic
1995)/pub/ (does not contain any files) files/1995/pub/1995p01.txt The only part of the file name to change is all the chars before the p01.txt Any help will be appreciated. Thanks Marijan (Mario) Madunic Publishing Specialist New Flyer

Setting VM option -Xincgc

2010-06-14 Thread Mario Madunic
NT_OPTS environment var but it doesn't seem to work there. Where can I add this option? Please be specific as I'm not a programmer and certain terminology will go over my head. Thanks Marijan (Mario) Madunic Publishing Specialist New Flyer Industries ---

RE: How to echo the empty directories of a fileset ?

2010-05-13 Thread Mario Madunic
Isn't there a new task named resourcecount. Maybe you could use this in conjunction with a test and if the resourcecount is 0 then echo it is empty. Or am I missing what you are trying to do? Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message-

RE: Timestamps and finding the difference (mm:ss)

2010-01-21 Thread Mario Madunic
Thanks Kent for the quick reply. That is basically what I was looking for. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Moore, Kent [mailto:kent.mo...@fnis.com] Sent: Thursday, January 21, 2010 10:07 AM To: Ant Users List Subject: RE

Timestamps and finding the difference (mm:ss)

2010-01-21 Thread Mario Madunic
timestamp property as follows: But can't find info (easily) on how to do some math to get the difference in time. Any insight would be appreciated. Thanks Marijan (Mario) Madunic Publishing Specialist New Flyer Industries P

Re: Running ANT build via the web

2009-01-10 Thread Marijan (Mario) Madunic
Thanks Glenn, I'll take a look at them. Marijan (Mario) Madunic glenn opdycke-hansen wrote: Running Ant via Web can be done via CruiseControl or AntHill or other sw -glenn On Fri, Jan 9, 2009 at 9:07 PM, Marijan (Mario) Madunic wrote: Curious if there is a way to run an ANT buil

Running ANT build via the web

2009-01-09 Thread Marijan (Mario) Madunic
Curious if there is a way to run an ANT build via web page? Can Tomcat do this? Any leads would be greatly appreciated. Marijan (Mario) Madunic - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands

Re: Cached results?

2008-10-16 Thread Marijan (Mario) Madunic
Thanks, Dominique and Robert. I've set force="true" but am going to check out Dominique's suggestions as a learning exercise. Marijan (Mario) Madunic Dominique Devienne wrote: On Thu, Oct 16, 2008 at 1:19 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: Ant's

Re: Cached results?

2008-10-16 Thread Marijan (Mario) Madunic
Never mind found the solution. force="true" on the xslt task Marijan (Mario) Madunic Marijan (Mario) Madunic wrote: (Using ANT 1.7.1 on a Windows XP SP3 machine) Sorry about the not to obvious subject line but I'll do my best in explaining the problem I've been having

Cached results?

2008-10-16 Thread Marijan (Mario) Madunic
checking for a cached result set? Does it check the files it is to use for the transform and check if they are different from a cached set? How do I stop this behaviour? Any help would be appreciated. Thanks Marijan (Mario) Madunic ---

Ant 1.7 - XSLT task and Xalan and Saxon9 issue

2008-09-30 Thread Marijan (Mario) Madunic
Any insight would be appreciated. Marijan (Mario) Madunic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XSLT task fail rerouting

2008-04-17 Thread Mario Madunic
Thank you Steve for the quick response. How do I post a feature request. I've never used bugzilla and when I went to the site I found it a bit daunting. I've found Antxtras that should be able to help. When I figure it out I'll post it to the list. Marijan (Mario) Madunic Quoting

Re: unusual error message starting to popup when using task

2008-01-20 Thread Mario Madunic
Sorry for the bad subject line but have found what the issue was. I placed the following 2 files in my ant/lib jaxp-api.jat and jaxp-ri.jar. When I removed them everything is back to normal. Marijan (Mario) Madunic Quoting Mario Madunic <[EMAIL PROTECTED]>: > I have copied my ANT

Re: unusual error message starting to popup when using task

2008-01-18 Thread Mario Madunic
issue might be. Thanks Marijan (Mario) Madunic Quoting Mario Madunic <[EMAIL PROTECTED]>: > ant - 1.7.0 > java - 1.6.0_02 > > The following ant task has been used successfully daily for around 6 months > and > in the last half hour I've been receiving an unusual er

unusual error message starting to popup when using task

2008-01-18 Thread Mario Madunic
nException: Could not load the translet class 'ContentCleanupSecondPass'. I've searched the web for this and only found references to xalan and tomcat. I'm using saxon9.jar. I've tried rebooting and that didn't work. I'll try replace saxon9 with saxon8 and see

RE: saxon extension via

2008-01-03 Thread Mario Madunic
Martin, I had the wrong namespace for saxon and once that was corrected everything is working great. Thanks for your help. Marijan (Mario) Madunic Quoting Martin Gainty <[EMAIL PROTECTED]>: > > Hi Mario > if I understand this is an XSLT transform? > I would run XSLT comman

Re: saxon extension via

2008-01-03 Thread Mario Madunic
Actually got it working once Andrew W. informed me, I had the wrong namespace for saxon. Marijan (Mario) Madunic Quoting Dominique Devienne <[EMAIL PROTECTED]>: > On Jan 3, 2008 12:03 PM, Mario Maduni

RE: saxon extension via

2008-01-03 Thread Mario Madunic
Martin Have it running fine at the command line (not tested it from ant yet) and have removed the saxon:line-number() so i can test the output. Everthing basically is running fine, need to refine output. I'll quickly test your recommendation and get back to you. Thanks Marijan (Mario) Ma

saxon extension via

2008-01-03 Thread Mario Madunic
I would like to use the line-number() extension provided by Saxon when parsing my xml files. So far I've not been able to pass the -l arg. Has anyone have any insight into this? Thanks Marijan (Mario) Madunic ---

Re: possible to open an alert window?

2007-10-25 Thread Mario Madunic
Thanks that is great. Marijan (Mario) Madunic Quoting Peter Reilly <[EMAIL PROTECTED]>: > or use > <script language="beanshell"> > import javax.swing.*; > JOptionPane.showMessageDialog( > null, "A long and

possible to open an alert window?

2007-10-25 Thread Mario Madunic
The other idea I have if I can't open an alerter window is to open the file using notepad. Any help will be appreciated. Using ANT 1.7 Windows XP Java 1.6 Thanks Marijan (Mario) Madunic - To unsubscribe, e-mail: [

RE: How to insert CSV into SQL Server via ANT

2007-10-15 Thread Mario Madunic
Thanks for the idea, I'll give that a try in the next couple of days and post the results. Marijan (Mario) Madunic Quoting RADEMAKERS Tanguy <[EMAIL PROTECTED]>: > >-Original Message----- > >From: Mario Madunic [mailto:[EMAIL PROTECTED] > >Sent: Saturday, O

How to insert CSV into SQL Server via ANT

2007-10-13 Thread Mario Madunic
Hi I've been using the BCP command to do this via Ran into a problem with this. I thought bcp was a standard install on PCs but it is only installed with SQL Server or SQL Server Express. Is there an ANT task that can do this? Marijan (Mario) Ma

Re: How to move invalid XML files to another folder

2007-10-09 Thread Mario Madunic
then allow fail to be a child of all tasks (where warranted)? Marijan (Mario) Madunic Quoting Steve Loughran <[EMAIL PROTECTED]>: > Mario Madunic wrote: > > Hi, > > > > I'm using the following to validate thousands of XML files and want to move > off > >

How to move invalid XML files to another folder

2007-10-08 Thread Mario Madunic
Hi, I'm using the following to validate thousands of XML files and want to move off any that are invalid to another folder for further parsing or update XSLT. Any help will be appreciated. Thanks Marijan (Mario) Ma

Re: getting filename from dir listing

2007-09-30 Thread Marijan (Mario) Madunic
Thanks Dale, This is really interesting and will read the documentation and see what else is available. Marijan (Mario) Madunic Dale Anson wrote: Another alternative is to use the FileUtils and StringUtils from Antelope, http://antelope.tigris.org. Here's an ex

Re: getting filename from dir listing

2007-09-21 Thread Mario Madunic
owing step01: [echo] [echo] ${myproperty} == 19750625_0003.xml Is there something wrong with my setup or do i need to change the gsub portion. Marijan (Mario) Madunic --- Quoting Gilbert Rebhan <[EMAIL PROTECTED]>: > > Hi, > > Mario

getting filename from dir listing

2007-09-21 Thread Mario Madunic
ow it could be done using the exec task in ANT but haven't got off my ass to change it) dir drop /b > prefix.txt in an ANT task There has to be a much easier and cleaner way of doing this. Any help or ideas will be greatly appreciated. Marijan (M

Spell checker task questions

2007-09-20 Thread Mario Madunic
I just did a search for a spell checker task that I can use and came across this one Spell Check by Rob Mayhew. Was wondering if anybody has used it and what are your thoughts. Also are there any other spell checkers out there that I might want to look at? Marijan (Mario) Madunic

RE: newbie help: conditional exec

2007-09-11 Thread Mario Madunic
re are any type="articles") bcp csv to SQLServer So what I wanted to insert in my flow was after the parse xml files then test the value of artAvailable and if true bcp into SQLServer Is this possible? or a pointer to an example or tutorial. Marijan (Mario) Madunic Quoting "An

newbie help: conditional exec

2007-09-11 Thread Mario Madunic
I have the following in my ant task to test for the existence of an xml file after processing What I want to do is run based on the above property value of true. I can't seem to find a task to do this. Any help will be appreciated. -

Re: escaping tilde in filename extension

2007-08-22 Thread Mario Madunic
Thank you, worked like a charm. Marijan (Mario) Madunic Quoting Peter Reilly <[EMAIL PROTECTED]>: > You need to disable the defaultincludes attribute. > > > > > > http://ant.apache.org/manual/CoreTypes/fileset.html > > Peter > > > On 8/22/0

escaping tilde in filename extension

2007-08-22 Thread Mario Madunic
e seems to be causing problems. Any help will be appreciated. Marijan (Mario) Madunic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: BCP and ANT

2007-08-03 Thread Mario Madunic
Thanks Bevan, Here it is for future reference. Worked like a charm. Marijan (Mario) Madunic Quoting Bevan Arps <[EMAIL PROTECTED]>: > Mario Madunic wrote: > > has anybody used BCP (bulk copy program) with ANT. I need to insert data > into a > > SQL Server and woul

iterate through files

2007-08-02 Thread Mario Madunic
ll be greatly appreciated. Thanks Marijan (Mario) Madunic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: multiple regexs against a single doc

2007-08-02 Thread Mario Madunic
and x backwards). Any help with this will be appreciated. Thanks Mario Maddunic Quoting [EMAIL PROTECTED]: > Maybe something like > > > > > > > > > > Jan > > > > >-----Ursprüngliche Nachricht- > &g

multiple regexs against a single doc

2007-07-31 Thread Mario Madunic
Right now I'm doing the following with each regex that I require to replace some string or char etc...(x100) This is a slow process as each file is "opened" and "closed" for each regex. What I'd like to do is open a file and parse with multiple regexs before going to the next regex. Is t

Re: BCP and ANT

2007-07-31 Thread Mario Madunic
thanks, I'll give it a try. Mario Quoting Bevan Arps <[EMAIL PROTECTED]>: > Mario Madunic wrote: > > has anybody used BCP (bulk copy program) with ANT. I need to insert data > into a > > SQL Server and would like to do this within ANT. > > > > Any hi

BCP and ANT

2007-07-28 Thread Mario Madunic
Hi, has anybody used BCP (bulk copy program) with ANT. I need to insert data into a SQL Server and would like to do this within ANT. Any hints on how to do this will be appreciated. Thanks Marijan Madunic - To unsubscribe, e-

Re: AW: random number generator

2007-07-24 Thread Mario Madunic
gt; > [EMAIL PROTECTED] wrote: > > > > > > > > > > > > Jan > > > > > >> -Urspr�ngliche Nachricht- > >> Von: Mario Madunic [mailto:[EMAIL PROTECTED] > >> Gesendet: Samstag, 21. Juli 2007 16:25 > >

Re: random number generator

2007-07-21 Thread Mario Madunic
Thank you Gilbert, it works like a charm. Mario Quoting Gilbert Rebhan <[EMAIL PROTECTED]>: > Hi, > > Mario Madunic wrote: > > Hi, > > > > I'm trying to generate a random number to be used as a temporary directory > name > > through a multi

random number generator

2007-07-20 Thread Mario Madunic
Hi, I'm trying to generate a random number to be used as a temporary directory name through a multi step xslt process. I'm using Ant 1.6.5 and Java 1.6.0-b105 I've placed the following .jars into Ant/lib js.jar bsh-2.0b4.jar commons-httpclient-3.1-rc1.jar commons-logging-1.1.jar commons-logging-