Hello,
In ant 1.6.2, there is a bug [1] preventing empty directories from being
zipped.
This bug is fixed in CVS on the ANT_16_BRANCH and on the main branch.
Which means that you can use ant 1.6.1 or patch your ant 1.6.2 using the
diffs [2]
I would bet that you are using a different (maybe older
[EMAIL PROTECTED] wrote:
Robert,
I had trouble with the ftp task a while ago.
In my case however, I could use the scp task instead,
which works very well.
So if you should try to use the ssh copy (scp) task,
your environment permitting of course.
Yea :( I do that with my own servers, but the c
Robert,
I had trouble with the ftp task a while ago.
In my case however, I could use the scp task instead,
which works very well.
So if you should try to use the ssh copy (scp) task,
your environment permitting of course.
Eg:
Thanks,
Suma
"Robert
For some reason the zip task is not consisten between platforms. When I
zip up a directory with some empty directories under it, in Linux, the
empty directories get included in the zip. When I run the same task on
OSX, the empty directories are not created.
-
Hi,
When executing the FTP task, I consistently get a SocketException:
Connection reset
I have no problem uploading the files with other FTP clients using the
same host, username and password.
This is going to a windows server (I have sent a request for the logs
but I doubt the client knows ho
Hello Robs,
>
> As far as I know, there are no plans to add this
> feature. The scp task is not really a variant of the
> copy task, although the do perform similar
> functions. The scp task was created to duplicate the
> features of command line scp. The feature you speak
> of does not exist in
> Are there plans
> to enhance the scp task in this way? (It would make sense since scp is
> basically a variant of the copy task, with the exception that scp is
> primarily determined for copying files to remote machines.)
As far as I know, there are no plans to add this feature. The scp task is
--- Holger Rauch <[EMAIL PROTECTED]> wrote:
> Hi Ivan!
>
> First of all, thanks a lot for your quick reply!
>
> I verified your suggestion and it works indeed.
> Thanks a lot!
> Nevertheless, I still think something like a
> flatten="true" attribute or
> a corresponding element could save a lo
Hi Ivan!
First of all, thanks a lot for your quick reply!
On Wed, 13 Oct 2004, Ivan Ivanov wrote:
> How about first copying the files to a temporary
> directory and then scp'ing to the server and finally
> deleting then from tmp:
> [...]
I verified your suggestion and it works indeed. Thanks a
I am using ant 1.6.2 doing a build through the api.
I am creating an instance of DefaultLogger. When I call
setErrorPrintStream to a file for output, and then have a build with a
compile error in it, the error output doesn't go to the file, but to my
console. Any ideas on why this may be happeni
On Wed, 13 Oct 2004, Kelly Davis <[EMAIL PROTECTED]> wrote:
> In that case, how do I find out if there were any exceptions during
> the execution of the target?
excuteTarget will throw it.
Stefan
-
To unsubscribe, e-mail: [EMAIL
In that case, how do I find out if there were any exceptions during the
execution of the target?
Stefan Bodewig wrote:
On Tue, 12 Oct 2004, Kelly Davis <[EMAIL PROTECTED]> wrote:
project.executeTarget( "build" );
For some reason the buildStarted & buildFinished methods never seem
to get cal
How about first copying the files to a temporary
directory and then scp'ing to the server and finally
deleting then from tmp:
HTH Ivan
--- Holger Rauch <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm using the scp task of Ant 1.6.2 in order to copy
> some
Hi!
I'm using the scp task of Ant 1.6.2 in order to copy some SQL scripts
which are stored in various directories on the source system to
a target system. On the target system, I want all .sql files to
appear below a single directory. How can I achieve this if scp
doesn't support neither
nor
Hi Ben,
If it is possible for you, why don't you simply
rename/refactor the name of your pages, using some
IDE. Eclipse, IntelliJIdea do this quite decently as
well as many others.
If it is not possible to use an IDE, here are some
basic steps (untested however):
1) Use ant task ReplaceRegExp[1] t
Try the optional task.
Jan
> -Ursprüngliche Nachricht-
> Von: Ben Gill [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 13. Oktober 2004 12:35
> An: Ant Users List
> Betreff: RE: Substring / regex on a package name?
>
> Thanks Ivan, that is great...
>
> Re: the repackage - move certa
Thanks Ivan, that is great...
Re: the repackage - move certainly would be a start, but I was looking
for a repackage task that would recurse from a point (ie. '.') and move
all dirs/java sources/props files etc.. into a new package structure...
Ie. From com.oldapp to com.newapp ..
But also, I wo
Missing the backslash before T in "E:\softwareTDK_2.3"
Jan
> -Ursprüngliche Nachricht-
> Von: project member [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 13. Oktober 2004 12:18
> An: [EMAIL PROTECTED]
> Betreff: "ant init " command giving error
>
> hello all,
> it would be great if
hello all,
it would be great if anyone could tell me why i am getting this
exception when i run " ant init "
E:\software\TDK_2.3\webapps\my_App\WEB-INF\build\build.xml:371:
Basedir E:\softwareTDK_2.3 does not exist
i have cheked environment variables ( i know if they were wrong i
wouldnt hav
Hello,
> Hi,
>
> I have two questions:
>
> 1) I have a property called "com.myapp" within my
> build.xml file (or at
> least loaded in at runtime), and I want to strip off
> everything past the
> first dot (to get the base package name com)...
>
> Is that possible?
You can use ant-contrib[1] t
Hi,
I have two questions:
1) I have a property called "com.myapp" within my build.xml file (or at
least loaded in at runtime), and I want to strip off everything past the
first dot (to get the base package name com)...
Is that possible?
2) Is there a rename packages ANT task?
Th
On Tue, 12 Oct 2004, Kelly Davis <[EMAIL PROTECTED]> wrote:
> project.executeTarget( "build" );
>
> For some reason the buildStarted & buildFinished methods never seem
> to get called, while the other methods do. Why might this be
> happening?
because executeTarget doesn't fire them. When y
22 matches
Mail list logo