ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ernst de Haan <er...@jollem.com>
Subject Re: Weerd behaviour for Ant
Date Wed, 17 May 2000 22:05:22 GMT
Hi,


I recompiled Ant, tried to figure out where the error came from, and found
out the problem disappeared when I converted default.properties (in
ant/taskdefs) from DOS-style (CRLF) to UNIX-style (LF).

I must say the code looks very nice :)


Ernst


Ernst de Haan wrote:
> 
> 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
> 
>   --------------------------------------------------------------------------
>                 Name: files.tgz
>    files.tgz    Type: unspecified type (application/octet-stream)
>             Encoding: base64
> 
>   --------------------------------------------------------------------------
> 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$

--
Ernst de Haan
Freelance Java Architect

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