Hello All
I have verified that tools.jar is in the classpath by echo'ing out
${java.class.path}. and it is showing correct directory structure for the
JDK installation. I also tried setting build.compiler to modern in the
build.xml file.
Doing a java -version I saw that the java what I am using
more or less, yes. I gather its scanning incoming text for the keyword in
the read, but it should output everything it scans so progress can be
tracked.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 23 September 2002 11:27
To: [EMAIL PROTECTED]
Subject: RE:
what is the value of runtime lib in your registry?
Suresh
-Original Message-
From: Naveen_JaiDayal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 24 September 2002 2:05 PM
To: Ant Users List
Subject: RE: Ant build problem URGENT!!
Hello All
I have verified that tools.jar is in the
This looks like the same problem I had when designing foreach2
See http://www.geoff-meakin.com/antattack.html
Basically you have the trouble because the first time a Task
is performed, it maybeConfigures its environment (see
RuntimeConfigurable and ProjectHelper.configure) which overrides
the
Hi,
How would I delete all files older than a certain file that I touched before a certain
task. There doesn't seem to be anything in fileset. With find I would use -newer, but
I'd prefer to stay within ant to be cross-platform.
thanks for any advice,
jamie
Visit our website at
Jamie,
you could try a nested depend selector:
http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#dependselect
Cheers,
Nick
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 24. September 2002 13:01
An: [EMAIL PROTECTED]
Check out dependset
Erik
[EMAIL PROTECTED] wrote:
Hi,
How would I delete all files older than a certain file that I touched before a
certain task. There doesn't seem to be anything in fileset. With find I would use
-newer, but I'd prefer to stay within ant to be cross-platform.
thanks eric, nick
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2002 14:04
To: Ant Users List
Subject: Re: deleting files older than a certain one
Check out dependset
Erik
[EMAIL PROTECTED] wrote:
Hi,
How would I delete all files
I have in my build file a target which builds a WAR file by jarring up the
contents of several filesets. To speed the day-to-day development process,
though, I'd really like to be able to skip the building of the WAR file if
none of the contents have changed since the last time it was built. I
Hi,
I would like to know if anybody knows how to support 'Conditional Compilation' using
jvc/J++.
Command line argument is of form: '/D directive' (example: '/D DEBUG').
One way of solving the problem is to modify:
org.apache.tools.ant.taskdefs.compilers.Jvc
and add:
Hi,
I'm running ant from an automated build script, and I need to capture the
build output to a log file. I'm using the output property of the ant
task to accomplish this, but unfortunately the log file ends prematurely
whenever there is a build failure. For example, if the build ends with a
Greetings all,
For years now, the GNU Coding Standards
(http://www.gnu.org/prep/standards.html) have specified a standard release
process, typical distribution files, and Makefile conventions including
standard variable names and targets. These conventions have over the years
evolved into other
Can I apply a mapper (flatten in my case) to an arbitrary fileset? How do I do
so?
thanks!
dM
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
BTW, I'm trying to use it in conjunction with foreach.
dM
-Original Message-
From: Duane Mattos [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 3:31 PM
To: 'Ant Users List'
Subject: applying mappers to fileset
Can I apply a mapper (flatten in my case) to an arbitrary
No. That doesn't really make sense in a general sense, at least to me.
A fileset is a set of existing files, so mapping them doesn't preserve
that meaning.
Mappers are associated directly with several tasks, such as copy.
What do you have in mind specifically?
Erik
Duane Mattos
Return Receipt
Your Ant Conventions
document
:
In this case, foreach should be modified to support mappers (and
discussion of that belongs on the ant-contrib list, not here) :)
Erik
Duane Mattos wrote:
BTW, I'm trying to use it in conjunction with foreach.
dM
-Original Message-
From: Duane Mattos [mailto:[EMAIL
I guess I'd like to create a new fileset from an old one. I'd like to use
foreach on the new fileset (or the 'right' side of the map, no longer care about
the left). I don't think the perforce tasks support wildcards, so I thought I
could iterate through a fileset, but I need to flatten the
what I've done so far:
setenv JAVA_HOME / #(java/javac/etc. are in /bin/)
setenv CLASSPATH /usr/j2se/lib/tools.jar
what I get from build.sh:
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation
Again, a fileset only works on *existing* files, so flattening it would
give a set of filenames that don't exist (yet?).
It makes sense for foreach to support a mapper though.
Erik
Duane Mattos wrote:
I guess I'd like to create a new fileset from an old one. I'd like to use
--- Olav Kvaale [EMAIL PROTECTED] wrote:
I would like to know if anybody knows how to support 'Conditional
Compilation' using jvc/J++. Command line argument is of form:
'/D directive' (example: '/D DEBUG').
[snip]
I am using ant-release: 1.4.1
If you can upgrade to 1.5 (recommended
Have you tried record?
This is what I use, for instance:
target name=init
!-- start the log file --
record
name=${buildLogFilesDir}/Build_3.log
action=start/
/target
On Tue, 24 Sep 2002, Dave Smith
([EMAIL PROTECTED]) wrote:
Hi,
I'm running
Please help me. I've been racking my brain all day for this one and it
just won't go away.
I've got a build file that does ant dir=src/foo repeatedly, the
build.xml in src/foo needs to set all sorts of properties as
../../. Which also works.
But if I run buildfile a to call buildfile b my
I'm assuming you are calling ant script b from ant script a using the ant task.
Make sure that you have the parameter inheritAll set to false.
That might fix your issues.
Scott
-Original Message-
From: chayim kirshen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 4:18
I do in fact call ant script b from ant script a using the ant task
(just to clarify). Ant inheritAll is set to false. BTW: 1.5.1beta1
didn't fix it either ergo it must be my script.
--chayim
On Tue, 2002-09-24 at 17:23, Scott Francis wrote:
I'm assuming you are calling ant script b from ant
This stems from the fact I don't believe I can use wildcards in the p4edit task.
(Someone correct me if I'm wrong, please!) So I do want to iterate on files that
do exist. :-) Really, it isn't really foreach's responsibility, but it comes
close to being able to help.
mapper would make a nice
I tried JAVA_HOME=C:\j2sdk1.4.1 and still get the same error. I'm using the
stable Ant 1.5 by the way.
Is this more likely to be a bug in Ant or something obvious that I'm
missing? I've verified that JAVA_HOME isn't set anywhere else but ant.bat.
Brian
-Original Message-
From: Good,
Hi all -
I would like to filter the output from the cvs task to show only files that
have changed.
I have a target that does a cvs update of all my project files. Currently
the cvs task lists out all the directories that are traversed, and it's easy
to visually miss some files in all that
How about setting quiet=true? That should do the trick for this
particular need, I believe.
Erik
[EMAIL PROTECTED] wrote:
Hi all -
I would like to filter the output from the cvs task to show only files that
have changed.
I have a target that does a cvs update of all my
What error are you referring to when you say it breaks?
Jake
At 05:30 PM 9/24/2002 -0400, you wrote:
I do in fact call ant script b from ant script a using the ant task
(just to clarify). Ant inheritAll is set to false. BTW: 1.5.1beta1
didn't fix it either ergo it must be my script.
--chayim
Eric Lemings wrote:
Greetings all,
For years now, the GNU Coding Standards
(http://www.gnu.org/prep/standards.html) have specified a standard release
process, typical distribution files, and Makefile conventions including
standard variable names and targets. These conventions have over
Hi All,
Can some bdy help me with the error, i am getting when i am trying to use
ant to create ejb-jar using ejb-jar command.
I am getting and out-of-memory exception during the ejbc process (with no
stack trace.)
My project has some 300 entity beans and using CMP, CMR ejb2.0 with local
Hello,
I am searching for some means inside a waitfor to wait
for a given line in a log file. As I have read in the documentation,
available may only be used to wait for the presence of a given file.
If there is no way to do this, is there any way to provide a Condition
like defining tasks?
i need to pass single quotes in an argument as in:
arg line=-s 'T9LT.BWDD.TRIG'/
ant seems to parse this and remove the single quotes which causes me some difficulty.
is there any way to escape these so that the will be passed on to the command line?
thanks in advance
-brian
--
To
I second this wish. I'd like to see fileset have a mapper element
which mapped includes, excludes and/or refid'd filesets.
Consider a build that puts files *and their MD5 checksums* into a ZIP.
It creates and populates a fileset which is passed to the checksum
task. The same fileset is then
On Tue, 24 Sep 2002 14:16:12 -0600
Jonathan Ellis [EMAIL PROTECTED] wrote:
what I've done so far:
setenv JAVA_HOME / #(java/javac/etc. are in /bin/)
setenv CLASSPATH /usr/j2se/lib/tools.jar
BUILD FAILED
file:/usr/share/src/jakarta-ant-1.5/build.xml:468:
On Mon, 23 Sep 2002, Emerson Cargnin [EMAIL PROTECTED] wrote:
I'm helping at uml2ejb project (sourceforge) and it used to use ant
1.4 which allowed the style to be a absolute path.
This is still possible.
style name of the stylesheet to use - given either relative to the
project's basedir
On Tue, 24 Sep 2002, Stefan Hoening [EMAIL PROTECTED] wrote:
If there is no way to do this, is there any way to provide a
Condition like defining tasks?
Unfortunately not,
org.apache.tools.ant.taskdefs.condition.ConditionBase has to be
modified for each new condition ATM.
Stefan
--
To
On Tue, 24 Sep 2002, Brian Schmitt [EMAIL PROTECTED]
wrote:
arg line=-s 'T9LT.BWDD.TRIG'/
ant seems to parse this and remove the single quotes which causes me
some difficulty.
It does so because it tries to be smart when you use the line
attribute of arg, the value attribute will make it
39 matches
Mail list logo