Hi,

I'm new with Ant (since yesterday), and I have this tiny little project
that I test Ant with. Or at least, I tried. But it seems there is a
problem with the mkdir task. I have attached the whole directory as a
.tar.gz (very small, hope you dont mind), and I've attached a file that
shows what I type in, what happens, and what goes wrong.

As you can see the first time it's okay, but the second time something
unexplainable happens. Weird characters are printed to the screen and a
directory with a very strange name is created.

This reminds me of the `good old days' with ANSI C: Dangling pointers,
endless character strings, etc :)

My system:
OS:  FreeBSD 3.4-STABLE
JDK: Blackdown JDK 1.2.2 rc3 for Linux (with Linux emulation)
PC:  Pentium2-412, 128 MB


Ernst

--
Ernst de Haan
Freelance Java Architect

"Come to me all who are weary and burdened,
and I will give you rest" -- Jesus Christ

Attachment: files.tgz
Description: Binary data

bash-2.03$ tar zxvf ../files.tgz
build.xml
src/java/hello/ejb/CVS/
src/java/hello/ejb/CVS/Root
src/java/hello/ejb/CVS/Repository
src/java/hello/ejb/CVS/Entries
src/java/hello/ejb/Hello.java
src/java/hello/ejb/HelloBean.java
src/java/hello/ejb/HelloHome.java
bash-2.03$ ant
Buildfile: build.xml
Project base dir set to: /usr/home/ernst/tmp/files
Executing Target: init
Executing Target: prepare
Created dir: /usr/home/ernst/tmp/files/lib
Created dir: /usr/home/ernst/tmp/files/lib/ejb
Created dir: /usr/home/ernst/tmp/files/lib/web
Executing Target: ejb-classes
Compiling 3 source files to /usr/home/ernst/tmp/files/lib/ejb
Completed in 2 seconds
bash-2.03$ rm -Rf lib
bash-2.03$ ant
Buildfile: build.xml
(^�������~ke dir set to: ;�                                                    �
�
Executing Target: init
Executing Target: prepare
(^�������~k: ;�                                                                �
(^�������~k                                                                    �
(^�������~k                                                                    �
(^�������~k                                                                    �
/lib
(^�������~k: ;�                                                                �
(^�������~k                                                                    �
(^�������~k                                                                    �
(^�������~k                                                                    �
/lib/ejb
(^�������~k: ;�                                                                �
(^�������~k                                                                    �
(^�������~k                                                                    �
(^�������~k                                                                    �
/lib/web
Executing Target: ejb-classes
BUILD FATAL ERROR: srcdir does not exist!
bash-2.03$ ls
;??(?????????k???W??????        src
build.xml
bash-2.03$
begin:vcard 
n:de Haan;Ernst
tel;fax:+31 (0)26 3645634
tel;work:+31 (0)26 3623895
x-mozilla-html:FALSE
url:http://www.znerd.demon.nl/
org:Jollem
adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands
version:2.1
email;internet:[EMAIL PROTECTED]
title:Java Architect
fn:Ernst de Haan
end:vcard

Reply via email to