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.

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] S

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:\antscripts>ant -verbose -f generalftp.xml > > Apache Ant version 1.6.2 compiled on August 5 2004 ^^ Here it s

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: user@an

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:\antscripts>ftp 10.187.218.183 > > ftp: connect :Unknown error number Seems that there is no ftp daeamon running on your desktop.

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=en&lr=&q=%22ftp+sever%22+windows&btnG=Search --- [EMAIL PROTECTED] wrote: > Do you know o

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

2005-12-14 Thread Alexey N. Solofnenko
Why not to use 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 14, 20

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:\antscripts>ftp 10.187.218.183 > ftp: connect :Unknown error number ftp> exit Invalid command. ftp> quit I am using windows xp sp1 Thanks srikrishna -Original Message-

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 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 task

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 > follo

RE: asadmin start-domain domain1

2005-12-14 Thread Gunter, Tony
> Can you provide the exact text you are using... I am going to pretty this up when I get it working, but here goes: > you need set the spawn="true" I have other dependencies that follow this, and I would rather it just bomb if the server fails to come up. Thanks for your help!

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:\antscripts>ant -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 pa

Re: asadmin start-domain domain1

2005-12-14 Thread Ninju Bohra
Can you provide the exact text you are using... If you are "exec"ing a process (via the 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 to exits

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: ant-optional.jar

2005-12-14 Thread Gunter, Tony
Okay here's how I got this to work: instead of placing the oro and commons.net jar files in ANT_HOME\lib, I placed them in ANT_HOME\lib\optional. Why is this not covered in the documentation, or is it and I just overlooked it somehow (very possible, even likely)? > But it raises other questions

Re: javadoc

2005-12-14 Thread Thom Hehl
Thanks! Changed to: 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

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 respons

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: 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 from ant con

Re: Using properties like variables

2005-12-14 Thread Ondrej Svetlik
Hello, try using 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 a second

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

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: Sent: Wednesday, December 14, 2005 12:15 AM Subject

Re: javadoc

2005-12-14 Thread Thom Hehl
One more thing. I thought it would be useful to include a directory listing. Here: Volume in drive C is SQ003706 Volume Serial Number is B4BD-A73C Directory of C:\src\heavyweight 12/14/2005 09:20 AM . 12/14/2005 09:20 AM .. 12/14/2005 09:16 AM build 12

Re: javadoc

2005-12-14 Thread Thom Hehl
OK, here's my current target from build.xml: packagenames="heavyweight.gui.*,heavyweight.io.*,heavyweight.re.*,heavyweight.util.*" sourcepath="${src}" defaultexcludes="yes" destdir="docs/api" author="true" version="true" use="true"

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

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

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 pa

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 redeplo

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

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 experimen

RE: help with copy and glob mapper

2005-12-14 Thread EJ Ciramella
This: Wouldn't match some template file at the base of the directory. This is my final solution: -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 10:05 PM To: A

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 PROTECTE