RE rebuilds even if source not changed

2008-04-28 Thread nicolas . vervelle
Hi, Maybe try putting your javafile elsewhere : * in a src/ dir (so that javac destdir is not a subdirectory of srcdir, which probably confuses javac) * by respecting the package / directory structure : it should be in my/class/ package hierarchy My 2 cts Nico Jean-Rene David <[EMAIL PROTECTE

RE Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread nicolas . vervelle
Hi, Why not using XML entities, which is not specific to Ant but simply XML ? Nico "Kent Larsson" <[EMAIL PROTECTED]> wrote on 14/03/2008 11:28:03: > Hi, > > In our Ant script to build Javadoc we have lots of 's inside > our 's where the 's are duplicated into most of > our 's. We would like t

Re: problem sending attachments

2007-01-10 Thread Nicolas Vervelle
Hi, which version of Ant are you using ? "Prior to Ant 1.7 only || has been supported as a nested element, you can still use this directly without an || container." Nico nb123 wrote: yes that is all in place, the jar files. as i said the textual mails are going through but the attachments a

Re: ant and eclipse?

2006-09-29 Thread Nicolas Vervelle
De: Mark Modrall <[EMAIL PROTECTED]> >First, anyone know how to tell what the two compilers > don'tlike about each other? And second, how does one get eclipse > to run ant > builds? On our project, we simply build in two different directories: - one for Eclipse builds - one for A

Re: Fail message in a try ... catch

2006-04-05 Thread Nicolas Vervelle
Reorganize your code: put the inside not outside ar wrote: Hi all, I loop on a fileset and use antcall to call a target for each file. Processing file tasks can fail. I use the Ant-Contrib trycatch task to make some alternative processing and customize error messages in my catch section

Re: Conditional antcall

2006-02-20 Thread Nicolas Vervelle
> I'd like to access to a database, and, if it fails, create the > database > otherwise update it. > To access the database, I intend to use a sql task. If the sql > request > fails, I want to call the create-database target. If it successes, > I want > to call the update-database target.

Re: zip files, upload to ftp, unzip files

2006-02-09 Thread Nicolas Vervelle
I use TAR+GZ to archieve, SCP to copy, SSH to execute commands remotely. You can check: http://cvs.sourceforge.net/viewcvs.py/jmol/Jmol-web/build-deploy.xml?view=markup De: "Alexey N. Solofnenko" <[EMAIL PROTECTED]> > Usually FTP is the worst option you have (at least SCP is secure). > It is >

Re: keep going after error

2006-02-08 Thread Nicolas Vervelle
I think there's a task in ant-contrib that should do just what you are looking for simon wrote: it executes a shell scrip that start the webapp. then it uses ant to test the webapp and after the test it should stop the webapp. it works fine as long as the tests are working fine, but as so

Re: AW: using ant option in eclipse

2006-02-03 Thread Nicolas Vervelle
Indeed an Eclipse question, but here is the answer: - right click on build.xml and select Run As / Ant Build ... (select the menu item with the ...). You then have a window where you configure your run. - you also have an Ant view Messages d´origine De: [EMAIL PROTECTED] Date: vendredi,

Re: Copy-Task

2006-02-01 Thread Nicolas Vervelle
I haven't followed the beginning of the discussion so I may be wrong about what it is about ;) (Sorry if I misunderstood the question) If you need to copy only modified files from local host to a remote host, you can use a mehod similar to what I have done for updating the http://www.jmol.or

Re: Unit test a build

2006-01-24 Thread Nicolas Vervelle
Clifton Craig wrote: Stefan, That sounds like exactly what I'm looking for. Only there's one big problem. I'm behind an authenticating HTTP proxy and I can't seem to get my svn client to get through it. Our in office proxy has traditionally caused me such problems and I faced this about a

Re: Target duration

2005-12-22 Thread Nicolas Vervelle
I forgot the link: http://ant-contrib.sourceforge.net/tasks/tasks/performance_monitor.html That's probably what you want Nicolas Vervelle wrote: Performance Monitor from Ant contrib ? Bruno PRIN wrote: Hello, We use ant to build 130 modules. The compilation ant building step take ov

Re: Target duration

2005-12-22 Thread Nicolas Vervelle
Performance Monitor from Ant contrib ? Bruno PRIN wrote: Hello, We use ant to build 130 modules. The compilation ant building step take over 10 hours, we want to know which step spend more time. The project is launch several times, i know the time spend by each launch of the project but I wan

Re: ant not recognizing command line argument

2005-12-01 Thread Nicolas Vervelle
Apparently, ant doesn't care of whatever you put in the commande line. Just a stupid idea: try specifying the extension for the ant script (ant.bat or ant.cmd) ant.bat -debug clean or ant.cmd -debug clean Safak Ökmen wrote: Hi! It is really strange. -debug doesn't work either. Look at thi

Re: Substring

2005-11-02 Thread Nicolas Vervelle
You can try (or something like that). I think it's part of ant-contrib. Remo Liechti wrote: Hi Gil Is there no easy way to do it? :/ It's a bit overhead to write files for this, isn't it ;) If there is no other possibility I'll do it this way... Thanks anyway, Remo -Original Mess

Re: CVS - get files by their label

2005-10-26 Thread Nicolas Vervelle
Otherwise, it's quite normal that it's not working well. Extract from the official CVS documentation : "Tag names must start with an uppercase or lowercase letter and can contain uppercase and lowercase letters, digits, `-', and `_'." Nicolas Remo Liechti wrote: No ideas? :( -Ori

Re: CVS - get files by their label

2005-10-26 Thread Nicolas Vervelle
Have you tried outside Ant ? Try in a command line (not WinCVS) and see if you have the same problem. Remo Liechti wrote: No ideas? :( -Original Message- From: Remo Liechti [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 26. Oktober 2005 09:56 To: user@ant.apache.org Subject: CVS - g

Re: Copy empty directory

2005-10-24 Thread Nicolas Vervelle
Have you tried without the "." in your fileset pattern : something like "**/*" ? wolverine my wrote: Hi! I'm using Ant 1.6.5 and I have the following directories and files test + war | | | + WEB-INF | + index.jsp | + build.xml note that the WEB-INF directory is empty and when execu

Re:

2005-10-20 Thread Nicolas Vervelle
from Ant Contrib ? Otherwise, could you be more specific ? Mikael Petterson (KI/EAB) wrote: How can I replace the R11A02 with a new number? cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: :Please help is needed:installing ant on aix 5.2

2005-10-12 Thread Nicolas Vervelle
Hi, A few more precisions could be helpful : - what have you downloaded ? - what are you using to untar it ? You need GNU tar if you have downloaded .tar.gz, otherwise you can use jar for the .zip - have you verified your download with pgp or md5 ? [EMAIL PROTECTED] wrote: Hello the list, I

Re: Zip a lot of files

2005-09-30 Thread Nicolas Vervelle
use a different name each time. Try using @{file} as part of the property name Sven Waibel wrote: How can i insert it in my target? Some ideas? Thanks a lot! Sven Nicolas Vervelle wrote: Maybe a to create yourself the destfile ? Sven Waibel wrote: ant-contrib helps in so many

Re: Zip a lot of files

2005-09-30 Thread Nicolas Vervelle
[for] D:\test\build.xml:702: Problem creating zip: D:\testing_today\D:\test\tt1.zip I tried , but it doesn't work with or Sven Nicolas Vervelle wrote: A solution that works: use task from ant-contrib. Maybe there's an other solution using only ant core tasks, but I don&

Re: Zip a lot of files

2005-09-30 Thread Nicolas Vervelle
A solution that works: use task from ant-contrib. Maybe there's an other solution using only ant core tasks, but I don't have the idea ;) Sven Waibel wrote: Hi, i have several files i want to zip. Situation: d:\test\tt1.txt d:\test\tt2.txt d:\test\tt3.txt d:\test\tt4.txt d:\test\tt5.txt

Re: AW: problem under Mac OS X + Eclipse

2005-09-29 Thread Nicolas Vervelle
ilable for ant via Window|Preferences|Ant|Runtime|Global Entries Gilbert -Original Message- From: Nicolas Vervelle [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 9:06 AM To: Ant Users List Subject: Re: problem under Mac OS X + Eclipse [EMAIL PROTECTED] wrote: Let the

Re: problem under Mac OS X + Eclipse

2005-09-29 Thread Nicolas Vervelle
[EMAIL PROTECTED] wrote: More interesting is the path, Ant has PATH: ${env.PATH} Ok, I aks the MacOSX/Eclipse user to test this and I will come back to this list with the result. Thanks for the help. Nicolas [EMAIL PROTECTED] wrote: Let the MacOSX/Eclipse user print the path. I

Re: problem under Mac OS X + Eclipse

2005-09-29 Thread Nicolas Vervelle
[EMAIL PROTECTED] wrote: Let the MacOSX/Eclipse user print the path. Is xgettext in that? Maybe the path is not propagated. Ok, so stupid question: how do I print the path ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

problem under Mac OS X + Eclipse

2005-09-28 Thread Nicolas Vervelle
Hi, I will probably post this one on the Eclipse mailing list, but maybe someone in the Ant list can help. I am working on an open-source project (Jmol [1]). The build is made with Ant but some of the Jmol developers / users use it from Eclipse. The build works correctly under Windows (and

Re: Apply task argument issues...

2005-09-26 Thread Nicolas Vervelle
Hi, A few ideas (not tested, just ideas) : - use a task for iterating through the fileset. - try a to add a "+" before your filename, set addsourcefile to false, and use Hope this helps, Nicolas Alan Moss wrote: I have an issue WRT the apply task. I need it to be much more flexible than

Re: Configuration of .htaccess file

2005-09-26 Thread Nicolas Vervelle
t. Is httpd.apache.org a good idea? Monday morning, what else can i say? /frank 2005-09-26 kl. 10.00 skrev Nicolas Vervelle: Euh ... why don't you post in the Apache mailing list ? You're in the Ant mailing list ... -

Re: Configuration of .htaccess file

2005-09-26 Thread Nicolas Vervelle
Euh ... why don't you post in the Apache mailing list ? You're in the Ant mailing list ... Frank Arensmeier wrote: Hi. I am new to Apache and I ran into a problem which I haven't found a solution for yet. My server is Apache 1.3.33 on Mac OS X (the bundled version). I am looking for a way to

Re: if then

2005-09-25 Thread Nicolas Vervelle
Check ant-contrib, it's a library with several additional ant tasks, for example http://ant-contrib.sourceforge.net Kai Hendry wrote: I want to do something quite simple, but with Ant it seems really difficult. I want to check a property BAR exists. If it is not set, then set it to anoth

RE: Extracting application version from Java file

2005-09-20 Thread Nicolas Vervelle
Thanks for this solution :) I am considering where I should put the version (in a Java file, a property file or in the build.xml) The pros and the cons: 1) in build.xml: I don't like it because : - two files are modified and need to be committed when the version is changed (build.xml and java).

Extracting application version from Java file

2005-09-20 Thread Nicolas Vervelle
Hi, In one of my Java source file, I have a line like this: public final static String version = "XX.YY.ZZ"; I'd like to extract the XX.YY.ZZ from the Ant build to name the resulting jar file with it : Jmol.XX.YY.ZZ.jar Can someone help me with how to extract the string from the file ? Thank

Re: and failifexecutionfails

2005-09-20 Thread Nicolas Vervelle
ate a Task which swallows errors generically, regardless of the type of task. Can it be built? I didn't try it but when I was looking for a solution to my problem I saw that ant-contrib has a tak. They are speaking about catching BuildException, not sure if it would catch other. Fro

Re: and failifexecutionfails

2005-09-19 Thread Nicolas Vervelle
, it really seems to be a bug in failifexecutionfails="false" for the task. It doesn't work, at least not in the same way of the task. Nicolas De: Nicolas Vervelle <[EMAIL PROTECTED]> > Hi, > > I want to run an executable during the build only if the > exec

and failifexecutionfails

2005-09-19 Thread Nicolas Vervelle
Hi, I want to run an executable during the build only if the executable is available. How can I prevent the build from failing if the executable is not here ? I tried the failifexecutionfails attribute : I thought that

Re: incremental builds

2005-09-15 Thread Nicolas Vervelle
Hi, I would say that it depends on the tasks you are using. A few examples : - for , you can use to check dependency - for , by default only newer files are copied You can always use , if/unless in and other tools to do your own up to date tests. Which tasks are you considering to use

Re: javac debug option

2005-09-08 Thread Nicolas Vervelle
Eduardo Yáñez Parareda wrote: Hi all, Which is the value I have to assign to 'debug' option of javac task? Ant documentation of Core tasks (http://ant.apache.org/manual/index.html) says that debug may be assigned to 'true', but in the examples it is assigned to 'on'. Who says the truth? Bo

Re: Force javac to overwrite class files?

2005-09-08 Thread Nicolas Vervelle
Hi, Why don't you simply delete your .class files before the second call to javac ? Richard Gaywood wrote: Hi list! I'm modifiying a slightly complex existing[1] build script for our J2EE web services app. I currently have two compile targets which compile class files with or without Emma

Re: Refresh the navigation view from build.xml

2005-09-07 Thread Nicolas Vervelle
Ana Gaspar Martínez wrote: Is there any mode of refresh the navigation view from the build.xml file?? I create folders and files, and there are not visible under i refresh the navigation view... Do you mean under Eclipse ? If so, just select "Run / Ant build ..." once (select the one with

Re: Refresh the navigation view from build.xml

2005-09-07 Thread Nicolas Vervelle
Ana Gaspar Martínez wrote: Is there any mode of refresh the navigation view from the build.xml file?? I create folders and files, and there are not visible under i refresh the navigation view... What navigation view ? Do you mean under Eclipse ? If so, just select "Run / Ant build ..." on

Re: Comparing two files

2005-09-03 Thread Nicolas Vervelle
Thanks a lot, I finally found it :) Works great De: Matt Benson <[EMAIL PROTECTED]> > --- Nicolas Vervelle <[EMAIL PROTECTED]> > wrote: > > > I want to compare two files (see if they have the > > same contents, > > timestamp can be different) and th

Comparing two files

2005-09-02 Thread Nicolas Vervelle
Hi, there's probably a simple way to do it, but I don't know how. I want to compare two files (see if they have the same contents, timestamp can be different) and then if they differ I want to copy an other file. Can someone help me ? Thanks in advance, Nicolas PS: If you need more infos, he

Retrieving a XML file generated by JavaScript ?

2005-08-27 Thread Nicolas Vervelle
Hi, I want to get the file that is see when I enter the following address in my browser : http://www.stolaf.edu/people/hansonr/jmol/docs/?xml I tried the task but it doesn't download what I need : it download the javascript that is used to generate the XML file, not the XML file itself. Is t

Re: Scp : Definition of a remote file set

2005-08-12 Thread Nicolas Vervelle
Here is an example of executing several commands with : password="${ssh.password}" trust="yes" failonerror="true" command="cd /home/groups/j/jm/jmol/htdocs/; tar zxvf upload.tgz; rm upload.tgz"> Complete build file can be found at: http://cvs.sourceforge.net/viewcvs.py/jmol/Jmol-web/build-de

Re: howto include files only - without dirtree

2005-08-09 Thread Nicolas Vervelle
Hi, you can check the "flatten" attribute of , or also the flatten mapper. Nicolas Sándor Tamás wrote: Hi Ant-users! I've checked the Directory-based Tasks page and googled the web to find any solution to my problem, without success. E.g. I have a dir tree like this: /lib |- jarlibname1

Re: Fwd: SCP...done...BUILD SUCCESSFUL....no local file created

2005-08-08 Thread Nicolas Vervelle
Hello, Brian Kuhn wrote: Has anyone gotten the SCP task to work correctly? I need to copy a single file from a server to my local machine using SSH. Does anyone have a working example? I am using SCP to update a website: I scp a .tgz file of the modifications and then extract it with sshexe

Re: Copy task and timestamp

2005-08-02 Thread Nicolas Vervelle
[EMAIL PROTECTED] wrote: Hi All, While you use Copy task it will change the timestamp of that file, i.e. if "old.txt" file was created on July 12, 2000 when you copy this file on Aug 12, 2005 to certain location Copy task will change its timestamp(or modified date) to Aug 12, 2005, ho

Re: scp problem: received directory without -r [SOLVED]

2005-08-01 Thread Nicolas Vervelle
. It's working fine now, thanks for the help. I still don't know why it's not working anymore with direct scp but I will now work with tar + gzip + scp :) Nicolas -Rob A -Original Message- From: Nicolas Vervelle [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2

Re: Ant file dependency

2005-08-01 Thread Nicolas Vervelle
Hi, check to set a property, and use unless in the target ;) Hope this helps, Nicolas Alexey Kakunin wrote: Hello all! I'm quite new in ant, actuallyI'm migrating from make. Seems it is really great tool, but I have some (probably very stupid) question. For example, I have a target for c

Re: scp problem: received directory without -r

2005-07-29 Thread Nicolas Vervelle
Hi, Anderson, Rob (Global Trade) wrote: What version of SSH server is on the remote end ? I seem to remember this error from something, but I don't think I saw it using the scp Ant task. It looks like the fileset may be sending directories, and not just files. I would suggest creating a zip or t

Re: scp problem: received directory without -r

2005-07-27 Thread Nicolas Vervelle
No one ? snif :'( Nicolas Vervelle wrote: Hi, I have a build file to update a website from my own pc using task. It was working perfectly until more than a week ago. I now have an error message when it tries to upload a file in a subdirectory : "server indicated an error: scp

Re: Strange behaviour ?!

2005-07-27 Thread Nicolas Vervelle
Rebhan, Gilbert wrote: ... where the copypart works fine, but the move task copies the folder containing the jars also, f.e. = /jarfolder1 a.jar /jarfolder2 b.jar i want only the jars out of my fileset in the ./jars folder, but the two jarfolder are copied also. Have you tri

Re: scp problem: received directory without -r

2005-07-27 Thread Nicolas Vervelle
Nicolas Vervelle wrote: Hi, I have a build file to update a website from my own pc using task. It was working perfectly until more than a week ago. I now have an error message when it tries to upload a file in a subdirectory : "server indicated an error: scp: protocol error: rec

scp problem: received directory without -r

2005-07-27 Thread Nicolas Vervelle
Hi, I have a build file to update a website from my own pc using task. It was working perfectly until more than a week ago. I now have an error message when it tries to upload a file in a subdirectory : "server indicated an error: scp: protocol error: received directory without -r" The websi

Modifying Ant classpath inside build.xml

2005-05-04 Thread Nicolas Vervelle
Hi, In my build.xml, I am using the task which requires jsch.jar in the classpath. I have put jsch.jar in the same directory as build.xml. I would like Ant to add it to its classpath inside build.xml, is it possible ? I don't want to use the classic solutions to add a .jar in Ant classpath :

Re: AW: Convert a path

2005-05-03 Thread Nicolas Vervelle
th I would use with your preferred scripting language. There are several scripting languages written in Java (Jython, Groovy, BeanShell,...) and they are as portable as Java itself. - Alexey. Nicolas Vervelle wrote: I didn't have much success with my last question :( I will try wi

Convert a path

2005-05-03 Thread Nicolas Vervelle
I didn't have much success with my last question :( I will try with only a small problem then : How to expand a path (${build.dir}) to match what I get with and the reverse modification? For example : E:\Java\Jmol-web -> E\:\\Java\\Jmol-web -> E:\Java\Jmol- web It must be portable (Windows, Lin

Removing paths from property file

2005-04-29 Thread Nicolas Vervelle
Hi, To optimize the upload of a lot of files on a website, I am using to upload only the modified files. creates a property file like this : #Thu Apr 28 20:00:01 CEST 2005 E\:\\Java\\Jmol- web\\build\\html\\fah\\projects\\p934.xyz.gz=81545359e168268a133071d58e7 bcfa7 E\:\\Java\\Jmol- web\\bui

Re: AW: Copiing newer files to a directory [was: using file names]

2005-04-13 Thread Nicolas Vervelle
my former post) Thanks for the help! wbr, Roman -Ursprüngliche Nachricht- Von: Nicolas Vervelle [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. April 2005 14:10 An: Ant Users List Betreff: Re: Copiing newer files to a directory [was: using file names] Hi, Maybe you could try u

Re: Copiing newer files to a directory [was: using file names]

2005-04-13 Thread Nicolas Vervelle
Hi, Maybe you could try using tasks from ant-contrib project at sourceforge. I was thinking of something like: Huditsch Roman wrote: Hi, Thanks for the snippet! I found out that you can reset a property. What I want to do is quite simple (although unachieva

Re: replaceregexp on multiple lines

2005-03-28 Thread Nicolas Vervelle
H, David -Original Message- From: Nicolas Vervelle [mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 23:36 To: user@ant.apache.org Subject: replaceregexp on multiple lines Hi, I have a file containing several times something like (xx is different) : ... For some of them (depending o

replaceregexp on multiple lines

2005-03-24 Thread Nicolas Vervelle
Hi, I have a file containing several times something like (xx is different) : ... For some of them (depending on "xx"), I want to keep only the ...<.a> part. For the others, I wan to completely remove them. I tried this : but the problem if pattern is first matched with the text between

Re: Sorting a property file ?

2005-03-24 Thread Nicolas Vervelle
Rick Genter wrote: From: Nicolas Vervelle [mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 4:51 AM To: user@ant.apache.org Subject: Sorting a property file ? Hi, I have a property file that is generated by in a . I would like to sort its content so that the files in it are sorted by

Re: Sorting a property file ?

2005-03-24 Thread Nicolas Vervelle
Ok, thanks but I want to sort the property file and save it. Is it possible ? Nicolas Ivan Ivanov wrote: Nicolas, Ant-Contrib has task[1] which can sort properties files. HTH Ivan [1]http://ant-contrib.sourceforge.net/tasks/tasks/sortlist.html --- Nicolas Vervelle <[EMAIL PROTECTED]> wrote:

Sorting a property file ?

2005-03-24 Thread Nicolas Vervelle
Hi, I have a property file that is generated by in a . I would like to sort its content so that the files in it are sorted by directory. Is it possible ? Nicolas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: AW: Executing a task in each subdirectory

2005-03-23 Thread Nicolas Vervelle
a/for/sub [echo] dir is /home/preilly/learning/a/for/sub/a [echo] dir is /home/preilly/learning/a/for/sub/b [echo] dir is /home/preilly/learning/a/for/sub/c Peter Nicolas Vervelle wrote: I can see how to use this tasks for 'one' subdirectory, but is there a task that will p

Re: AW: Executing a task in each subdirectory

2005-03-23 Thread Nicolas Vervelle
Nachricht- Von: Nicolas Vervelle [mailto:[EMAIL PROTECTED] Gesendet am: Mittwoch, 23. März 2005 12:05 An: user@ant.apache.org Betreff: Executing a task in each subdirectory Hi, I have a directory tree where each directory can contains files named in the form index.*.html. (* represents the

Executing a task in each subdirectory

2005-03-23 Thread Nicolas Vervelle
Hi, I have a directory tree where each directory can contains files named in the form index.*.html. (* represents the code for a language: en, fr, ...) Each index.*.html contains lines in the form <*>text. For each directory, I would like to : - remove the <*>text in each file if index.*.html is a

Re: Symbolic Link with ANT

2005-02-22 Thread Nicolas Vervelle
> I am trying to create a symbolic link using the target below; > > > > > > > > Try : Hope it works Nicolas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Ant task scp or sftp

2005-02-02 Thread Nicolas Vervelle
From: "Stefan Bodewig" <[EMAIL PROTECTED]> > On Sun, 30 Jan 2005, Nicolas Vervelle <[EMAIL PROTECTED]> > wrote: > > > Is there a way to upload only newer files ? > > Use a selector. Thanks, works great :) -

Re: How to remotely copy files from remote server to remote server?

2005-01-30 Thread Nicolas Vervelle
IHMO, even if you find a task that copy from a remote server to an other one, the task will need to retrieve the files from the first server to copy them to the second server. I really don't see how you could do a direct copy without executing a process on one of the server. - Original Messa

Re: Ant task scp or sftp

2005-01-30 Thread Nicolas Vervelle
- Original Message - From: "Rhino" <[EMAIL PROTECTED]> > Have you tried using the sshexec task instead of scp? I've never tried > putting a 'copy' (or 'cp') in the command parameter but I assume it will > work. Then perhaps, you can copy only the desired files to the other > machine. AFA

Ant task scp or sftp

2005-01-30 Thread Nicolas Vervelle
Hello, I need to upload files to a server that accepts only secured connections (scp, sftp). I'm currently using the scp ant task to do the job, but this task lacks the ability to upload only the newer files so it takes me a lot of time (30 mns now but increasing because more files are added) to