Absolutely correct.
No properties files are loaded by Ant without you explicitly stating so.
Erik
On Monday, February 10, 2003, at 04:39 AM, Adam Hardy wrote:
I just want to clarify something I can't find definitely stated
anywhere:
ant will not include any build.properties file
On Monday, February 10, 2003, at 07:06 AM, Adam Hardy wrote:
Thanks for the help on the build.properties question. Now I've got a
bit further, I've come across another problem. I've seen quite a few
posts in the archives mentioning this problem, and I am trying to find
a work-around.
I want
No. And this has been a hotly debated topic, in fact.
Keep in mind that Ant can be run this way also:
ant target1 target2 target3
That probably doesn't factor into why its a debatable topic, but does
add some food for thought on it.
You could do something like this though:
ant
On Monday, February 3, 2003, at 02:06 PM, Steve Cohen wrote:
On page 80 of Erik Hatcher Steve Loughran's Java Development with
Ant is given a technique for Obtaining a string representation of a
path.
Good reference, I might add :) But something wrong in what you did
produces
Your best reference for Ant tasks is Ant's own source code. Check
Jakarta's CVS for details or download the Ant source distribution.
If you shared your example details with us, I'm sure we could help get
you on the right track with it.
Chapter 19 of Java Development with Ant has this review
On Thursday, January 30, 2003, at 10:17 PM, Janet Abdul-Karim wrote:
This is what i am trying to do I have to create an htm formatted
report that includes the following
header and title
project name
[...]
I don't know where you want header and title to come from, but all the
others you can
On Friday, January 31, 2003, at 12:08 AM, Janet Abdul-Karim wrote:
In response to the 2nd email you sent me when I use the
.getProject().getName() where does that info come from. Does it come
from the .xml file where i did give the project the name. Maybe if I
understood that I could
Well, there is already something like this, the sound task:
http://ant.apache.org/manual/OptionalTasks/sound.html
I don't know if this works with just a PC speaker or not though.
It may also be useful to write a custom BuildListener that does what
you want when the build is complete, rather
Yes, good catch, you are right that the trailing / should be there.
I don't recall if it was part of our original submission or it got lost
somehow. So the correct answer really is D :))
Erik
On Wednesday, January 22, 2003, at 04:13 AM,
[EMAIL PROTECTED] wrote:
Hemm,
I think there is a
On Wednesday, January 22, 2003, at 10:07 AM, Info wrote:
Nice quiz! Missed 8. Not bad for first few days with Ant. Thanks
for the
implied suggestions of what I should be thinking about knowing...
Interestingly, found Ant Developer's Handbook but not the one shown
with
the quizz. Guess I'll
On Tuesday, January 21, 2003, at 04:11 AM, [EMAIL PROTECTED]
wrote:
The problem is that the version number is not held in a property file
(although it could be). This is one of the anthill 'features' -
anthill will maintain a version file, containing a version number:
prefixbuildNopostfix
The quiz Steve and I wrote for java.sun.com has just made it online.
Test your knowledge of Ant!
http://java.sun.com/
Or more directly at:
http://developer.java.sun.com/developer/Quizzes/misc/ant.html
Erik
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
On Monday, January 20, 2003, at 07:07 AM, [EMAIL PROTECTED]
wrote:
Is there a way of getting a reference to the current project in
JavaScript script without knowing the project name first?
Yes - there is the object 'project' that I added to the script task
that is the Project object, and
On Monday, January 20, 2003, at 08:34 AM, [EMAIL PROTECTED]
wrote:
My problem (***) is that I would like to 'antcall' some other target
(that contains my javascript) and in so doing set a property. However
I find that on returning from my antcall the property remains unset.
Reading the
On Monday, January 20, 2003, at 09:16 AM, [EMAIL PROTECTED]
wrote:
I guessed as much - I've used echo to create the property file - is
there an alternative way?
Not as a general solution. But perhaps what you're trying to do is
something that doesn't necessarily need properties being passed
On Monday, January 20, 2003, at 09:50 AM, Dominique Devienne wrote:
This is in CVS only (HEAD and/or 1.5 branch, I'm not sure). --DD
*whew* - I didn't do the requisite CVS diffs to find out when that
change was made - so thanks for clarifying, I thought I was losing my
mind :).
Erik
--
On Monday, January 20, 2003, at 09:42 AM, [EMAIL PROTECTED]
wrote:
I'm trying to emulate the behaviour of anthill (certain anthill/PVCS
limitations have forced this on us) which maintains a version file.
The script merely opens a file and creates properties for an
oldVersion and newVersion.
On Saturday, January 18, 2003, at 05:55 PM, Frot wrote:
I have looked at the XML file generated by the junit task, and find
the output included :
system-out![CDATA[Test 1 progressing..
]]/system-out
So fas so good.
Now if I look at the generated HTML report does not include these
On Sunday, January 19, 2003, at 09:58 AM, Erik Hatcher wrote:
The stylesheet that generates the HTML report simply ignores
system-out elements. To have it added, you will have to tweak the
XSL. This can be done easily (if you know a little XSLT) by copying
the existing XSL file, making
to know whether the same is available using
Logger.
Regards,
sankari
Erik Hatcher wrote:
Are you trying to send the build results? If so, that looks like all
you need to do (check with the Logger/Listener documentation which is
part of Ant's documentation).
If you're trying to send some other
To put a file in the WEB-INF/classes directory using war simply use a
nested classes element.
Erik
On Tuesday, January 14, 2003, at 09:30 AM, White, Joshua A (AG, COMM)
wrote:
Hello,
I am using the war task to create the war file for my struts
application. I
would like to copy a
On Tuesday, January 14, 2003, at 10:19 AM, White, Joshua A (AG, COMM)
wrote:
Erik,
As far as I know, the classes element only copies .class files. Any
other
suggestions?
Joshua
Did you *try* it?! :)
classes is just a fileset and simply places whatever you hand it into
WEB-INF/classes.
classes is simply a fileset. All filesets and all Ant datatypes
support id/refid constructs. See Ant's documentation:
http://jakarta.apache.org/ant/manual/using.html#references
I could plug my book here too, but I'll refrain! :)
Erik
On Tuesday, January 14, 2003, at 10:30 AM, White,
To do it programmatically, I'd recommend you just emulate what
Main.main() does in your own class. See a post I made providing a
basic skeleton of Java code to run an Ant project from a servlet from a
couple of weeks ago (or so). You wouldn't do it as a java.io.File (at
least not without
Currently Ant only runs a build file located on the filesystem.
A workaround would be to ship with a minimal build.xml along with the
JAR which does an unjar to bootstrap and ant the primary build
file, although this is probably just as good as deploying the real
build file.
It would be nice
See:
http://archives.apache.org/eyebrowse/ReadMsg?listName=ant-
[EMAIL PROTECTED]msgId=502447
This was a comparison Steve and I did in our book, be sure to see the
attached PDF file there.
Update: we are now using Anthill *and* CruiseControl just because we
can and its interesting to
You could write a custom BuildLogger implementation that would do this,
no problem. Would be fairly easy. Have a look at the DefaultLogger
built into Ant for inspiration.
Erik
On Friday, January 10, 2003, at 12:46 PM, tek1 wrote:
is there any way to tell ant to display the project name
On Friday, January 10, 2003, at 02:12 PM, tek1 wrote:
when i want to use this new logging class, then am i correct to assume
that upon each ant execution, i need to specify it as follows?
ant -logger NewLogger target
Yes, you need to specify the logger on every ant invocation,
On Tuesday, January 7, 2003, at 04:26 AM, Eric Jain wrote:
http://jakarta.apache.org/ant/external.html#Anteater
http://jakarta.apache.org/commons/latka/index.html
http://webtest.canoo.com/webtest/manual/WebTestHome.html
Thanks. What I was looking for was a task to do validation in the
sense
Huh?
Klara asked if it was possible to *set* environment variables with Ant.
That page refers to the environment variables that the Ant wrapper
scripts use.
No, its not really possible to set environment variables within Ant
that persist outside its execution - at least not in a
On Saturday, January 4, 2003, at 11:38 PM, Steve Loughran wrote:
- Original Message -
From: Erik Hatcher [EMAIL PROTECTED]
To: Ant Users List [EMAIL PROTECTED]
Sent: Saturday, January 04, 2003 15:52
Subject: Re: Ant Core Task Quick Reference
Its always been my goal to generate
And its been in Ant's CVS for a while too :))
And, I believe, is actually part of the Ant distribution of 1.5.1 at
least. No?
On Sunday, January 5, 2003, at 07:53 PM, Bill Winspur wrote:
Eric,
the appendix e pdf has exactly the information i've needed for a long
time,
thanks.
Bill.
--
To
On Saturday, January 4, 2003, at 12:55 PM, Kenneth Lee wrote:
Thank you. I was once thinking about doing something similar.
But then I realize that keeping another set of documentation is likely
to have it not-synced with the rapidly changing core manual.
[...]
So I propose that the core
Try adding this to ftp:
ignoreNoncriticalErrors=true
On Saturday, January 4, 2003, at 08:09 PM, Iwan wrote:
Hi,
I want to use Ant to update my website after building the servlets etc
using Ant as well.
My site is accessed using FTP so I use the optional FTP-task of Ant
1.5.1. Now when I
For the record, Ant 1.4.1 propertyfile is buggier than 1.5.
As always, if someone can create a duplicatable test case for this, a
fix should be easy.
Erik
On Thursday, January 2, 2003, at 03:03 AM, Chris Brown wrote:
No, no such problem. Just a simple on-disk project.
I suspect the
The package mapper might do the trick for you - I created it for use
with junit XML formatter results mapping, but it might do what you
need.
You wouldn't need to write your own task, rather at the worst case
write your own mapper implementation (its pluggable) or use a
sprinkling of script
Hmmm, I guess a mapper isn't the right solution then since you aren't
starting with an actual file to begin with - sorry, wasn't thinking
it through on my first reply. I'm assuming that the .class file is in
the filesystem and not in a JAR though, right? Otherwise you'll want
to use unjar
Ryan,
I did a fair bit of work with propertyfile attempting to fix a lot of
issues with it between 1.4.1 and 1.5. I'm not aware of this problem
(or I would have fixed it :) - could you come up with a test case that
duplicates the issue in a repeatable fashion? If so, I could probably
fix it
On Monday, December 30, 2002, at 11:55 AM, David McTavish wrote:
PS: Eric, what is the process of submitting an enhancement to an
existing
task (ie: BuildNumber)? Or at least submit design changes as the task
as it
is seems very limited?
The official way to submit patches is to add them as
Sure, use a checksum condition:
http://jakarta.apache.org/ant/manual/CoreTasks/conditions.html
On Monday, December 30, 2002, at 01:35 PM, David McTavish wrote:
Is there a quick way in ant to determine if the contents of two files
are
EXACTLY the same? I'm having a post-Christmas mental
The directory structure in that chapter is pretty basic (src/package
structure, test/package structure) and pretty typical, and last time
I used NetBeans it was easily able to adapt to different structures by
mounting the source roots appropriately. I think Eclipse has a tougher
time adapting
On Friday, December 27, 2002, at 11:58 AM, Chris Brown wrote:
3./ If any of the fileset's attributes are based on expanded
properties,
such as dir=${build}/lib/*.jar, when is this expansion performed?
For
example, what happens if the fileset elements are defined outwith any
task
or target,
All -
I'm proud (and worried about the support e-mails! :) to announce the
near-final release of a project demonstrating Ant, XDoclet, Struts,
JUnit, Cactus, and Lucene. Its called JavaDevWithAnt as it was written
for the book Steve and I co-authored and has been refined during
several
David Jencks wrote:
I'm hoping someone can shed some light on this: I've defined a classpath
that includes a bunch of jars, and want to define a class from one of those
jars as a task. However, taskdef can't seem to find the class:
property name=xdoclet.base.task.classpath
Ant's Main.main calls System.exit, that is why.
Mahfudh Junaryanto wrote:
Hi ,
My Java Application (Swing) closed after executing
org.apache.tools.ant.Main.main(). Anybody have a clue to what have
happened?
I even created separate thread when running
org.apache.tools.ant.Main.main(). It did
Joey Gibson wrote:
On Fri, 20 Dec 2002 08:38:45 -0500, Erik Hatcher
[EMAIL PROTECTED] wrote:
||| Ant's Main.main calls System.exit, that is why.
I got bitten by a System.exit() call a while back (not Ant's main, but
another). I was wrapping a local utility in an Ant task and while the task
ran
Yes, this is a problem with the doc for loadfile. I've just corrected
it. It now says:
loadfile
property=system.configuration.xml
srcFile=configuration.xml
filterchain
expandproperties/
/filterchain
/loadfile
Kenneth Lee wrote:
Hi,
This is what
This is likely to be caused by the recent changes that affect how case
was treated for element names. A fix is probably in the works, or
perhaps a reversion to the previous code that affected this.
Erik
audacious wrote:
Hello,
I have notice a problem with the newer versions of Ant, post
Matt Coarr wrote:
Hello,
Is it possible to nest task invocations inside of a apply task? Or
maybe nesting java task calls?
Not directly. apply is simply an iteration over exec essentially.
Its just for launching command-line tools - but you could launch java or
ant itself (I assume) if you
It seems you're using an older version of XDoclet. I'd recommend you
upgrade to the latest 1.2 build (even if its a beta) - its much much better.
As for the error... doesn't this mean you've got different versions of
Sun's javadoc in your classpath than what XDoclet expects? Maybe you're
No, there is not the reason is because a FileSet must be rooted at a
particular directory.
This is a bit of a bummer, I agree. I think of a file set as any ol'
set of files, not just ones under a root directory. This is one area
where I'd like to see/effect improvement in the future.
Nau, Michael wrote:
1. Compile all the .java files in the ${dev.src.dir} to {build.out.dir}
2. Jar the .class files from the ${build.out.dir} and all the xslt and
properties files into a foo.jar.
But wait, I didn't read your use-case before I replied the first time.
You can do this:
jar
Adam Hardy wrote:
I'm used to having my java classes in the src subdirectory. Yet I was
reading an old post J2EE config/build best practices from Drew Davison
recommending calling the source code dir java - which is more common?
Drew... one of my major mentors in the Java world!
As for naming
How about a little concat with a filelist action? That should do
the trick, right?
Erik
Stephen Rozum wrote:
Hello all,
I have come across the following problem and I am looking for a nice solution to address it.
What I need to to is command similiar to echo with a option to pre-append the
project.setNewProperty(...)
Tibor Strausz wrote:
Hi,
i'm writing my own task to work with regestry and with msmq
i like to know how to return a al value to ant (like exec outputproperty)
so i could use the value in the rest of my ant project
thanks
tibi
--
To unsubscribe, e-mail:
[EMAIL PROTECTED] wrote:
Hi,
did you add the weblogic.jar to the classpath?
Try
pathelement
path=${classpath};${deploy}/MyHello.jar;${pathTo}/weblogic.jar/
to be independent of the plattform you can use ${path.separator} instead of
;
No, no, no :)
Ant takes care of ;:/\ issues
My Mac OS X box has ~/.tcshrc with the following:
setenv ANT_HOME /Users/erik/bin/jakarta-ant
setenv JAVA_HOME /usr
And with ~/bin in my PATH.
In bin I have installed jakarta-ant (the full binary distribution
directory). Also in bin I've symlinked ~/bin/jakarta-ant/bin/ant to
simply ant.
I
How about using Anthill or CruiseControl? They'd take care of that for you.
Rahul Biswas wrote:
I am trying to accomplish the following:
have ant based nightly build scripts which are run through cron job.
The nightly ant build script is a root ant script which itself invokes other ant
String-arg constructors. junit.jar should live in
ANT_HOME/lib. Ant 1.5(.1) is required also.
More serious documentation is forthcoming, I promise!
Erik
Erik Hatcher wrote:
Hesitantly (because I'm afraid of the support issues I'm about to field
:)
Here is the much hyped and long
Scott Stirling wrote:
tools out there like Flux. Would that appropriate for scheduling builds
either from Ant or around Ant? How do others automate Ant builds in
cross-platform environments? Cron on UNIX/AT on WIndows?
anthill, cruisecontrol. AT sucks.
I haven't tried AntHill, but a
Oh, and I forgot to mention in the first message, the sample data that I
included to be indexed is Ant's own documentation. So, knock yourself
out with queries like:
+title:http -proxy
ftp library
starteam task
and any other valid Lucene query.
Erik
Erik Hatcher wrote:
Hesitantly (because
You mean switch off the echo output?
Try echoing to a different level, such as verbose. echo
level=verboseblah blah/echo
Then you will only see that output if you run with -verbose.
Erik
Janusz Dalecki (TYCO) wrote:
I would like to switch of echo string when I am executing Echo task. Is
Dalecki (TYCO) wrote:
Actually when I use echo task like this:
echo message=Hello/
... it will print on the console string like this:
[echo] Hello
... and I would like to switch off the echo string so I could see only
this:
Hello
Janusz
-Original Message-
From: Erik Hatcher [mailto:[EMAIL
This might be overkill, but Cocoon could do this for you with its
directory listing generator and some XSLT to turn that into HTML. It
would be a big job to learn Cocoon just for this task though.
The simplest approach would be to write a Java class that had an
execute() method in it and use
Use the uptodate task to set a property and bypass your apply if
things are up-to-date.
But, perhaps on a better note, check out ant-contrib at Sourceforge.
There is some very nicely done Ant pieces for doing native compilation
and linking that may just make what you're doing a bit easier and
Thats correct. XDoclet 1.2 (now in beta, but I'm using it for
production sites - never let the beta of open source projects fool you
or keep you away) does not use Javadoc doclet. Its got its own, called
xjavadoc, parser, which is JavaCC based and much faster than the
previous versions of
What you show should work, if I'm not missing the question entirely.
Whats the problem you're experiencing?
Erik
Benjamin Lubin wrote:
How do I get property expansion to occur in the value attribute of an
entry element in of the optional propertyfile task? For example:
propertyfile ...
If you're good with XSLT, use the XmlLogger (as a listener, oddly) and
capture build output as XML and have at it!
Erik
Tim Sheridan wrote:
ANT is more than another neat tool ... it is a great tool!
My question is this: is there a way I can aggregate stats on the number of
compiled files,
XDoclet (version 1.2 - currently at beta 1, soon to be beta 2) does
nicer dependency checking than ever before. Are you using that version?
Erik
Sebastien BLANC wrote:
Hello !
I'd like to know if there is a way to perform the following with ant
(haven't found anything in doc): I have tasks in
Kell Sønnichsen wrote:
target name=xdoclet
taskdef
name=ejbdoclet
classname=xdoclet.ejb.EjbDocletTask
classpathref=compile.class.path
/
ejbdoclet
sourcepath=${ejb.src}
destdir=${xdoclet.src}
excludedtags=version,author
ejbspec=2.0
Kell Sønnichsen wrote:
We are both right :-) I cut-and-pasted the above _before_ I upgraded to
Xdoclet 1.2b1. But the problem persists. The only change is in the
classname, right?:
classname=xdoclet.modules.ejb.EjbDocletTask
And where you put the classpath/classpathref/classpath
or...
3) Use apply to launch the Java command-line you want to run. Its not
as elegant, but would work. You'll want to use parallel=true to only
run one command with all files on a single command-line.
Erik
Dominique Devienne wrote:
You have two choices:
1) Write an Ant-task. This task
You want to generate a web.xml? Use XDoclet:
http://xdoclet.sourceforge.net - use version 1.2 -
http://xdoclet.sourceforge.net/1.2beta
But if you don't want to generate web.xml, then you must create one
yourself manually and incorporate that into the WAR file - I recommend
the war task for
Ken Gentle wrote:
I've finally received my copy of Java Development with Ant, and want
to thank Steve and Erik for a great reference!
Thank you, Ken.
I'm generally in agreement with these suggestions, but one stands out as
diametrically opposed to my common practice. in section D.4.5,
Ken Gentle wrote:
While I haven't (yet) gone to the level of defining a version property,
this is what is spec'ed in the properties file - one or more jars,
including version information in the path (usually).
The .version properties are just the way I developed doing it, but
again, nothing
Reg Sherwood wrote:
Hi,
Not really sure if I should ask this question here or in the junit mailing list. Any help is appreciated. I am using Ant 1.5 in conjunction with the optional junitreport task. After the test cases have finished executing I am sending the resulting output to junitreport
Use property name=parent.dir location=${basedir}/
The point being that the 'location' variant of property is what you're
after for parent/child builds that need to pass paths around. The above
example is merely that, and may not reflect exactly what you need, but
its the idea.
Erik
Karr,
Steve Loughran wrote:
- Mac OS X does not have HOSTNAME set, although I just this very minute
realized that there is a HOST environment variable! Maybe that will
solve my problems by adding another property setting statement or
something like that.
ahh, but is it an accurate value or just
You're trying to print out a fileset rather than a path. The property
refid=.../ trick only works on paths (or any datatype that has a
friendly toString() method), but not fileset.
I don't think it worked differently in 1.4, but I could be wrong about that.
Erik
scollins wrote:
In Ant
property environment=env/ will give you ${env.ANT_HOME}, but you'd
be better off using ${ant.home}.
Follow it with:
property name=env.COMPUTERNAME value=${env.HOSTNAME}/
And you'll get the computer name on both Windows and *nix platforms.
Two caveats to the above that I know of:
- IDEA
Vikas Malla wrote:
Help is required to solve this problem:
I am trying to run this test MyTest.java . I make some API calls ,defined in a package myPackage.f1.f2.f3.MyBean, in MyTest.java
I am able to compile this file. But when I run this test using ant, I get NoClassDefFoundError. Please keep
George Smith wrote:
What IDE do most ant users use ?
IntelliJ IDEA - it rocks!
George R Smith
On the side of the software box, in the 'System Requirements'
section, it said 'Requires Windows 95 or better'.
So I installed Linux!
And did the software install and run on Linux too?! :)) (I
testTarget=test/
/target
/project
!--ENDS HERE--
Thanks.
Vikas
Erik Hatcher [EMAIL PROTECTED] wrote: Vikas Malla wrote:
Help is required to solve this problem:
I am trying to run this test MyTest.java . I make some API calls ,defined in a package myPackage.f1.f2.f3.MyBean, in MyTest.java
I
Its really the wrong list for this - inquire with the CruiseControl team.
But, CruiseControl knows about Ant and the JDK from its running
environment through shell/batch scripts that launch it.
Erik
L.C. Oliver wrote:
Hi,
Do I set the system variables for the cruise control. I am trying to
Wu, Sherry wrote:
I tried to modify XmlLogger.java. Instead of flushing the log in
buildFinished(),
I did it in taskFinished(). This solved the our of memory problem. But some
of
the tags (e.g. build, build time, target ...) are lost in the output
log.xml.
There is buffering going on in
Mark Arnold wrote:
When I try to execute my task, ant is giving me a ClassNotFoundException saying that
com.mine.myOwnSpecialTask does not exist.
The jar file is fine however.
Copying mySpecial.jar into %ANT_HOME%/lib did not help either. After some hours I
finally found that copying all
Shackelford, John-Mason wrote:
Then it occurs to me this morning: if we are adding properties only after
having loaded the HashTable we have no guarantee that the properties are
truly added in the order specified by the property file, which seems odd to
me since it means I've been incredibly
property file=.../ makes another pass through the set to do property
substitution, so we aren't getting lucky, its by design.
I don't use loadproperties in any of my production builds, but
certainly its behavior is not necessarily the same as property file
although it should be to stay
Wu, Sherry wrote:
1. ant logger buffers the logs in memory and flush out to a log file when
build is finished. The system runs out of memory since our build is huge and
it calls many sub ant files.
This seems easily solvable by flushing to a log file as it goes without
buffering. Have you
Stefan Bodewig wrote:
On Sat, 12 Oct 2002, Erik Hatcher [EMAIL PROTECTED]
wrote:
Caveat: this chart is not entirely accurate any more. Anthill now
has multiple SCM support and project dependency support
Gump supports Subversion now 8-)
Excellent!
and no, setup hasn't become easier
Wannheden, Knut wrote:
Erik,
We use CruiseControl on my work project and its working well,
although
it is mildly painful to set up and get running. I expect more from
CruiseControl though, given its Martin Fowler's company
people that are
developing it (are you listening Thoughtworks?!
Properties in attributes are expanded *before* they are handed to tasks.
So the answer is yes you can use Ant properties in 'replace'. Its
task-dependent whether that is true for XML element data (like the sql
task), but attributes always follow this rule.
Erik
Shawn Wilson
Are the file names all relative to a specific root directly? If so,
change your parser to output one file per line rather than comma
separated and use the includesfile element of fileset. Would that
do the trick for you?
Erik
Frank Schroeder wrote:
Hi,
I'm trying to use ant
Rather than trying to form a fileset, I think a copy with maybe a
regexp mapper would be your best bet. I can't say for sure this would
work without expending some trial-and-error effort, but give that a shot
to copy the files with some (.*) and \1 magic to see if that would do
the trick.
I
http://www.xmlhack.com/read.php?item=1759
Read Steve's fantastic chapter 15.
Erik
Hari Yellina wrote:
Hi All,
What is this Ant all about and how is it useful in my webservices.
Regards,
Hari yellina.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
modules which needs to be built
everyday (and generate a build report perhaps), it becomes necessary
that the build for all modules go through. And if there are errors,
these errors could be fixed by the owner(s) of the module with build error.
thanks again
-HK
On Thu, 10 Oct 2002 Erik
I run junit with failonerror off (which it is by default) so that all
tests run, and then fail after they run in this manner:
junit printsummary=no
errorProperty=test.failed
failureProperty=test.failed
fork=${junit.fork}
formatter
Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 1:19 PM
To: Ant Users List
Subject: Re: Continuing with the build
Sounds to me like you've implemented CruiseControl! :)
http://cruisecontrol.sourceforge.net
[EMAIL PROTECTED] wrote:
we have
Wouldn't it just be easier to form a fileset that excludes **/*.java
files? I store resources beside Java code also, and just copy them all
to the classes directory where I'm building to when I compile.
Erik
Elizabeth Cooper wrote:
Can someone point me to an example of how to do
Regards
Johan
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: den 8 oktober 2002 20:56
To: Ant Users List
Subject: Re: The mail task with mime attachment
Where in your mail task are you saying to send a JAR file?
In order to send MIME attachments, you
1 - 100 of 630 matches
Mail list logo