RE: help with copy and glob mapper

2005-12-14 Thread EJ Ciramella
Yes, I opted for the regexmapper. Thanks for the response! -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 12:22 AM To: user@ant.apache.org Subject: Re: help with copy and glob mapper On Tue, 13 Dec 2005, EJ Ciramella [EMAIL

RE: help with copy and glob mapper

2005-12-14 Thread EJ Ciramella
This: mapper type=glob from=**/template-* to=**/*/ Wouldn't match some template file at the base of the directory. This is my final solution: copy todir=${jboss.email.daemon.server.config.dir} overwrite=true fileset dir=${base.templates.file.src.dir}/templates/fo/email

Re: C preprocessor driven from ANT?

2005-12-14 Thread Dominique Devienne
Obviously I'm after a pure-Java implementation so that I don't have to worry about cross-platform issues, otherwise I'd just exec a resident native binary pre-processor. I have played with replicating a C-preprocessor in pure Java, and although I have the basics working, I doubt my experiment

Re: ANT EXECUTE TASK

2005-12-14 Thread Steve Loughran
Shinde, Vijay wrote: I was trying following command sshexec host=servername username=antuser password=Password1 command=NET STOP IIS Admin Service / It Is throwing connection refused error. better run SSH then, hadnt you? Connection refused means there is nothing

Re: J2ee application --- jsp files

2005-12-14 Thread Steve Loughran
Jonnalagadda, Sumithra wrote: One of the main benefits of jsp that it can be updated dynamically by which I mean when a jsp is updated the application need not be re-deployed since jsp is complied run time. no, that is only a benefit at dev time. bad things can happen with partial hot

Re: Getting the drive letter and setting windows path

2005-12-14 Thread Steve Loughran
Michael Silverman wrote: Actually, Ant runs a task that launches a java app which loads a DLL which itself loads more DLL's The first DLL load is not a problem (I'm just passing java.library.path to the JVM) but when that DLL tries to loads the other DLL's, it searches them in the windows

How to know target executed successful or not

2005-12-14 Thread Leon Pu
Hi all, I'd like to know how to get the result of target execution. Is it possible to do something if the target successfully done, and do any other thing if the target failed? Best regards, Leon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has

AW: How to know target executed successful or not

2005-12-14 Thread Jan.Materne
If a task fails it breaks the execution of the build. Final result is a Build successful or Build failed which results in a return value from 0 or non-zero. Jan -Ursprüngliche Nachricht- Von: Leon Pu [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 14. Dezember 2005 13:44 An: Ant Usenet

Re: javadoc

2005-12-14 Thread Thom Hehl
OK, here's my current target from build.xml: target name=apidocs depends=test description=document javadoc packagenames=heavyweight.gui.*,heavyweight.io.*,heavyweight.re.*,heavyweight.util.* sourcepath=${src} defaultexcludes=yes destdir=docs/api

Re: Problems with building a servlet that refers an EJB

2005-12-14 Thread nikhil
Thanks Stefan, this worked well. Also, I found a good note on classpath issues: Using_CLASSPATH_and_Other_APIs.doc, which can be googled on the web. Regards, Nikhil - Original Message - From: Stefan Bodewig [EMAIL PROTECTED] To: user@ant.apache.org Sent: Wednesday, December 14, 2005

Using properties like variables

2005-12-14 Thread Paulo.Pinto
Hi everyone, I know that properties can't be used as variables. However I'm trying to implement something where I would like to have a behaviour similar to that. For example, let's imagine for a second that properties aren't immutable, and create the following macro macrodef mymacro=name

Re: Using properties like variables

2005-12-14 Thread Ondrej Svetlik
Hello, try using variable from ant contrib. Best regards Ondrej Svetlik [EMAIL PROTECTED] wrote: Hi everyone, I know that properties can't be used as variables. However I'm trying to implement something where I would like to have a behaviour similar to that. For example, let's imagine for

RE: Using properties like variables

2005-12-14 Thread Paulo.Pinto
Hello, Thanks for the information! That's exactly what I need. Regards, Paulo -Original Message- From: ext Ondrej Svetlik [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 16:07 To: Ant Users List Subject: Re: Using properties like variables Hello, try using variable

Re: Using properties like variables

2005-12-14 Thread Jeffrey E Care
There has been a fair amount of discussion on the developer list about providing scoped properties for macrodefs, but I'm not sure where we are on that. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) [EMAIL PROTECTED] wrote

Re: javadoc

2005-12-14 Thread Stefan Bodewig
On Wed, 14 Dec 2005, Thom Hehl [EMAIL PROTECTED] wrote: apidocs: [javadoc] scanning C:\src\heavyweight for packages. It should be scanning C:\src, not C:\src\heavyweight since heavyweight is your top level package in the source tree. At least the directory structure in your other response

Re: javadoc

2005-12-14 Thread Thom Hehl
Thanks! Changed to: javadoc packagenames=gui.*,io.*,re.*,util.* and that seems to have fixed the problem. Stefan Bodewig wrote: On Wed, 14 Dec 2005, Thom Hehl [EMAIL PROTECTED] wrote: apidocs: [javadoc] scanning C:\src\heavyweight for packages. It should be scanning C:\src,

asadmin start-domain domain1

2005-12-14 Thread Gunter, Tony
I am invoking Sun AppServer's asadmin.bat from my ant script to start up the application server. When I type the command from the command line, it works fine (asadmin start-domain domain1). When the same line is invoked from my ant task, the server comes up, but the ant script never moves on to

Re: asadmin start-domain domain1

2005-12-14 Thread Ninju Bohra
Can you provide the exact exec text you are using... If you are execing a process (via the exec task) ANT will normally wait until the process exits before proceeding to the next step (to capture output, return value, logs, etc...). If you do not want the ANT script to wait for the process

Urgent help with FTP task.....please help

2005-12-14 Thread Srikrishna_Parthasarathy
I downloaded the required jarfile from ant site for ftp task . I get the following error. C:\antscriptsant -verbose -f generalftp.xml Apache Ant version 1.6.2 compiled on August 5 2004 Buildfile: generalftp.xml Detected Java version: 1.5 in: C:\bea9\JROCKI~1\jre Detected OS: Windows XP

RE: asadmin start-domain domain1

2005-12-14 Thread Gunter, Tony
Can you provide the exact exec text you are using... I am going to pretty this up when I get it working, but here goes: target name=startServer exec dir=d:\opt2\sun\appserver\bin executable=asadmin.bat inputstring=start-domain domain1/ /target you need set the spawn=true I have

Re: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
Hello, Are you aure you have ftp server up and running on 10.187.218.183? Can you access the ftp server using ordinary command line client like C:\ ftp 10.187.218.183 Regards Ivan --- [EMAIL PROTECTED] wrote: I downloaded the required jarfile from ant site for ftp task . I get the

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Srikrishna_Parthasarathy
I am trying from my laptop to my desktop. Eventually I have to move files from one windows box to multiple windows boxes. -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 6:14 PM To: Ant Users List Subject: Re: Urgent help with FTP

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
Hello --- [EMAIL PROTECTED] wrote: I am trying from my laptop to my desktop. Fine, but is there a running ftp server on your desktop? Regards Ivan -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 6:14 PM To: Ant Users List

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Srikrishna_Parthasarathy
I am not a windows guy ...How to check if the ftp server is running or how to start it ? I did from my laptop the following C:\antscriptsftp 10.187.218.183 ftp: connect :Unknown error number ftp exit Invalid command. ftp quit I am using windows xp sp1 Thanks srikrishna -Original

Re: Urgent help with FTP task.....please help

2005-12-14 Thread Alexey N. Solofnenko
Why not to use copy with UNC paths? - Alexey. [EMAIL PROTECTED] wrote: I am trying from my laptop to my desktop. Eventually I have to move files from one windows box to multiple windows boxes. -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Wednesday, December

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
No offlist emails, please. See google for ftp servers on windows [1]. Microsoft FTP server is part of their IIS. Also they say WS_FTP is a nice ftp server. Regards Ivan [1]http://www.google.com/search?hl=enlr=q=%22ftp+sever%22+windowsbtnG=Search --- [EMAIL PROTECTED] wrote: Do you know on

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
--- [EMAIL PROTECTED] wrote: I am not a windows guy ...How to check if the ftp server is running or how to start it ? I did from my laptop the following C:\antscriptsftp 10.187.218.183 ftp: connect :Unknown error number Seems that there is no ftp daeamon running on your desktop. You

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Srikrishna_Parthasarathy
Thanks for your email I am using ant 1.6.5 . For ftp what jar file you have to download and put in ant lib directory? It used to be netcommons.jar...I don't see that now. -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 6:59 PM To:

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Ivan Ivanov
Hello --- [EMAIL PROTECTED] wrote: Thanks for your email I am using ant 1.6.5. I am not sure you are using ant 1.6.5. From your first message I see: C:\antscriptsant -verbose -f generalftp.xml Apache Ant version 1.6.2 compiled on August 5 2004 ^^ Here it says

RE: Urgent help with FTP task.....please help

2005-12-14 Thread Srikrishna_Parthasarathy
Hello Ivan It is working now from laptop to unix box .I needed two jar files. Jakar-oro file and commons-net file . I would install ftp server on my desktop as per your suggestion and make that also work. Thanks srikrishna -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED]

Re: ant-optional.jar

2005-12-14 Thread Antoine Levy-Lambert
Hello Tony, the document called Installing Ant http://ant.apache.org/manual/install.html#buildingant says this : Make sure you have downloaded any auxiliary jars required to build tasks you are interested in. These should either be available on the CLASSPATH or added to the |lib| directory. See