|
|
|
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 compiling somethinHi all
I met a strage problem that I cannot delete jar file in Windows
platform with delete task.
[ant-script]
<delete file "myJar.jar " / >
[ant-script]
I can delete jar by clicking delete button iHi everyone!
I want to unsubscribe my account from Ant Users List.
And i try to send mail to user-unsubscribe@(protected) using my
ant mail account many many times. Why how to do?
Hope Then you havent found the manual?
Developing with Ant | Tasks using Properties Filesets & Paths
Jan
>-----Urspr?ngliche Nachricht-----
>Von David A. Bartmess [mailto dingodave@(protected)]
>GesenNot that I am aware of.
AFAIK there is no <count > <fileset/ > </count >.
Ant 1.7 will include "Resources " [1] (e.g. <fileset > will be one) and then there will be a
<resourcecount > task.
ATM I get the ihi
I am currently compiling using exec but it seems that ANT always compiles the .c file
regardless of .c has changed or not. is there any way that ant checks for timestamps of source files and actsHI
I want to compile .c file using ant. I have added cpptasks.jarand ant-contrib.jar from in lib directory.
I dont know how to use cc task in build.xml.
can anyody provide sample build.xml that I 'm confused by the custom tasks and how to get the filesets from
nested fileset elements.
Do these get created automatically and all I have to provide is a
public void add(FileSet fset) method i
> I have an ANT task which executes a perl script. It works fine when I
> execute it on the command line. When I use cron(which does not set and
> ENV 's) I get an error saying exec returned -1. WhatDear Colleagues
Could you please add sqlunit project in the external
projects page? Here is its info and I am attaching
also a diff of xdocs/external.xml
SQLUnit
Compatibility Tested with Ant 1.6from the command line (question at end)
[thufir@(protected) java]$
[thufir@(protected) java]$ cat build.xml -n
1 <project name "jamocha " default "package " >
2
3 <import file "jamochaHello
i have the following copy task
<target name "copy " >
<copy todir "${dest.dir} " overwrite "true " >
<fileset dir "${outputDir} " >
<include name "log_*.xml "/ >
</fileset >
</copy >
I notice that in all the scripts I have seen people just insert their
passwords as plain text in the scripts e.g. for jarsigning.
I don 't want to do that since I will be distributing the scripts
aI 'm looking at <http //ant.apache.org/manual/CoreTasks/echo.html > but
don 't see how to echo a file to the screen (System.out?).
I 'm in linux so it 'd be something like
$ cat foo.txt
or
$ cat foo.txThis is probably easy but it 's elluding me... I 'm truing to write a
task to delete all CVS directories anywhere in my project (i.e. in all
subdirectories starting from the root. I wrote the folloHi
In ant 1.6.2 the following seems to indicate a bug with "unless "
<project name "foo " >
<target name "B " >
<available file "foo " type "dir " property "foodir.exists "/ >
<echo >Executing B </echo
I will be out of the office starting 29/07/2005 and will not return until
09/08/2005.
I will respond to your message when I return however if a more immediate
response is required please conta
Hi
I 'm having problems getting my ANT build to transfer files from a remote
system to my RHEL3 box. This works fine on my WindowsXP and SuSE9 machines
- using the following
<target name Hello
i use the <xslt > task for a XSLT transformation. I have multiple sources (XML files) and want only one output file (one HTML file). The number of the XML input files for the transformation is The message cannot be represented in 7-bit ASCII encoding and has been sent as a binary attachment.
<uptodate >?
Jan
>-----Urspr?ngliche Nachricht-----
>Von Roedy Green [mailto roedyg@(protected)]
>Gesendet Freitag 29. Juli 2005 10 13
>An user@(protected)
>Betreff conditional compilation wI am using the Jet compiler which takes a jar and produces an exe.
This works
<!-- J E T -- >
<target name "jet " >
<exec executable "jc.exe " dir "${project.dir} " >
<arg value "converter.Have a look at <subant > in the manual. Especially the last examples.
Jan
>-----Urspr?ngliche Nachricht-----
>Von Roedy Green [mailto roedyg@(protected)]
>Gesendet Freitag 29. Juli 2005 05 48
>AnHi
The fork option (to the java task) is creating a java process
outliving ant. Is it ok?
---
The specification of the "fork " option is
if enabled triggers the class execution in another VM (disAt 19 19 7/28/2005 you wrote
> I have to create a directory structure for a project in which
> one dir has many sub dirs.
>now how to call build.xml of subdirectories from top level build.xml.
Hi
I have to create a directory structure for a project in which one dir has many sub dirs.
now how to call build.xml of subdirectories from top level build.xml.
I am using following code segmen
Hi
is there a possibility to catch messages like f.e.
<message priority "warn " >cvs [server aborted] no such tag
sl_05_01_27_bla </message >
or
Compile failed
means messages that appear on the st
Hi
i 'm doing a checkout of several modules in cvs via <foreach >
...
<foreach list "${module} "
target "checkout "
param "modul "
delimiter " "
trim "true "
inheritall "true " / >
...
<target Mmh - <antcall > maps [1] to org.apache.tools.ant.taskdefs.CallTarget [2].
The execute() method doesnt do any event delegating. So the init() could have something
82 public void init() {
83 Hello
I am writing a task that runs tasks in background and listens to build
events in order to make sure background threads finish before the
build ends (as suggested in [1]).
The trick works perf
| |