Hi there,
Im running 3 ant build processes at the same time and suddenly a file is
deleted by an other process... ?
This is what I get (paths taken out):
BUILD FAILED
file:build.xml:321: Deployment descriptor: /webapps/WEB-INF/web.xml does
not exist.
Im executing ant from bash with:
Here's how I'd do it:
target name=cleantmp description=remove tmp files if=clean.folder
delete quiet=true includeEmptyDirs=true
fileset dir=${clean.folder} defaultexcludes=no
include name=**/*.bak/
include name=**/*.class/
include name=**/*~/
fileset
/delete
/target
Hi
I have a problem with this small snipe of ant:
target name=execute depends=execute_init
java jar=${jar_file} fork=true
arg value=${prop_file}/
/java
/target
The deal is that in the manifest file for the jar is a classpath set that
sets up 3 other jar files that is located in
Hi,
I am using the VSS tasks for the first time and I
have started off with a simple get target shown
below:
target ..
vssget recursive=true
login=${vss.username},${vss.password}
ssdir=${vss.home}
serverPath=${vss.server}
vsspath=release1/src
Hi,
Normally, the signature for the start of an ant
build file is in the following form:
project name=projA default=compile basedir=D:/source
Can 'basedir' be set and/or reset elsewhere in the ant file ?
For example, I would like to abstract all hard-coded directory
information into a seperate
Hey,
How can I set a flag to determine if javadoc is run or not when I run ant. What
I do now is just comment it out with an xml comment, like this:
!-- javadoc packagenames=com.dhtmlkitchen.* --
... et c.
Then when I want javadoc, I uncomment it. Show me a better way.
=
Garrett Needs A
Examining the following ant build file. Could someone please tell me
why it is continually running the create task even though I'm trying
to set the property after it is run once? Basically I don't care if I
do it this way or another way...I just want to know how to keep tasks
from being run
No, and No!
basedir should most of the time be omitted, in which case it defaults to the
parent directory of the build.xml file. If your build.xml is at the root of
your project (most people do that), don't define it at all, or define it to
. (not the current directory, but the directory in which
On 18 Oct 2002 00:42:44 +1000,
Mike == Mike Williams [EMAIL PROTECTED] wrote:
Mike Is there some way my [Ant task] determine it's own classpath?
Just to answer my own question, this seems to do the trick:
AntClassLoader classLoader =
(AntClassLoader)
I have mine setup like this:
Try this:
(Just change your property values to yours...)
property name=vss.login value=${user.name} /
property name=vss.dir value=C:\Program Files\Microsoft Visual
Studio\Common\VSS\win32 /
property name=vss.get.autoresponse value=N /
property name=vss.quiet
On Monday 21 October 2002 05:14, Mark Reid wrote:
The Ant API link in the Table of Contents frame at
http://jakarta.apache.org/ant/manual/index.html. This takes me to
http://jakarta.apache.org/ant/manual/api/packages.html where I get the
message Apache Ant API has not been generated.
This has
Hi all
I have a task I need to perform during my build process, and I'm not
certain how to do it in Ant.
I have a folder
/com/company/dbpatches/
in which are various files, all of which are *.class files
I need to somehow list the current files in that folder, and add one line
to a script file
This is my first Ant project. I am using J2SE 1.4.0 on Windows 2000 SP3.
I have encountered a problem that appears to be with the JAR task though I
cannot be sure. The symptom is that an XML file (amongst others) is not
being added to a JAR even though the .class files in the same directory are
The Ant API link in the Table of Contents frame at
http://jakarta.apache.org/ant/manual/index.html. This takes me to
http://jakarta.apache.org/ant/manual/api/packages.html where I get the
message Apache Ant API has not been generated.
Mark.
- Original Message -
From: Martin Gainty
To:
Did you mean for this read /*.* instead of /**?
include name=**/util/** /
John C. Turnbull wrote:
This is my first Ant project. I am using J2SE 1.4.0 on Windows 2000 SP3.
I have encountered a problem that appears to be with the JAR task though I
cannot be sure. The symptom is that an XML
Diane kindly helped me to construct a foreach statement to tame m4
(http://www.mail-archive.com/ant-user;jakarta.apache.org/msg21085.html).
exec executable=m4 output=${macro_proc.out}
arg value=-P/
arg value=${base.macro_proc.in}.m4/
/exec
That works fine if no error is
I do things a little differently...
Instead of JARing the classes on disk (in classes dir), and then updating
that JAR with the resource files (stuff in your source dir not .java
usually), I copy the resources to the classes directory, and then JAR
everything from there in one pass. This has the
I have a custom task which merges XML files. I want it to do and up-to-date check like
most of the other tasks (i.e. Javac, Jar). Is using the UpToDate object inside my
execute() method the easiest/best way to do this? Is there a better (read cleaner) way
to do what I want?
Thanks for any
Just in case, have you checked out the various XML tasks in Related Projects
and/or External Tools? Notably the XmlTask task?
To answer your question, it's up to you, and perfectly alright to leverage
an existing task like Uptodate. Just configure it like below if you need to
forward set/create
try deleting the mailport attribute and see what happens. Let ANT take this
value by default..
Suresh
-Original Message-
From: Ruchi Agarwal [mailto:ragarwal;kanbay.com]
Sent: Friday, October 18, 2002 11:05 AM
To: [EMAIL PROTECTED]
Subject: Hi... just joined the list 'cos of this
From: Dominique Devienne [EMAIL PROTECTED]
I do things a little differently...
Instead of JARing the classes on disk (in classes dir), and then updating
that JAR with the resource files (stuff in your source dir not .java
usually), I copy the resources to the classes directory, and then JAR
Hallo,
I'm working ob target for creating my ejb's which looks so:
target name=wls_s2g_billing depends=compile_debug_s2g_billing
property name=project.classpath refid=project.classpath/
property name=src.metainf.folder
value=${dir.src.ejb.billing}/META-INF/
property
22 matches
Mail list logo