True, I could execute a simple groovy script using java.util.regex via the ant
task. I was able to get the 'sh -c' option working, as suggested
previously, but I'll keep this in mind.
-- Jeff
On Aug 16, 2012, at 7:55 AM, Martin Gainty wrote:
>
> Good Advice from the
Thanks. I think I've got it.
-- Jeff
On Aug 15, 2012, at 4:04 PM, Peter West wrote:
> It's not going through a shell, so "*.xml" is not being translated. Try
> execing sh with a -c arg containing the grep.
>
> Peter West
>
> "I am the bread of lif
> How can I ensure that the resolver.jar that I've specified in my classpath
is used
r.jar that I've specified in my classpath is
used by Ant?
Regards,
Jeff Powanda
Hi,
I would like to set up my JUnit classpath to include all of the jars in a
given zip file. I'm using Ant 1.8.2. Everything I read tells me this ought
to work...
but verbose/debug output is telling me it's not finding the jars in the Zip:
dropping /path/to/my.zip:myjar from
On 12/30/2010 12:45 PM, Michael Ludwig wrote:
Jeff Spence schrieb am 30.12.2010 um 12:31 (-0500):
"ant compile" and I get the error:
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre6\lib\tools.jar
Buildfile: build.xml does not exist!
Build fail
Hello,
I'm studying J2EE with the Java Tutorial, and have run into some
trouble in my first attempt to compile using the following:
"ant compile" and I get the error:
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre6\lib\tools.jar
Buildfile: build.xml does
Derek - No. It's just a normal windows pc with NTFS.
Greg - I'm working on it. Thanks for asking!
Jeff
-Original Message-
From: Cole, Derek E
Sent: Tuesday, August 18, 2009 3:28 PM
To: Ant Users List
Subject: RE: Unable to delete file
Is the file being stored
Maven is not an option but thanks guys for the opinions! Any ideas about
the unable to delete?
Jeff
Lockheed Martin
-Original Message-
From: Dominique Devienne [mailto:ddevie...@gmail.com]
Sent: Tuesday, August 18, 2009 12:29 PM
To: Ant Users List
Subject: Re: Unable to delete
message. Note that the
file CAN be deleted in windows. I've tried sleeping for 60 secs,
thinking something just needed time to clean out but that didn't work.
The compile & jar targets are listed below as is the ant diagnostics
report. Any help would be much appreciated.
>
> Mark Thomas
> spatialguru@gmail.com
> 205.529.9013
>
> "Commit to the Lord whatever you do,
>and your plans will succeed." - Proverbs 16:3
>
ouch, this the same shit that Rumsfeld was documented spouting to the US
mercenaries in iraq before their killing sprees...
This fixed it, thanks! For those using XML to configure log4j, add the
following line to your console appender definition.
Jeff
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2008 6:58 PM
To: Ant Users List
Cc: Ravindran, Neal
g output (ie it's just me :-))
Jeff Boring
Orlando, Florida
, Jeff Holt <[EMAIL PROTECTED]> wrote:
> The reason I don't want to use is that I have to qualify the
> executable path. Otherwise, for some yet unknown reason, ant executes
> /usr/bin/java rather than the one in the PATH. And, of course,
> /usr/bin/java, is not appropri
n for ant 1.6.5
On 10/27/06, Jeff Holt <[EMAIL PROTECTED]> wrote:
> To make my build script a bit less susceptible to environmental
errors,
> I'd like to rewrite the following task:
>
>
Simply replace ${env.JAVA_HOME} by ${jre.home}, and it will use the
same JRE or JDK us
x27;s task with
.
-Matt
--- Jeff Holt <[EMAIL PROTECTED]> wrote:
> To make my build script a bit less susceptible to
> environmental errors,
> I'd like to r
To make my build script a bit less susceptible to environmental errors,
I'd like to rewrite the following task:
Here is something that probably conveys what I want:
dback.
Thanks,
Jeff
===
GAQ = Groovy + Ant + Quartz. GAQ is a lightweight framework
for developing,
scheduling, running and reviewing automated tasks. It combines
the scripting ease
of Groov
nt versus Maven isn't like comparing VI versus
Emacs...
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 8:09 AM
To: Ant Users List
Subject: [SPAM] - Re: Maven vs. Ant? - Email has different SMTP TO: and
MIME TO: fields in the email addre
For anyone who's used Maven, do you prefer Ant to Maven? Why or why
not? What advantages does Maven have over Ant? Anyone use Maven in
conjunction with Ant?
I read that Maven has the advantage of standard build commands versus
proprietary build commands (targets) created in Ant. Couldn't this
Yes. Continue to use maillogger if the build fails to send the entire
log, i.e. MailLogger.failure.notify=true,
MailLogger.success.notify=false
At the end of your target, use the task. That way the
task will never excute if your build fails, as the build would never get
to it.
-Original M
Try the task
-Original Message-
From: 1800 tbsfunny [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 3:55 PM
To: user@ant.apache.org
Subject: [SPAM] - Question about the Depends property - Email has
different SMTP TO: and MIME TO: fields in the email addresses
In a given target I ca
un via Eclipse, for comparison.
-Rob A
> -Original Message-
> From: Jeff A. Drost [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 19, 2006 10:22 AM
> To: Ant Users List
> Subject: RE: MailLogger=OK, task =SMTPSendFailedException?
>
> No it can't run the task if I
use I don't see,
based upon your example, the line that sets the properties from the
file...I'm wondering if maybe something isn't set as you expect it to
be...
Jeff A. Drost wrote:
> I cannot figure out why ant's MailLogger will send an email, but the
> task will not, whe
5:33 PM
To: Ant Users List
Subject: RE: MailLogger=OK, task =SMTPSendFailedException?
Can you run this mail task when you are not using the MailLogger?
-Rob A
> -Original Message-
> From: Jeff A. Drost [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 18, 2006 1:52
I cannot figure out why ant's MailLogger will send an email, but the
task will not, when they both share similar SMTP properties in my
build & properties file.
Ant 1.6.5
Windows XP SP2
Java 5 Update 6
The ant logger argument "-logger
org.apache.tools.ant.listener.MailLogger" sends an email when
create task
or type of type: if. Ant could not find the task or a class this task
relies upon.
I have the ant-contrib-0.6.jar in every lib directory I can find in
Tomcat. Anyone have any ideas why the build file can not find the jar?
Thanks,
Jeff
to prove one way or another what's going on. But I
figured someone else has to have come across this issue (and maybe using the
extclassloader is the best solution for now).
thanks,
Jeff
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February
Greetings,
I'm using Ant 1.6.1 under WinXP SP2.
I wrote a custom task, deployToCache, that reads from a URL; the URL can
sometimes be https. Here's the taskdef definition:
The custom task requires jnet.jar, jsse.jar, and jcert.jar. The relevant
code:
S
Thanks! -emacs works great.
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 12:20 AM
To: user@ant.apache.org
Subject: Re: capturing build output in Visual Studio .NET - enabling
warning/error double clicking
On Thu, 10 Feb 2005, Jeff
I'm running an ant build script from within VS.NET and capturing the
output in the output window. Right now I am unable to double click an
error or warning line in my build output (which normally would open that
file to the line with the error/warning). The problem is that VS doesn't
understand the
hing wrong? I don't want to use
overwrite="true" since that makes cvs think everything has been modified.
thanks,
jeff
CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or ot
that it cannot find the file, and then when I do use appRoot as
above, the script runs but does not exclude web.xml.
what am I doing wrong?
thanks,
jeff
CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may al
makes an excellent, highly flexible choice for (my)
CI projects.
Regards,
~Jeff D.
-Original Message-
From: Sharad Jain [mailto:[EMAIL PROTECTED]
Sent: December 7, 2004 07:31
To: [EMAIL PROTECTED]
Subject: Re: using ant for non-java builds?
You might also want to explore CruiseControl
file to /nfs/dist/was5/plugin
configureApplication:
BUILD SUCCESSFUL
Total time: 22 minutes 16 seconds
/trp/WDT/bin/runant[355]: 65238 Signal 40
Ant return code = 168
+ RC=168
thanks,
Jeff G.
The
executing
dcc32.exe and/or devenv.com, as appropriate. I don't know what compiler
you're using, but it almost assuredly has a command-line compiler.
http://ant.apache.org/manual/index.html
Ant Tasks | Core Tasks | Exec
Cheers,
~Jeff D.
-Original Message-
From: Srivani Ausula [
, one
or both of these lists is responsible for e-mail addresses being placed on
spam lists. The most likely reason is that the list archives are being
scraped for addresses. C'est la vie.
Regards,
Jeff Davidson
jdavidson at redhawkgaming dot com (not that other one with @
What is your "Program Files" directory called? Is it "Arquivos de
programas" or "Program Files "? (which shouldn't have a space after it) ;)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: November 23, 2004 09:49
To: Ant Users List
Subject: RE: SourceSafe
B
Faist, Jeff would like to recall the message, "".
I think I'm glad my mail server stripped whatever was attached to this.
Especially when you consider that this is supposedly a reply to a message
which was never delivered to this list: none of the messages that I have
archived contain "Error" as the subject, at least, not in the last month and
a h
Ahhh, you want a task to return the value of the latest label from StarTeam?
That I don't know, as I'm only familiar enough with StarTeam to know that
I'm happy I don't work with it anymore. ;)
Sorry that I can't be of more help.
~Jeff
-Original Message-
From:
There certainly is:
http://ant.apache.org/manual/OptionalTasks/starteam.html
-Original Message-
From: Zafarano, Marcus [mailto:[EMAIL PROTECTED]
Sent: October 27, 2004 12:10
To: '[EMAIL PROTECTED]'
Subject: StarTeam
Does anyone know if there is a ST task for getting files with the la
Doh! Never mind, I just found the task. *sigh*
-Original Message-
From: Jeff Davidson [mailto:[EMAIL PROTECTED]
Sent: October 22, 2004 10:52
To: 'Ant Users List'
Subject: Updating "Product version" on each release
Ant-users,
I'm quickly approaching a pr
operty?
Any thoughts? I'm going to play around with storing the property in a
.properties file, which should be relatively simple to read, and update. I
still have the issue of programmatically updating the property value though.
It seems as though this should be very simple... I jus
I think this page should answer all your questions:
http://jakarta.apache.org/site/getinvolved.html
Check out the "Contribute Code or Documentation Patches" section, in
particular.
Regards,
~Jeff
-Original Message-
From: Rhino [mailto:[EMAIL PROTECTED]
Sent: Friday, Octobe
tion1=standard
[echo] option2=customized for site 1
[echo] option3=standard
BUILD SUCCESSFUL
Total time: 422 milliseconds
Hopefully this provides something to get you started.
Regards,
~Jeff
-Original Message-
From: [EMAIL PROTECTED] [mailto:[
eadability. Moreover, it seems to me that a
one-line should simply be replaced by a , with the
caveat that there is nothing to actually catch required properties that are
unset. Are there any other twists that I'm overlooking?
Yo
Ant-users,
I have just gotten around to investigating . Oh, happy days
are here again! If only I had looked at this sooner.
Now to get back to wrapping up all my blocks of repeated code...
Cheers,
~Jeff D.
This electronic message transmission, including attachments, is for the exclusive
Argh! Thanks Matt. The resolveexecutable="true" attribute was all I
needed.
Humbly,
~Jeff
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: October 21, 2004 09:30
To: Ant Users List
Subject: Re: troubles
--- Jeff Davidson <[EMAIL PROTECTED]> wrote
Is there something to this that I'm just not seeing? The first cup of
coffee is down, but hasn't been absorbed yet, which may be contributing
to my obtuseness.
Regards,
~Jeff
This electronic message transmission, including attachments, is for the exclusive use
of the individuals to
nted
to assure you that you're not the only person experiencing "difficulty"
getting to work.
Regards,
~Jeff
-Original Message-
From: Roberto Juarez [mailto:[EMAIL PROTECTED]
Sent: October 20, 2004 06:05
To: Ant Users List
Subject: RE: CVS password problem
Sorry for the
in my project source anywhere.
Regards,
~Jeff D.
-Original Message-
From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED]
Sent: October 15, 2004 08:11
To: Ant Users List
Subject: Re: winning the case for ANT
What do they propose? What type of projects are you going to build? Even
though I am
you barking up the wrong tree. Does that
diagnosis sound familiar to anyone else?
Regards,
~Jeff
-Original Message-
From: Barnes, Michael [mailto:[EMAIL PROTECTED]
Sent: October 8, 2004 13:16
To: '[EMAIL PROTECTED]'
Subject: [Cruisecontrol-user] Preserving case
How do I get t
indows) to implement the "scorched
earth" approach to checking out files for my master build, i.e.
Regards,
~Jeff D.
-Original Message-
From: Brent Bain [mailto:[EMAIL PROTECTED]
Sent: September 27, 2004 15:06
To: '[EMAIL PROTECTED]'
Subject: Delete Files and SubF
a
command line environment that developers may integrate into their build
processes to build MSI and MSM setup packages."
Both NSIS and WIX appear, on the surface anyway, to be potential
candidates.
Thanks again,
~Jeff D.
-Original Message-
From: Robert r. Sanders [mailto:[EMAIL PROTECT
I, for one, am *not* seeing any extra e-mails.
Guess I'm just lucky. ;)
-Original Message-
From: Travis Quarterman [mailto:[EMAIL PROTECTED]
Sent: September 22, 2004 13:29
To: Ant Users List; Sarika Sahni
Subject: Re: [EMAIL PROTECTED]
Yes,
I am seeeing the same thing and have reported
I have inherited a buildscript which uses UNC in the DOCTYPE of the
build file to define shared values.
What is the best way to handle this such it can run on unix or windows?
--example build.xml
-
]>
that flag. the only way to get to the "-I
Command-Line Option" help page that I found is to search for either "-i-y"
or "-i-n" but if you did not know those optioned existed how would you know
to type that in.
Good luck
JEff Faist
-Original Message-
tter way in ANT to do the same thing.
We are also using VSS which creates/updates those vssver.scc files every
time you do a get so I would like to exclude those and some other until
files from that depends list.
JEff
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeffrey W. Faist
have a home grown tool to do the builds because we cant do
standard make due to circular dependencies, yea.
I'm leaning ANT/NANT now and will be having some questions over the next few
weeks which I'm sure you all can help with based on what I saw the past few
days on the list
Thank you, Josh!! I tried that, and it worked! I
trimmed it down to just "lines,source", and it works
too. I guess just having "lines" without "source"
does nothing... :\ Anyway, that's a huge help.
Thanks a million.
-Jeff
--- "Tharp, Joshua L, SO
61 matches
Mail list logo