You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ihosvany Camps Rodriguez <ic...@df.ufscar.br> on 2004/01/01 17:17:54 UTC

<< Problems with mkdir & delete in Windows XP >>

Hello all, 

I am a beginner with Ant.
My system:

Ant version 1.6
Windows XP SP1
256 MB Ram
HD 40 GB with NTFS and FAT32

I began with this simple script in the FAT32 driver:

<project name="MyProject" basedir=".">
    <description>
        simple example build file
    </description>
  
  <property name="build" location="build"/>
  
  <target name="init">
    <!-- Create the build directory structure used by compile -->
    <mkdir dir="${build}"/>
  </target>
  
</project>

I got the following:

Apache Ant version 1.6.0 compiled on December 18 2003
Buildfile: build.xml
Detected Java version: 1.4 in: c:\java\j2sdk1.4.1\jre
Detected OS: Windows XP
parsing buildfile D:\CAMPS\FORTRAN\UFSCar\Equations\build.xml with URI = file:
///D:/CAMPS/FORTRAN/UFSCar/Equations/build.xml
Project base dir set to: D:\CAMPS\FORTRAN\UFSCar\Equations

BUILD SUCCESSFUL
Total time: 1 second

But the directory was not created.

I also used the script that came in the Ant manual with my java source files. 
The directories were created but were not deleted in the "clean" stage.

I am using short names for the folders, etc.

I would like to know whats happens?

regards,

Camps
---
Departamento de Fisica


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: << Problems with mkdir & delete in Windows XP >>

Posted by "I. Camps" <ic...@df.ufscar.br>.
Hello RADEMAKERS,

Thanks for the advice. It works.

Regards,

Camps


At 09:13 AM 1/5/2004, you wrote:
>Hello Camps,
>
>Are you calling the "init" target from the command line (ie 
>"D:\CAMPS\FORTRAN\UFSCar\Equations>ant init")? If not then it won't do 
>anything, unless you specify that init is the default target (<project 
>name="MyProject" basedir="." default="init">)
>
>Regs,
>/t
>
>Ihosvany Camps Rodriguez wrote:
>
>>Hello all,
>>I am a beginner with Ant.
>>My system:
>>
>>Ant version 1.6
>>Windows XP SP1
>>256 MB Ram
>>HD 40 GB with NTFS and FAT32
>>
>>I began with this simple script in the FAT32 driver:
>>
>><project name="MyProject" basedir=".">
>>    <description>
>>        simple example build file
>>    </description>
>>
>>  <property name="build" location="build"/>
>>
>>  <target name="init">
>>    <!-- Create the build directory structure used by compile -->
>>    <mkdir dir="${build}"/>
>>  </target>
>>
>></project>
>>
>>I got the following:
>>
>>Apache Ant version 1.6.0 compiled on December 18 2003
>>Buildfile: build.xml
>>Detected Java version: 1.4 in: c:\java\j2sdk1.4.1\jre
>>Detected OS: Windows XP
>>parsing buildfile D:\CAMPS\FORTRAN\UFSCar\Equations\build.xml with URI = 
>>file:
>>///D:/CAMPS/FORTRAN/UFSCar/Equations/build.xml
>>Project base dir set to: D:\CAMPS\FORTRAN\UFSCar\Equations
>>
>>BUILD SUCCESSFUL
>>Total time: 1 second
>>
>>But the directory was not created.
>>
>>I also used the script that came in the Ant manual with my java source 
>>files. The directories were created but were not deleted in the "clean" stage.
>>
>>I am using short names for the folders, etc.
>>
>>I would like to know whats happens?
>>
>>regards,
>>
>>Camps
>>---
>>Departamento de Fisica
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: << Problems with mkdir & delete in Windows XP >>

Posted by RADEMAKERS Tanguy <ta...@swift.com>.
Hello Camps,

Are you calling the "init" target from the command line (ie 
"D:\CAMPS\FORTRAN\UFSCar\Equations>ant init")? If not then it won't do 
anything, unless you specify that init is the default target (<project 
name="MyProject" basedir="." default="init">)

Regs,
/t

Ihosvany Camps Rodriguez wrote:

>Hello all, 
>
>I am a beginner with Ant.
>My system:
>
>Ant version 1.6
>Windows XP SP1
>256 MB Ram
>HD 40 GB with NTFS and FAT32
>
>I began with this simple script in the FAT32 driver:
>
><project name="MyProject" basedir=".">
>    <description>
>        simple example build file
>    </description>
>  
>  <property name="build" location="build"/>
>  
>  <target name="init">
>    <!-- Create the build directory structure used by compile -->
>    <mkdir dir="${build}"/>
>  </target>
>  
></project>
>
>I got the following:
>
>Apache Ant version 1.6.0 compiled on December 18 2003
>Buildfile: build.xml
>Detected Java version: 1.4 in: c:\java\j2sdk1.4.1\jre
>Detected OS: Windows XP
>parsing buildfile D:\CAMPS\FORTRAN\UFSCar\Equations\build.xml with URI = file:
>///D:/CAMPS/FORTRAN/UFSCar/Equations/build.xml
>Project base dir set to: D:\CAMPS\FORTRAN\UFSCar\Equations
>
>BUILD SUCCESSFUL
>Total time: 1 second
>
>But the directory was not created.
>
>I also used the script that came in the Ant manual with my java source files. 
>The directories were created but were not deleted in the "clean" stage.
>
>I am using short names for the folders, etc.
>
>I would like to know whats happens?
>
>regards,
>
>Camps
>---
>Departamento de Fisica
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>