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 PROTECTED]> wrote:

>
> 
> 
> 
>   
> 
>   
>  
> But for whatever reason, this only picks up files at the top level
> (things in source, but not source/somesubdir/someotherdir).

This is because your other files are not matched by the glob pattern
(they don't start with "template" but the directory path leading up to
it.

You need to preserve the directory structure, right?  Otherwise you
could use chained mappers and flatten the file names first.

I currently don't see anything but



Stefan

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



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: Ant Users List
Subject: RE: help with copy and glob mapper


> -Original Message-
> From: EJ Ciramella [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 13, 2005 3:54 PM
> To: user@ant.apache.org
> Subject: help with copy and glob mapper
> 
> We have a series of templates in a particular directory and I was
hoping
> to use copy/glob mapper/expand properties in order to move them into
the
> build directory AND rename them.  At a point, the directory paths are
> identical, so what I was hoping to do is something like this:
> 
>
> 
> 
> 
>   
> 
>   
> 
> But for whatever reason, this only picks up files at the top level
(things
> in source, but not source/somesubdir/someotherdir).
> 
> Is there a way to do this?

H, I'm no expert but it looks like your mapper needs to reflect the
arbitrary directory depth by using **.
Can't lay my hands on any tested example code but see if some
combination like this is helpful:


or something like that, add stars or subtract stars to suit your
particular need.  and if that doesn't work, try pulling a little deeper
in your fileset if you don't have too many files.   


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



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 is either
correct or complete. It's probably much safer to  a native one,
like gcc -E. This is what I ended up doing. --DD

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 on that port accepting 
connections, but the machine is there (its not a firewall silentry 
dropping packets)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 redeploy of a real app.




my question is the following :

we have a j2ee application (standard architecture struts + ejbs+toplink). we
deploy an ear file. 


when we deploy an ear file is there any way we can update the jsp files in
it without re-deploying?. if so how?.


nope. not unless you unzip the ear file and get your app server to run 
the expanded one.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 path (this is a normal behavior which has nothing to do with
Java / Ant).
So what I want is to append the DLL's dir to the windows path just before I
run the task but it has to be done in the same process of Ant in order to be
visible to the first DLL (which runs in a child process created by the Ant
task).

I hope that's clear enough.



 has an  attribute. set the path there. You do not need to 
(and cannot) alter the env of ant while it is running


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
>Betreff: How to know target executed successful or not
>
>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 the best spam protection 
>around http://mail.yahoo.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]



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"
  windowtitle="Heavyweight API">
 
 

 
 packages="heavyweight.gui.*"/>

 
 
 
 href="http://java.sun.com/products/jdk/1.5/docs/api/"; 
packagelistLoc="/tmp"/>
 href="http://developer.java.sun.com/developer/products/xml/docs/api/"/>

   
 
 

When I ran this with -debug, here's all I got:

apidocs:
 [javadoc] scanning C:\src\heavyweight for packages.
DirSet: Setup scanner in dir C:\src\heavyweight with patternSet{ 
includes: [heavyweight/gui/**, heavyweight/io/**, heavyweight/re/**, 
heavyweight/util/**] excludes: [] }

 [javadoc] C:\src\heavyweight doesn't contain any packages, dropping it.

I don't feel any closer to a solution. Help?

Thanks.

Stefan Bodewig wrote:


On Tue, 13 Dec 2005, Thom Hehl <[EMAIL PROTECTED]> wrote:

 


packagenames="heavyweight.gui.* heavyweight.io.* heavyweight.re.*
heavyweight.util.*"
   



the separator for packagenames is "," not " ".

 


  sourcepath="${src}"
   



might be the most important information.

 


BUILD FAILED C:\src\heavyweight\build.xml:120: No source files and
no packages have been specified.
   



run ant -debug and see which directories get scanned for Java files
and which directories are included.

Each entry in sourcepath will be the root directory of a .

From there, only the directories whose names match one of your named

packages, in your case that means matches on of the patterns
heavyweight/gui/**, heavyweight/io/**, heavyweight/re/** or
heavyweight/util/**.  Only directories that contain .java files or a
package.html are accepted.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 




Thom Hehl
Heavyweight Software for Heavyweight Needs
www.heavyweightsoftware.com
--
"In every revolution, there is one man with a vision."--Jerome Bixby



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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/14/2005  09:20 AM 5,925 build.xml
12/14/2005  09:16 AM   111 CsvFileTestFile.csv
11/29/2005  03:05 PM   246,142 err.log
06/20/2005  10:02 PM   449 Exception.java
10/02/2005  05:24 AM  gui
12/13/2005  08:25 PM  io
12/14/2005  09:21 AM 0 log.out
10/02/2005  05:24 AM  re
11/07/2005  06:21 PM  test
12/14/2005  09:16 AM  testbuild
09/26/2005  02:25 PM 0 testisfile
12/14/2005  09:16 AM   512 testisfile.data
12/14/2005  09:16 AM11 testisfile.index
12/10/2005  05:44 PM  util
09/04/2005  11:47 AM 2,372 ValidationException.java
  9 File(s)255,522 bytes

Directory of C:\src\heavyweight\build

12/14/2005  09:16 AM  .
12/14/2005  09:16 AM  ..
12/14/2005  09:16 AM  heavyweight
  0 File(s)  0 bytes

Directory of C:\src\heavyweight\build\heavyweight

12/14/2005  09:16 AM  .
12/14/2005  09:16 AM  ..
12/14/2005  09:16 AM   711 Exception.class
12/14/2005  09:16 AM  gui
12/14/2005  09:16 AM  io
12/14/2005  09:16 AM  re
12/14/2005  09:16 AM  test
12/14/2005  09:16 AM  util
12/14/2005  09:16 AM 1,949 ValidationException.class
  2 File(s)  2,660 bytes

Directory of C:\src\heavyweight\build\heavyweight\gui

12/14/2005  09:16 AM  .
12/14/2005  09:16 AM  ..
12/14/2005  09:16 AM   216 FileMonitor$1.class
12/14/2005  09:16 AM 2,137 FileMonitor$MessageListener.class
12/14/2005  09:16 AM 3,695 FileMonitor.class
12/14/2005  09:16 AM   222 MessageWindow$1.class
12/14/2005  09:16 AM 2,157 MessageWindow$MessageListener.class
12/14/2005  09:16 AM 3,294 MessageWindow.class
  6 File(s) 11,721 bytes

Directory of C:\src\heavyweight\build\heavyweight\io

12/14/2005  09:16 AM  .
12/14/2005  09:16 AM  ..
12/14/2005  09:16 AM 6,324 CgiProcessor.class
12/14/2005  09:16 AM 1,934 CsvReader.class
12/14/2005  09:16 AM 4,457 CsvWriter.class
12/14/2005  09:16 AM   592 ExcludesExpressionFilter.class
12/14/2005  09:16 AM   153 Externalizable.class
12/14/2005  09:16 AM 1,554 FilenameExpressionFilter.class
12/14/2005  09:16 AM   807 HtmlReportStream$HtmlString.class
12/14/2005  09:16 AM 9,754 HtmlReportStream.class
12/14/2005  09:16 AM   637 IndexedFile.class
12/14/2005  09:16 AM 1,729 IndexedSequentialFile$EntryItr.class
12/14/2005  09:16 AM 1,482 IndexedSequentialFile$KeyItr.class
12/14/2005  09:16 AM 7,480 IndexedSequentialFile.class
12/14/2005  09:16 AM 1,193 InputStreamCopier.class
12/14/2005  09:16 AM 4,348 ReportStream.class
12/14/2005  09:16 AM 1,005 Toolbox.class
12/14/2005  09:16 AM   201 Xmlable.class
12/14/2005  09:16 AM 1,704 XmlPersistenceMgr.class
12/14/2005  09:16 AM 2,132 XmlTemplateProcessor.class
 18 File(s) 47,486 bytes

Directory of C:\src\heavyweight\build\heavyweight\re

12/14/2005  09:16 AM  .
12/14/2005  09:16 AM  ..
12/14/2005  09:16 AM   315 CountyNameException.class
12/14/2005  09:16 AM  entity
12/14/2005  09:16 AM  listing
  1 File(s)315 bytes

Directory of C:\src\heavyweight\build\heavyweight\re\entity

12/14/2005  09:16 AM  .
12/14/2005  09:16 AM  ..
12/14/2005  09:16 AM 2,421 Code.class
12/14/2005  09:16 AM   816 County.class
12/14/2005  09:16 AM 2,881 Dimensions.class
12/14/2005  09:16 AM 1,588 Feature.class
12/14/2005  09:16 AM 2,336 FeaturesList.class
12/14/2005  09:16 AM   793 MlsArea.class
12/14/2005  09:16 AM 2,370 RealEstateAgent.class
12/14/2005  09:16 AM 3,398 Room.class
12/14/2005  09:16 AM 4,150 Unit.class
  9 File(s) 20,753 bytes

Directory of C:\src\heavyweight\build\heavyweight\re\listing

12/14/2005  09:16 AM  .
12/14/2005  09:16 AM  ..
12/14/2005  09:16 AM   248 CommercialListing$1.class
12/14/2005  09:16 AM 1,259 CommercialListing$Comparator0.class
12/14/2005  09:16 AM 1,494 CommercialListing$Comparator1.class
12/14/2005  09:16 AM 8,634 CommercialListing.cl

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: Problems with building a servlet that refers an EJB


> On Tue, 13 Dec 2005, <[EMAIL PROTECTED]> wrote:
> 
> >   
> >   
> >   
> >
> >   
> >   
> >
> >
> >   
> >  
> 
> A classpath never points to the .class files but either to jar files
> or directories that are roots of directory hierarchies holding .class
> files.
> 
> In your case you will want 
> instead of the second fileset.
> 
> Stefan
> 
> -
> 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]



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


   
   
   
 

 
   


My problem is that if this macro is called more that
once, "path" will always have the first value it was
set to.

I can understand the behaviour because this is how
properties work.

Is there a way of somehow having properties that are
local to the macro definitions?

Thanks,
Paulo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
that properties aren't immutable, and
create the following macro


   
   
   
 

 
   


My problem is that if this macro is called more that
once, "path" will always have the first value it was
set to.

I can understand the behaviour because this is how
properties work.

Is there a way of somehow having properties that are
local to the macro definitions?

Thanks,
Paulo

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



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 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 that properties aren't 
> immutable, and create the following macro
> 
> 
>
>
>
>  
> 
>  
>
> 
> 
> My problem is that if this macro is called more that once, "path" will

> always have the first value it was set to.
> 
> I can understand the behaviour because this is how properties work.
> 
> Is there a way of somehow having properties that are local to the 
> macro definitions?
> 
> Thanks,
> Paulo
> 
> -
> 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]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 on 12/14/2005 09:53:47 AM:

> 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
> 
> 
>
>
>
>  
> 
>  
>
> 
> 
> My problem is that if this macro is called more that
> once, "path" will always have the first value it was
> set to.
> 
> I can understand the behaviour because this is how
> properties work.
> 
> Is there a way of somehow having properties that are
> local to the macro definitions?
> 
> Thanks,
> Paulo
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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 looks as if it was.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
structure in your other response looks as if it was.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 




Thom Hehl
Heavyweight Software for Heavyweight Needs
www.heavyweightsoftware.com
--
"In every revolution, there is one man with a vision."--Jerome Bixby



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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: I'm trying to use the ftp task with Ant
> 1.6.5, but ant is telling me it doesn't recognize the task named
"ftp."
> I downloaded both the oro and commons.net jar files, placed them in
> ANT_HOME\lib, and Ant still does not recognize the task name.  Upon
> further inspection, the installation document asks you to install oro,
> commons.net, and optional ... so I assumed that's what my problem was.
> Apparently not.  Why is Ant not recognizing ftp as a valid task?



***
The information in this email is confidential and may be legally privileged.  
Access to this email by anyone other than the intended addressee is 
unauthorized.  If you are not the intended recipient of this message, any 
review, disclosure, copying, distribution, retention, or any action taken or 
omitted to be taken in reliance on it is prohibited and may be unlawful.  If 
you are not the intended recipient, please reply to or forward a copy of this 
message to the sender and delete the message, any attachments, and any copies 
thereof from your system.
***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 the next sequential task.  I realize this may or may not be
an ant issue, but I was wondering if anyone had seen that behavior
before.







***
The information in this email is confidential and may be legally privileged.  
Access to this email by anyone other than the intended addressee is 
unauthorized.  If you are not the intended recipient of this message, any 
review, disclosure, copying, distribution, retention, or any action taken or 
omitted to be taken in reliance on it is prohibited and may be unlawful.  If 
you are not the intended recipient, please reply to or forward a copy of this 
message to the sender and delete the message, any attachments, and any copies 
thereof from your system.
***

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 (if you want to run it in the background for example) you need 
set the spawn="true" attribute on the  call
 
Later,
 
Ninju
 


- Original Message 
From: "Gunter, Tony" <[EMAIL PROTECTED]>
To: Ant Users List 
Sent: Wednesday, December 14, 2005 3:36:16 PM
Subject: asadmin start-domain domain1


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 the next sequential task.  I realize this may or may not be
an ant issue, but I was wondering if anyone had seen that behavior
before.







***
The information in this email is confidential and may be legally privileged.  
Access to this email by anyone other than the intended addressee is 
unauthorized.  If you are not the intended recipient of this message, any 
review, disclosure, copying, distribution, retention, or any action taken or 
omitted to be taken in reliance on it is prohibited and may be unlawful.  If 
you are not the intended recipient, please reply to or forward a copy of this 
message to the sender and delete the message, any attachments, and any copies 
thereof from your system.
***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

parsing buildfile C:\antscripts\generalftp.xml with URI =
file:///C:/antscripts/

generalftp.xml

Project base dir set to: C:\antscripts

Build sequence for target `ftp' is [ftp]

Complete build sequence is [ftp, ]

 

ftp:

  [ftp] Opening FTP connection to 10.187.218.183

 

BUILD FAILED

C:\antscripts\generalftp.xml:7: error during FTP transfer:
java.net.ConnectExcep

tion: Connection refused

at
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)

 

at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)

at org.apache.tools.ant.Main.runBuild(Main.java:673)

at org.apache.tools.ant.Main.startAnt(Main.java:188)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

 

 

My build file is

 









  

   





 

what is wrong...



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!



***
The information in this email is confidential and may be legally privileged.  
Access to this email by anyone other than the intended addressee is 
unauthorized.  If you are not the intended recipient of this message, any 
review, disclosure, copying, distribution, retention, or any action taken or 
omitted to be taken in reliance on it is prohibited and may be unlawful.  If 
you are not the intended recipient, please reply to or forward a copy of this 
message to the sender and delete the message, any attachments, and any copies 
thereof from your system.
***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
> 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
> 
> parsing buildfile C:\antscripts\generalftp.xml with
> URI =
> file:///C:/antscripts/
> 
> generalftp.xml
> 
> Project base dir set to: C:\antscripts
> 
> Build sequence for target `ftp' is [ftp]
> 
> Complete build sequence is [ftp, ]
> 
>  
> 
> ftp:
> 
>   [ftp] Opening FTP connection to 10.187.218.183
> 
>  
> 
> BUILD FAILED
> 
> C:\antscripts\generalftp.xml:7: error during FTP
> transfer:
> java.net.ConnectExcep
> 
> tion: Connection refused
> 
> at
>
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)
> 
>  
> 
> at
>
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> 
> at
> org.apache.tools.ant.Task.perform(Task.java:364)
> 
> at
> org.apache.tools.ant.Target.execute(Target.java:341)
> 
> at
>
org.apache.tools.ant.Target.performTasks(Target.java:369)
> 
> at
>
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> 
> at
>
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> 
> at
> org.apache.tools.ant.Main.runBuild(Main.java:673)
> 
> at
> org.apache.tools.ant.Main.startAnt(Main.java:188)
> 
> at
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> 
> at
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> 
>  
> 
>  
> 
> My build file is
> 
>  
> 
> 
> 
> 
> 
>  
>  remotedir="c:\uploads"
> 
> depends="yes"
> 
>userid="sparthasarthy12"
> 
>password="srinivasa27">
> 
> 
> 
>   
> 
>
> 
> 
> 
> 
> 
>  
> 
> what is wrong...
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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.please help

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
> 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
> 
> parsing buildfile C:\antscripts\generalftp.xml with
> URI =
> file:///C:/antscripts/
> 
> generalftp.xml
> 
> Project base dir set to: C:\antscripts
> 
> Build sequence for target `ftp' is [ftp]
> 
> Complete build sequence is [ftp, ]
> 
>  
> 
> ftp:
> 
>   [ftp] Opening FTP connection to 10.187.218.183
> 
>  
> 
> BUILD FAILED
> 
> C:\antscripts\generalftp.xml:7: error during FTP
> transfer:
> java.net.ConnectExcep
> 
> tion: Connection refused
> 
> at
>
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)
> 
>  
> 
> at
>
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> 
> at
> org.apache.tools.ant.Task.perform(Task.java:364)
> 
> at
> org.apache.tools.ant.Target.execute(Target.java:341)
> 
> at
>
org.apache.tools.ant.Target.performTasks(Target.java:369)
> 
> at
>
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> 
> at
>
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> 
> at
> org.apache.tools.ant.Main.runBuild(Main.java:673)
> 
> at
> org.apache.tools.ant.Main.startAnt(Main.java:188)
> 
> at
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> 
> at
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> 
>  
> 
>  
> 
> My build file is
> 
>  
> 
> 
> 
> 
> 
>  
>  remotedir="c:\uploads"
> 
> depends="yes"
> 
>userid="sparthasarthy12"
> 
>password="srinivasa27">
> 
> 
> 
>   
> 
>
> 
> 
> 
> 
> 
>  
> 
> what is wrong...
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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]



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
> Subject: Re: Urgent help with FTP task.please
> help
> 
> 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
> > 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
> > 
> > parsing buildfile C:\antscripts\generalftp.xml
> with
> > URI =
> > file:///C:/antscripts/
> > 
> > generalftp.xml
> > 
> > Project base dir set to: C:\antscripts
> > 
> > Build sequence for target `ftp' is [ftp]
> > 
> > Complete build sequence is [ftp, ]
> > 
> >  
> > 
> > ftp:
> > 
> >   [ftp] Opening FTP connection to
> 10.187.218.183
> > 
> >  
> > 
> > BUILD FAILED
> > 
> > C:\antscripts\generalftp.xml:7: error during FTP
> > transfer:
> > java.net.ConnectExcep
> > 
> > tion: Connection refused
> > 
> > at
> >
>
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)
> > 
> >  
> > 
> > at
> >
>
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > 
> > at
> > org.apache.tools.ant.Task.perform(Task.java:364)
> > 
> > at
> >
> org.apache.tools.ant.Target.execute(Target.java:341)
> > 
> > at
> >
>
org.apache.tools.ant.Target.performTasks(Target.java:369)
> > 
> > at
> >
>
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> > 
> > at
> >
>
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> > 
> > at
> > org.apache.tools.ant.Main.runBuild(Main.java:673)
> > 
> > at
> > org.apache.tools.ant.Main.startAnt(Main.java:188)
> > 
> > at
> >
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> > 
> > at
> >
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> > 
> >  
> > 
> >  
> > 
> > My build file is
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> >  > 
> >  remotedir="c:\uploads"
> > 
> > depends="yes"
> > 
> >userid="sparthasarthy12"
> > 
> >password="srinivasa27">
> > 
> > 
> > 
> >   
> > 
> >
> > 
> > 
> > 
> > 
> > 
> >  
> > 
> > what is wrong...
> > 
> > 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.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]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 14, 2005 6:22 PM
To: Ant Users List
Subject: RE: Urgent help with FTP task.please help

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
> Subject: Re: Urgent help with FTP task.please
> help
> 
> 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
> > 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
> > 
> > parsing buildfile C:\antscripts\generalftp.xml
> with
> > URI =
> > file:///C:/antscripts/
> > 
> > generalftp.xml
> > 
> > Project base dir set to: C:\antscripts
> > 
> > Build sequence for target `ftp' is [ftp]
> > 
> > Complete build sequence is [ftp, ]
> > 
> >  
> > 
> > ftp:
> > 
> >   [ftp] Opening FTP connection to
> 10.187.218.183
> > 
> >  
> > 
> > BUILD FAILED
> > 
> > C:\antscripts\generalftp.xml:7: error during FTP
> > transfer:
> > java.net.ConnectExcep
> > 
> > tion: Connection refused
> > 
> > at
> >
>
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)
> > 
> >  
> > 
> > at
> >
>
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > 
> > at
> > org.apache.tools.ant.Task.perform(Task.java:364)
> > 
> > at
> >
> org.apache.tools.ant.Target.execute(Target.java:341)
> > 
> > at
> >
>
org.apache.tools.ant.Target.performTasks(Target.java:369)
> > 
> > at
> >
>
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> > 
> > at
> >
>
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> > 
> > at
> > org.apache.tools.ant.Main.runBuild(Main.java:673)
> > 
> > at
> > org.apache.tools.ant.Main.startAnt(Main.java:188)
> > 
> > at
> >
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> > 
> > at
> >
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> > 
> >  
> > 
> >  
> > 
> > My build file is
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> >  > 
> >  remotedir="c:\uploads"
> > 
> > depends="yes"
> > 
> >userid="sparthasarthy12"
> > 
> >password="srinivasa27">
> > 
> > 
> > 
> >   
> > 
> >
> > 
> > 
> > 
> > 
> > 
> >  
> > 
> > what is wrong...
> > 
> > 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.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]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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]



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, 2005 6:14 PM

To: Ant Users List
Subject: Re: Urgent help with FTP task.please help

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

parsing buildfile C:\antscripts\generalftp.xml with
URI =
file:///C:/antscripts/

generalftp.xml

Project base dir set to: C:\antscripts

Build sequence for target `ftp' is [ftp]

Complete build sequence is [ftp, ]

 


ftp:

  [ftp] Opening FTP connection to 10.187.218.183

 


BUILD FAILED

C:\antscripts\generalftp.xml:7: error during FTP
transfer:
java.net.ConnectExcep

tion: Connection refused

at



org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)
  
 


at



org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
  

at
org.apache.tools.ant.Task.perform(Task.java:364)

at
org.apache.tools.ant.Target.execute(Target.java:341)

at



org.apache.tools.ant.Target.performTasks(Target.java:369)
  

at



org.apache.tools.ant.Project.executeTarget(Project.java:1214)
  

at



org.apache.tools.ant.Project.executeTargets(Project.java:1062)
  

at
org.apache.tools.ant.Main.runBuild(Main.java:673)

at
org.apache.tools.ant.Main.startAnt(Main.java:188)

at



org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
  

at



org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
  
 

 


My build file is

 










  

   





 


what is wrong...






__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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]
  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 on how to install it ?
> 
> -Original Message-
> From: Ivan Ivanov
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 14, 2005 6:51 PM
> To: Ant Users List
> Subject: RE: Urgent help with FTP task.please
> help
> 
> 
> 
> --- [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. You have to install one first.
> 
> Regards
> Ivan
> 
> > ftp> exit
> > Invalid command.
> > ftp> quit
> > I am using windows xp sp1
> > Thanks
> > srikrishna
> > 
> > -Original Message-
> > From: Ivan Ivanov
> > [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, December 14, 2005 6:22 PM
> > To: Ant Users List
> > Subject: RE: Urgent help with FTP task.please
> > help
> > 
> > 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
> > > Subject: Re: Urgent help with FTP
> task.please
> > > help
> > > 
> > > 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
> > > > 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
> > > > 
> > > > parsing buildfile C:\antscripts\generalftp.xml
> > > with
> > > > URI =
> > > > file:///C:/antscripts/
> > > > 
> > > > generalftp.xml
> > > > 
> > > > Project base dir set to: C:\antscripts
> > > > 
> > > > Build sequence for target `ftp' is [ftp]
> > > > 
> > > > Complete build sequence is [ftp, ]
> > > > 
> > > >  
> > > > 
> > > > ftp:
> > > > 
> > > >   [ftp] Opening FTP connection to
> > > 10.187.218.183
> > > > 
> > > >  
> > > > 
> > > > BUILD FAILED
> > > > 
> > > > C:\antscripts\generalftp.xml:7: error during
> FTP
> > > > transfer:
> > > > java.net.ConnectExcep
> > > > 
> > > > tion: Connection refused
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)
> > > > 
> > > >  
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > > > 
> > > > at
> > > >
> org.apache.tools.ant.Task.perform(Task.java:364)
> > > > 
> > > > at
> > > >
> > >
> >
> org.apache.tools.ant.Target.execute(Target.java:341)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.Target.performTasks(Target.java:369)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> > > > 
> > > > at
> > > >
> > org.apache.tools.ant.Main.runBuild(Main.java:673)
> > > > 
> > > > at
> > > >
> > org.apache.tools.ant.Main.startAnt(Main.java:188)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> > > > 
> > > >  
> > > > 
> > > >  
> > > > 
> > > > My build file is
> > > > 
> > > >  
> > > > 
> > > > 
> > > > 
> > > > 
> 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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. You have to install one first.

Regards
Ivan

> ftp> exit
> Invalid command.
> ftp> quit
> I am using windows xp sp1
> Thanks
> srikrishna
> 
> -Original Message-
> From: Ivan Ivanov
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 14, 2005 6:22 PM
> To: Ant Users List
> Subject: RE: Urgent help with FTP task.please
> help
> 
> 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
> > Subject: Re: Urgent help with FTP task.please
> > help
> > 
> > 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
> > > 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
> > > 
> > > parsing buildfile C:\antscripts\generalftp.xml
> > with
> > > URI =
> > > file:///C:/antscripts/
> > > 
> > > generalftp.xml
> > > 
> > > Project base dir set to: C:\antscripts
> > > 
> > > Build sequence for target `ftp' is [ftp]
> > > 
> > > Complete build sequence is [ftp, ]
> > > 
> > >  
> > > 
> > > ftp:
> > > 
> > >   [ftp] Opening FTP connection to
> > 10.187.218.183
> > > 
> > >  
> > > 
> > > BUILD FAILED
> > > 
> > > C:\antscripts\generalftp.xml:7: error during FTP
> > > transfer:
> > > java.net.ConnectExcep
> > > 
> > > tion: Connection refused
> > > 
> > > at
> > >
> >
>
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)
> > > 
> > >  
> > > 
> > > at
> > >
> >
>
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > > 
> > > at
> > > org.apache.tools.ant.Task.perform(Task.java:364)
> > > 
> > > at
> > >
> >
> org.apache.tools.ant.Target.execute(Target.java:341)
> > > 
> > > at
> > >
> >
>
org.apache.tools.ant.Target.performTasks(Target.java:369)
> > > 
> > > at
> > >
> >
>
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> > > 
> > > at
> > >
> >
>
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> > > 
> > > at
> > >
> org.apache.tools.ant.Main.runBuild(Main.java:673)
> > > 
> > > at
> > >
> org.apache.tools.ant.Main.startAnt(Main.java:188)
> > > 
> > > at
> > >
> >
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> > > 
> > > at
> > >
> >
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> > > 
> > >  
> > > 
> > >  
> > > 
> > > My build file is
> > > 
> > >  
> > > 
> > > 
> > > 
> > > 
> > > 
> > >  > > 
> > >  remotedir="c:\uploads"
> > > 
> > > depends="yes"
> > > 
> > >userid="sparthasarthy12"
> > > 
> > >password="srinivasa27">
> > > 
> > > 
> > > 
> > >   
> > > 
> > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > >  
> > > 
> > > what is wrong...
> > > 
> > > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.com 
> > 
> 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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@ant.apache.org
Subject: RE: Urgent help with FTP task.please help

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 on how to install it ?
> 
> -Original Message-
> From: Ivan Ivanov
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 14, 2005 6:51 PM
> To: Ant Users List
> Subject: RE: Urgent help with FTP task.please
> help
> 
> 
> 
> --- [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. You have to install one first.
> 
> Regards
> Ivan
> 
> > ftp> exit
> > Invalid command.
> > ftp> quit
> > I am using windows xp sp1
> > Thanks
> > srikrishna
> > 
> > -Original Message-
> > From: Ivan Ivanov
> > [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, December 14, 2005 6:22 PM
> > To: Ant Users List
> > Subject: RE: Urgent help with FTP task.please
> > help
> > 
> > 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
> > > Subject: Re: Urgent help with FTP
> task.please
> > > help
> > > 
> > > 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
> > > > 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
> > > > 
> > > > parsing buildfile C:\antscripts\generalftp.xml
> > > with
> > > > URI =
> > > > file:///C:/antscripts/
> > > > 
> > > > generalftp.xml
> > > > 
> > > > Project base dir set to: C:\antscripts
> > > > 
> > > > Build sequence for target `ftp' is [ftp]
> > > > 
> > > > Complete build sequence is [ftp, ]
> > > > 
> > > >  
> > > > 
> > > > ftp:
> > > > 
> > > >   [ftp] Opening FTP connection to
> > > 10.187.218.183
> > > > 
> > > >  
> > > > 
> > > > BUILD FAILED
> > > > 
> > > > C:\antscripts\generalftp.xml:7: error during
> FTP
> > > > transfer:
> > > > java.net.ConnectExcep
> > > > 
> > > > tion: Connection refused
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)
> > > > 
> > > >  
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > > > 
> > > > at
> > > >
> org.apache.tools.ant.Task.perform(Task.java:364)
> > > > 
> > > > at
> > > >
> > >
> >
> org.apache.tools.ant.Target.execute(Target.java:341)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.Target.performTasks(Target.java:369)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> > > > 
> > > > at
> > > >
> > org.apache.tools.ant.Main.runBuild(Main.java:673)
> > > > 
> > > > at
> > > >
> > org.apache.tools.ant.Main.startAnt(Main.java:188)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> > > > 
> > > > at
> > > >
> > >
> >
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> > > > 
> > > >  
> > > > 
> > > >  
> > > > 
> > > > My build file is
> > > > 
> > > >  
> > > > 
> > > > 
> > > > 
> > > > 
> 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMA

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 says something else.

> For ftp what jar file you have to download and
> put in ant lib directory?
Everything regarding ftp task is described in the fine
manual. See [1].

Regards
Ivan

[1]http://ant.apache.org/manual/install.html#librarydependencies

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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] 
Sent: Wednesday, December 14, 2005 7:20 PM
To: Ant Users List
Subject: RE: Urgent help with FTP task.please help

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 says something else.

> For ftp what jar file you have to download and
> put in ant lib directory?
Everything regarding ftp task is described in the fine
manual. See [1].

Regards
Ivan

[1]http://ant.apache.org/manual/install.html#librarydependencies

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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]



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 Library Dependencies 
for a list of jar requirements for various features.
>Note that this will make the auxiliary jars available for the building
of Ant only. For running Ant you will still need to make the jars
available as described under Installing Ant
.

True, lib/optional is not mentioned. We might need to fix it.

Antoine

Gunter, Tony wrote:

>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)?
>
>  
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]