Re: xclude

2006-09-18 Thread Emmanouil Batsis
Chris Chiasson wrote: xclude is a task for performing xincludes that is mentioned in the ant mailing list archives a few times - it has a project on source forge Ah, i think i wrote that [1] task :-) The namespace to use has nothing to do with the Ant Task, it is up to the underline XML pa

Re: subtasks as arbitary params?

2006-08-23 Thread Emmanouil Batsis
Antoine Levy-Lambert wrote: I suppose you want to create a custom task which has nested elements ? You should read the"Develoing with Ant" section of the manual, it is all there. Yup, you where right, it was all there. In the end i just created a javabean "ConfigParam" with properties "na

subtasks as arbitary params?

2006-08-22 Thread Emmanouil Batsis
Hi, I was wondering if anyone has any pointers to a howto or sample code for nested subtasks used to pass an arbitary number of properties/params in the form of attribute value pairs, something like the below? Thanks, Manos --

Re: Beep sound as a ant task

2006-05-30 Thread Emmanouil Batsis
Geia sou wre Kosta, Konstantinos Karadamoglou wrote: Do you know any task that can play the beep sound from the system's speaker? You might also want to check "Fun with Ant: Sound task". See http://mail-archives.apache.org/mod_mbox/ant-user/200512.mbox/[EMAIL PROTECTED] Manos --

Re: Fun with Ant: Sound task

2005-12-16 Thread Emmanouil Batsis
Rhino wrote: I don't know if anyone is remotely interested but I have created a bit of common code for playing sound files as part of the Sound task in Ant. Pretty cool, thanks for sharing! MAnos - To unsubscribe, e-mail:

[solved] Re: Use JSLint to validate .js files?

2005-07-15 Thread Emmanouil Batsis
Emmanouil Batsis wrote: This is a shot in the dark but i was wondering whether some other disturbed individual has thought about validating javascript files in Ant builds by feeding them to the JSLint [1] script via Rhino or something. Ok, here's a usable draft implementation,

Use JSLint to validate .js files?

2005-07-14 Thread Emmanouil Batsis
Hello, This is a shot in the dark but i was wondering whether some other disturbed individual has thought about validating javascript files in Ant builds by feeding them to the JSLint [1] script via Rhino or something. I have never done anything remotely close so any suggestions would be app

[solved] Task allows nested mapper but not regexpmapper with handledirsep (was Re: Help with (regexp?) file mapper)

2005-06-28 Thread Emmanouil Batsis
Dominique Devienne wrote: i just defined a project property to use within mappers and that works well. Do you mind describing your solution in more details, to help those who search the mailing list archive? BTW, did you try \${file.separator}? That wouldn't work on my linux box ri

Re: Help with (regexp?) file mapper

2005-06-27 Thread Emmanouil Batsis
Dominique Devienne wrote: From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] It didn't work at first but then i remembered my machine at work runs windows; It works fine after changing the from attribute to (.+)\\(.+).xml. I think i saw something regarding the path seperator and how to ma

Re: Help with (regexp?) file mapper

2005-06-27 Thread Emmanouil Batsis
Jeffrey E Care wrote: In the future you tell us what you have already tried: it would be helpful in debugging the problem. Asking the question in the manner that you have might make one think that you haven't tried this at all & are just looking for someone to figure it out for you. My i

Help with (regexp?) file mapper

2005-06-27 Thread Emmanouil Batsis
Hi all, I'm trying to both change the file name (add 'Form' suffix and change from .xml to .java) and directory structure (add one more directory) for example from my/package/Foo.xml to my/package/web/FooForm.java Looks like this is a piece of cake using the regexp file mapper but i real

Re: Ant for non-java development

2005-06-06 Thread Emmanouil Batsis
[EMAIL PROTECTED] wrote: Can ant be used to build non-java applications?If so, how ?And does anyone tried this on this list? Well, if you are familiar with Ant, you may find it convinient to use for non-Java projects... all of it's functionality is relevant with the exception of the javac

Deploy to remote jboss (or any AS)

2004-12-20 Thread Emmanouil Batsis
Is anyone using Ant to deploy on a *remote*JBoss instance (or any other AS)? I havent found any JBoss tasks for this so i was wondering if anyone has a generic solution. Thanks for your help! Manos - To unsubscribe, e-mail: [EMA

Re: [xsl] RE: xslt processing and style ant task

2004-07-16 Thread Emmanouil Batsis
[sorry for the cross post] You may want to try using two tasks, xcluder [1] for XInclude and then xslt/style for XSLT. xcluder uses Xerces or XOM. Note that it's just a wrapper so the namespaces the task will understand and conformance in general depends on what is used under the hood. I had to